0% found this document useful (0 votes)
207 views1 page

Portainer Installation Using Docker

Portainer is a lightweight Docker container that runs on Docker engines and Swarm clusters to provide a web-based user interface for managing containers. It can be deployed with a single Docker command by binding the Docker socket and creating a portainer_data volume. Once deployed, Portainer is accessed through port 9000 and manages containers on that Docker host or Swarm cluster.

Uploaded by

yuosef moatamedi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
207 views1 page

Portainer Installation Using Docker

Portainer is a lightweight Docker container that runs on Docker engines and Swarm clusters to provide a web-based user interface for managing containers. It can be deployed with a single Docker command by binding the Docker socket and creating a portainer_data volume. Once deployed, Portainer is accessed through port 9000 and manages containers on that Docker host or Swarm cluster.

Uploaded by

yuosef moatamedi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

PORTAINER INSTALLATION USING DOCKER

Portainer runs as a lightweight Docker container (the Docker image weights less than 4MB) on a Docker engine or
Swarm cluster. Therefore, you are one command away from running container on any machine using Docker.
DEPLOY PORTAINER
Use the following Docker commands to deploy Portainer:
$ docker volume create portainer_data
$ docker run -d --name=portainer -p 9000:9000 -v
/var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data
portainer/portainer

You'll just need to access the port 9000 of the Docker engine where portainer is running using your browser.

Note: the -v /var/run/docker.sock:/var/run/docker.sock option can be used in Linux environments


only.
MANAGE A SWARM CLUSTER WITH PORTAINER
Deploying Portainer to manage a Swarm cluster is just as easy! You can directly deploy Portainer as a service in
your Docker cluster.
$ docker service create \
--name portainer \
--publish 9000:9000 \
--replicas=1 \
--constraint 'node.role == manager' \
--mount type=bind,src=//var/run/docker.sock,dst=/var/run/docker.sock \
--mount type=bind,src //var/lib/docker/volumes/portainer_data,dst=/data \
portainer/portainer \
-H unix:///var/run/docker.sock

AND MORE DEPLOYMENT SCENARIOS


Have a look at our installation documentation for more deployment scenarios such as Portainer with data
persistence, TLS authentication enabled engine, non-Docker setup or reverse proxy integrations.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy