[ADD] makefile: more option to change directory docker
This commit is contained in:
parent
cb87dee06a
commit
f4f6a2522f
1 changed files with 7 additions and 0 deletions
|
|
@ -112,6 +112,13 @@ You can change the docker directory by editing file `/etc/docker/daemon.json`
|
||||||
```
|
```
|
||||||
And restart docker service. You can delete or move all older locations of docker.
|
And restart docker service. You can delete or move all older locations of docker.
|
||||||
|
|
||||||
|
Or
|
||||||
|
|
||||||
|
Add `--data-root /second_drive/docker` like example following into file `/lib/systemd/system/docker.service` :
|
||||||
|
```
|
||||||
|
ExecStart=/usr/bin/dockerd --data-root /second_drive/docker -H fd:// --containerd=/run/containerd/containerd.sock
|
||||||
|
```
|
||||||
|
|
||||||
# Update docker
|
# Update docker
|
||||||
When building your docker with script
|
When building your docker with script
|
||||||
> make docker_build_odoo_16
|
> make docker_build_odoo_16
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue