25 lines
533 B
Markdown
25 lines
533 B
Markdown
---
|
||
title: Docker扩容
|
||
updated: 2022-05-24 00:53:01Z
|
||
created: 2022-01-08 13:18:07Z
|
||
---
|
||
|
||
选择好uuid后,勾选启用此挂载点,在挂载点里面选择成作为外部overlay使用,然后点保存并应用。
|
||
重启软路由,之后就能看到软件包和docker的安装空间都变大了。
|
||
|
||
|
||
扩容
|
||
1. 挂载扩容盘到/mnt/sdb1,
|
||
```shell
|
||
mount /dev/sdb1 /mnt/sdb1
|
||
```
|
||
2. 复制配置文件,
|
||
```shell
|
||
cp -r /overlay/* /mnt/sdb1
|
||
```
|
||
3. 添加开机自动挂载
|
||
```shell
|
||
vi etc/rc.local
|
||
mount /dev/sdb1 /overlay
|
||
```
|