Now, we will complete this chapter's lab to help us improve our understanding of the concepts we've learned. Deploy environments/swarm-environment from this book's GitHub repository (https://github.com/PacktPublishing/Docker-Certified-Associate-DCA-Exam-Guide.git) if you have not done so yet. You can use your own Linux server. Use vagrant up from the environments/swarm folder to start your virtual environment.
Wait until all your nodes are running. We can check the nodes' status using vagrant status. Connect to your lab node using vagrant ssh swarm-node1. Vagrant has deployed four nodes for you. You will be using the vagrant user with root privileges using sudo. You should get the following output:
Docker-Certified-Associate-DCA-Exam-Guide/environments/swarm$ vagrant up
--------------------------------------------------------------------------------------------
Docker SWARM MODE Vagrant Environment
Engine Version: current
Experimental Features Enabled
-...