0% found this document useful (0 votes)
2 views

3 - Installing Docker on Amazon Linux

This document provides a guide for installing Docker Community Edition (CE) on Amazon Linux using the yum package manager. It includes steps for starting Docker as a service, verifying its operation, and using Docker commands without root permissions. Additionally, it explains the client-server architecture of Docker and offers insights into the Docker command line interface.

Uploaded by

asifzea7
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

3 - Installing Docker on Amazon Linux

This document provides a guide for installing Docker Community Edition (CE) on Amazon Linux using the yum package manager. It includes steps for starting Docker as a service, verifying its operation, and using Docker commands without root permissions. Additionally, it explains the client-server architecture of Docker and offers insights into the Docker command line interface.

Uploaded by

asifzea7
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Menu Browse Library Search in our library...

Training Library / Getting Started with Docker on Linux for AWS


1h 42m 11s left
Installing Docker on Amazon Linux

Open Cloud Environment


100%
Setup completed Introduction
Average setup time: 3m 49s
You will install Docker using the yum package manager that is available on
Amazon Linux. Docker comes in two flavors: Community Edition (CE) and
Credentials Enterprise Edition (EE). The community edition is open source and available
free of charge. It includes the core Docker functionality and was previously
Account ID
called "Docker Engine." The enterprise edition requires a subscription and
753705587437 includes a support package, a certification program to create trusted
containers and extensions, and other features. You will be installing the
Username community edition. You will also see how to add your user to the docker
group to use the Docker commands without elevating to root permissions.
student

Password
Instructions
Ca1_VRjAKmFO
1. Enter the following to install Docker:
Region Copy code

US West 2 1 sudo yum -y install docker

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

Lab steps 3. Verify Docker is running by entering:


1 Logging In to the Amazon Copy code
Web Services Console
1 sudo docker info

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

4 Using Docker without Root


Permission on Linux

5 Getting Docker Help from


the Command Line
Menu Browse Library
6 Running Your First Docker
Container

7 Creating Your First Docker


Image

Need help? Contact our support team

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.

Did you like this End


Back Next Step
step? Lab

ABOUT US COMMUNITY HELP


About QA Join Discord Channel Help Center

Legal & Privacy Sitemap System Status Manage your cookies

You might also like