Simple management UI for Docker
How simple is it to deploy Portainer?
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.
Use the following Docker commands to deploy Portainer:
$ docker volume create portainer_data
$ docker run -d -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 servicein your Docker cluster.
$ docker service create \
–name portainer \
–publish 9000:9000 \
–constraint ‘node.role == manager’ \
–mount type=bind,src=//var/run/docker.sock,dst=/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 proxyintegrations.
Get in touch
We also offer services and support. Need more information? Leave us a message !
- © Portainer.io. All rights reserved.
- Design: HTML5 UP
- Icons designed by Freepik and distributed by Flaticon
- Docker and the Docker logo are trademarks or registered trademarks of Docker, Inc. in the United States and/or other countries. Docker, Inc. and other parties may also have trademark rights in other terms used herein.