Back

Install Portainer

How to install Portainer?

Portainer provides a nice and convinient User Interface to manage containers for docker.

Portainer is usually installed as a container with privileged permisisons over the docker API.

  1. On Linux or Mac launch:
    docker run --restart=always --name portainer -d -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock portainer/portainer-ce
    Then access the portainer interface at: http://localhost:9000
  2. On Windows: Ensure port 2375 is open for docker (see Docker settings) and then launch:
    docker volume create portainer_data

    docker run -d -p 9000:9000 --name portainer --restart=always -v portainer_data:/data portainer/portainer-ce -H tcp://host.docker.internal:2375
    Then access the portainer interface at: http://localhost:9000
  3. You can start/stop portainer at any time with: docker start portainer and docker stop portainer, respectively.
    ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
  4. You can start/stop portainer at any time with: docker start portainer and docker stop portainer, respectively.
To know more visit Portainer.io.