How to Install Docker in Amazon Linux Machine

Share via:

How to Install Docker in Amazon Linux Machine

Dear Readers,

In this article, we will see Install Docker in Amazon Linux Machine.

What is Docker?

TO know about more on Docker please check below link

Oracle 18C new feature: Private Temporary Tables

Steps to Follow

  1. Launch Docker Machine.
  2. Connect to Docker Linux EC2 Terminal through Putty.
  3. Switch to root user.
  4. Update Server Packages.
  5. Install Docker Package.
  6. Start the service of Docker.
  7. Verify the status of Docker.
  8. See the list of all images inside your machine.
  9. See the list of all running containers.
  10. See the list of all containers inside your machine.

1. Launch Docker Machine

we need to open SSH and HTTP ports.
Please check below link to Launch Linux EC2 Instance.

Launch Linux EC2 Instance

We can see Docker “Docker” which was created earlier.

2. Connect to Docker Linux EC2 Terminal through Putty

Open Docker Linux EC2 Instance Terminal

3. Switch to root user

4. Update Server Packages

5. Install Docker Package

Verify the docker installed or not

Verify Version of Docker

6. Start the service of Docker

7. Verify the status of Docker

We can use command “docker info” to get complete information about docker.

Verify the status of Docker (Running or not)

8. To see the list of all images inside your machine

9. To see the list of all running containers

10. To see the list of all containers inside your machine

Thank you for giving your valuable time to read the above information.

Follow us on 

Website :  www.ktexperts.com

Facebook Page : KTexperts

Linkedin Page : KT EXPERTS

Share via:
Note: Please test scripts in Non Prod before trying in Production.
1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)
Loading...

One thought on “How to Install Docker in Amazon Linux Machine

Add Comment