Skip to content

Instantly share code, notes, and snippets.

@valentin2105
Last active July 10, 2023 01:35
Show Gist options
  • Save valentin2105/f9d0430c5061d31d74f829ce69349ba6 to your computer and use it in GitHub Desktop.
Save valentin2105/f9d0430c5061d31d74f829ce69349ba6 to your computer and use it in GitHub Desktop.
Install Portainer
docker volume rm portainer_data
docker volume create portainer_data
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment