Skip to content

Instantly share code, notes, and snippets.

@Robokishan
Created November 18, 2021 06:17
Show Gist options
  • Save Robokishan/6b1482ec3f2a9f5d09e1b1c943a87901 to your computer and use it in GitHub Desktop.
Save Robokishan/6b1482ec3f2a9f5d09e1b1c943a87901 to your computer and use it in GitHub Desktop.
portainer
docker run -d -p 9000:9000 -p 8000:8000 --name portainer --restart always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer
@Robokishan
Copy link
Author

docker volume create portainer_data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment