Created
June 16, 2024 07:47
-
-
Save hj91/859e5e8d021dc2814f9db3c9cc6bfc2a to your computer and use it in GitHub Desktop.
Download portainer community edition and set it up on Bufferstack.IO Super Container OS
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
#!/bin/bash | |
# Create a volume for Portainer Server to store its database | |
docker volume create portainer_data | |
# Download and install the Portainer Server container | |
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 that the Portainer Server container has started | |
docker ps | |
# Log into your Portainer Server instance by opening a web browser and going to: | |
# https://localhost:9443 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment