Skip to content

Latest commit

 

History

History
37 lines (32 loc) · 1.54 KB

install_docker_on_Amazon_linux.md

File metadata and controls

37 lines (32 loc) · 1.54 KB

Installation of Docker on Amazon Linux

It is a standard method of installing Docker on Amazon Linux EC2

  1. Update packages
sudo yum update -y
  1. Install Docker
sudo yum install -y
  1. Start the Docker service
sudo service docker start

or

sudo systemctl start docker
  1. Enable docker server start on system startup.
sudo systemctl enable docker
  1. Verify that docker is installed correctly by running the hello-world image.
sudo docker run hello-world

NOTE:

Install On Other Platforms