Skip to content

Instantly share code, notes, and snippets.

@abykal
Created December 5, 2022 08:21
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 abykal/25fad6dd911be23af678d4b5d20275da to your computer and use it in GitHub Desktop.
Save abykal/25fad6dd911be23af678d4b5d20275da to your computer and use it in GitHub Desktop.
Portainer Setup
# create the volume that Portainer Server will use to store its database
docker volume create portainer_data
# install portainer ce edition
docker run -d -p 8000:8000 -p 9443:9443 --name portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest
# check
docker ps
# https://localhost:9443
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment