Created
December 5, 2022 08:21
-
-
Save abykal/25fad6dd911be23af678d4b5d20275da to your computer and use it in GitHub Desktop.
Portainer Setup
This file contains 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
# 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