Difficulty: Beginner
Estimated Time: 10 minutes

Let's learn the Basic commands for Docker Swarm through this exercise.

Docker Swarm 1 - Get Started

Step 1 of 14

Initialize Swarm

Initialize docker swarm using below command in Host 1.

docker swarm init

Host 1 is now the Swarm manager.

You will also find the command being displayed to join the swarm as a worker.

Creating Katacoda Scenarios

Thanks for creating Katacoda scenarios. This tab is designed to help you as an author have quick access the information you need when creating scenarios.

This tab will not be visible to users.

Here are some useful links to get you started.

Running Katacoda Workshops

If you are planning to use Katacoda for workshops, please contact [email protected] to arrange capacity.

Debugging Scenarios

Below is the response from any background scripts run or files uploaded. This stream can aid debugging scenarios.

If you still need assistance, please contact [email protected]