Skip to content

Instantly share code, notes, and snippets.

@jhonoryza
Created October 24, 2021 09:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jhonoryza/51b381560cee88e0c6d004b1e687a7ed to your computer and use it in GitHub Desktop.
Save jhonoryza/51b381560cee88e0c6d004b1e687a7ed to your computer and use it in GitHub Desktop.
portainer is management tools to manage docker container
docker volume create portainer_data

docker run -d -p 8000:8000 -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer

You’ll just need to access the port 9000 of the Docker engine where Portainer is running using your browser.

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