This chapter was dedicated to learning how to manage stateful environments and the magic behind container networking. Now, let's complete some labs to review what we've learned. For these labs, we will use a CentOS Linux host with a Docker engine installed.
Deploy environments/standalone-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 CentOS 7 server. Use vagrant up from the environments/standalone-environment folder to start your virtual environment.
If you are using a standalone environment, wait until it is running. We can check the statuses of our nodes using vagrant status. Connect to your lab node using vagrant ssh standalone. standalone is the name of your node. You will be using the vagrant user with root privileges using sudo. You should have the following output:
Docker-Certified-Associate-DCA-Exam-Guide/environments...