Docker Swarm Commands Cheat Sheet
Frequently-used Docker swarm commands in one place.
We'll cover the following...
In this lesson, we will create a table of all the commands we have used in this section. This will provide a faster reference to the commands. Let’s create a table of commands then below.
Command | Options | Explanation |
---|---|---|
docker swarm init |
Makes the current machine a swarm node | |
docker swarm leave |
-f |
Removes the current node from a swarm |