Time required: 3 Hours
This lab, along with the course in general, requires experience with Linux and the Linux CLI as well as a basic familiarity with Docker.
The student will be installing Docker CE and configuring it to start on boot. Additionally, they will execute the commands necessary to setup a Docker Swarm Management host and register a Swarm Node and then verify the cluster.
This lab will allow you to practice installing the Docker Community Edition, enable and start the service and configure a non-privileged account for access. You will then use that create a management host and register a node and then verify that the cluster is ready for services/applications.
Your development team is continuing the development of their new web-based API. Now that your organization has made the decision to move to a Docker Swarm implementation, they need some time to get used to containers and how to use them.
They have provided you with the credentials and connection information for two CentOS 7 systems in the development environment. You have been asked to install the Docker Community Edition on this server and configure it so that it is started and will start on reboot automatically. Please be sure to use the latest version and all of its dependencies, that are available directly from Docker.
Your team has asked you to configure Docker CE so that the user provided to you is able to execute Docker CE commands without needing to do so with elevated (i.e. sudo) privileges. So please configure the service appropriately.
Finally, they need to begin the implementation using a basic Swarm Cluster. You have been asked to configure one server as the Management Host and then use the other server as a node and join the cluster with the appropriate configuration and security token.
Once you verify they are installed and the cluster reports as expected, you can turn the system over for their use.