Created
August 7, 2023 17:33
-
-
Save dmslabsbr/9daf572299bc27097696b93cb643e122 to your computer and use it in GitHub Desktop.
Install Portainer CE with Docker on Linux
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
| # create the volume for Portainer database | |
| docker volume create portainer_data | |
| # Start Portainer server | |
| docker run -d \ | |
| -p 8000:8000 \ | |
| -p 9443:9443 \ | |
| -p 9001:9000 \ | |
| --name portainer \ | |
| --restart=always \ | |
| -v /var/run/docker.sock:/var/run/docker.sock \ | |
| -v portainer_data:/data \ | |
| portainer/portainer-ce:latest | |
| # if you don´t need http 9000 port, remove that line. | |
| # To see, open this url in a browser | |
| # https://yoursiteAddrerss:9443 or | |
| # http://yoursiteAddrerss:9001 | |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://www.neoage.com.br/2018/09/portainer-io-e-docker.html