3 - Installing Docker on Amazon Linux
3 - Installing Docker on Amazon Linux
Password
Instructions
Ca1_VRjAKmFO
1. Enter the following to install Docker:
Region Copy code
PEM PPK
Download Download 2. Enter the command below to start Docker as a service:
Bridge Connection Copy code
100% Completed
1 sudo systemctl start docker
2 Connecting to the Virtual This will output system-wide information about Docker. The information
Machine using EC2 will resemble the following:
Instance Connect
3 Installing Docker on
Amazon Linux
You can see some useful information, such as the number of containers,
and the version of the Docker server. Docker adopts a client-server
architecture, so the server doesn't have to be running on the same host as
the client. In your case, you are using the Docker command line interface
(CLI) client to connect to the server, called the Docker daemon.
Summary
In this Lab Step, you added the official Docker CE repositories to the yum
package manager and installed Docker CE. You also learned your first
Docker command to print system-wide information relevant to Docker.