feat(deployment): update deployment procedure as a Swarm service
parent
c2bc401ae3
commit
b40b943712
|
@ -77,7 +77,7 @@ Alternatively, if you're using swarm mode, you can also deploy it as a service i
|
|||
--name portainer \
|
||||
--publish 9000:9000 \
|
||||
--constraint 'node.role == manager' \
|
||||
--mount type=bind,src=/var/run/docker.sock,dst=/var/run/docker.sock \
|
||||
--mount type=bind,src=//var/run/docker.sock,dst=/var/run/docker.sock \
|
||||
portainer/portainer \
|
||||
-H unix:///var/run/docker.sock
|
||||
|
||||
|
|
Loading…
Reference in New Issue