How to Install Docker in Amazon Linux Machine

Share via:

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.

Introduction to Docker

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. Please click here to subscribe for further updates

KTEXPERTS is always active on below social media platforms.

 

Facebook : https://www.facebook.com/ktexperts/
LinkedIn : https://www.linkedin.com/company/ktexperts/
Twitter : https://twitter.com/ktexpertsadmin
YouTube : https://www.youtube.com/c/ktexperts
Instagram : https://www.instagram.com/knowledgesharingplatform

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...

Add Comment