Difficulty: Beginner
Estimated Time: 10 minutes

Portainer is a simple management solution for Docker. It consists of a web UI that allows you to easily manage your Docker containers, images, networks and volumes.

In this scenario, you'll deploy Portainer and use the UI to manage a Docker Swarm cluster.

This scenario described how to get started with Portainer and use it to manage a container host or Swarm cluster.

Run Portainer on your Docker host using:

docker run -d -p 9000:9000 --name=portainer \ -v "/var/run/docker.sock:/var/run/docker.sock" \ -v /host/data:/data \ portainer/portainer

Learn more at http://portainer.io/

Don’t stop now! The next scenario will only take about 10 minutes to complete.

Deploying Portainer to Docker Swarm Cluster

Step 1 of 5

Step 1 - Deploy Swarm Cluster

This scenario deploys Portainer to a Swarm cluster. A two-node cluster has been created for you. If you would like more information on how this was created, complete the Katacoda scenario on Getting Started With Swarm Mode.

You can view the status of the Swarm cluster with the command docker node ls