Update DSM7_installing_docker_on_arm64.md
This commit is contained in:
parent
5d0f0c1ea2
commit
e42d2322b3
1 changed files with 6 additions and 0 deletions
|
|
@ -18,3 +18,9 @@ $ sudo su
|
||||||
```
|
```
|
||||||
# docker run -d --name portainer_agent --network=host --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v /var/lib/docker/volumes:/var/lib/docker/volumes portainer/agent:latest
|
# docker run -d --name portainer_agent --network=host --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v /var/lib/docker/volumes:/var/lib/docker/volumes portainer/agent:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Add following line to autostart as root on boot
|
||||||
|
|
||||||
|
```
|
||||||
|
(containerd &) && sleep 15 && modprobe ip_tables && (dockerd &)
|
||||||
|
```
|
||||||
Loading…
Reference in a new issue