Created
January 28, 2020 14:03
-
-
Save hatamiarash7/0abe4c4815705931f2ae0119e38dc824 to your computer and use it in GitHub Desktop.
Run Portainer agent without docker swarm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -d -p 9001:9001 --name portainer_agent --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v /var/lib/docker/volumes:/var/lib/docker/volumes portainer/agent |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment