MirrorNest
← All guides

Portainer

Web UI for managing Docker and Kubernetes — containers, images, volumes, and stacks without the CLI.

Target: Any Docker hostInfrastructureDockerOfficial homepage ↗Official docs ↗
This guide is synthesized from Portainer's own official documentation, linked above — always cross-check exact package/version names there before running these commands on a production server, since distro and project versions move over time.
  1. 1Create the persistent volume

    docker volume create portainer_data
  2. 2Run the Portainer CE 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
  3. 3Log in

    Open https://your-server-ip:9443 — the first visit lets you set the admin password before anyone else can.

    Set the admin password within 5 minutes of the container starting, or Portainer disables initial setup as a safety measure and needs a container restart to try again.