C2A-Installation-Server/docker/install-portainer.sh
2019-04-03 17:45:46 +09:00

9 lines
245 B
Bash
Executable File

docker volume create portainer_data;
docker run --detach \
--name portainer \
--publish 8003:9000 \
--volume /var/run/docker.sock:/var/run/docker.sock \
--volume portainer_data:/data \
--restart unless-stopped \
portainer/portainer:latest