Last active
July 10, 2023 01:35
-
-
Save valentin2105/f9d0430c5061d31d74f829ce69349ba6 to your computer and use it in GitHub Desktop.
Install Portainer
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 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