MirrorNest
← Tous les guides

Portainer

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

Système : Any Docker hostInfrastructureDockerSite officiel ↗Documentation officielle ↗
Ce guide est élaboré à partir de la documentation officielle de Portainer, dont le lien figure ci-dessus — vérifiez toujours les noms exacts des paquets/versions avant d'exécuter ces commandes sur un serveur de production, car les versions de la distribution et du projet évoluent avec le temps.
  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.