Skip to content

Instantly share code, notes, and snippets.

@dnburgess
Created August 31, 2020 17:00
Show Gist options
  • Save dnburgess/a6fbb1cf538fb042f09c0b1c453352c2 to your computer and use it in GitHub Desktop.
Save dnburgess/a6fbb1cf538fb042f09c0b1c453352c2 to your computer and use it in GitHub Desktop.
DB Tech Update Portainer to 2.0
#Run this command to create a "portainer_data" volume
docker volume create portainer_data
#Run this command to install Porainer 2.0 / Portainer CE
docker run -d -p 9000:9000 -p 8000:8000 --name portainer --restart always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment