Difficulty: Beginner
Estimated Time: 10 minutes

Docker is an open-source project that automates the deployment of applications using containers, providing an additional layer of abstraction and automation on top of Linux.

This playground provides a personalised sandboxed environment for you to learn and explore Docker.

What are playgrounds?

Playgrounds give you a configured environment to start playing and exploring using an unstructured learning approach.

Playgrounds are great for experimenting and trying samples. To learn more about the technology then start with one of our labs

Thank you for trying the playground. More courses and scenarios are available at on our homepage

Don’t stop now! The next scenario will take about 20 minutes to complete. You can pause and come back at any time.

Docker Swarm Mode Playground

Create Swarm Cluster

Initialize

docker swarm init

Join

token=$(docker -H [[HOST_IP]]:2345 swarm join-token -q worker) && echo $token

docker swarm join [[HOST_IP]]:2377 --token $token

Create Overlay Network

docker network create -d overlay skynet

Terminal Host 2