Skip to content

Instantly share code, notes, and snippets.

@opentaq
Created August 22, 2022 11:20
Show Gist options
  • Save opentaq/15496209af201a3353f13003ae044e34 to your computer and use it in GitHub Desktop.
Save opentaq/15496209af201a3353f13003ae044e34 to your computer and use it in GitHub Desktop.
Portainer Installation

Installing Portainer

Prerequisites

  • Installed Docker

Installation

Creating the volume

docker volume create portainer_data

Starting Portainer

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

That's it. Enjoy!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment