2019-04-03 07:42:41 +00:00
|
|
|
docker volume create portainer_data;
|
|
|
|
docker run --detach \
|
|
|
|
--name portainer \
|
|
|
|
--publish 8003:9000 \
|
2019-04-03 08:07:32 +00:00
|
|
|
--volume /var/run/docker.sock:/var/run/docker.sock \
|
|
|
|
--volume portainer_data:/data \
|
2019-04-03 07:09:58 +00:00
|
|
|
--restart unless-stopped \
|
|
|
|
portainer/portainer:latest
|