Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

Install Docker CE on CentOS

sudo amazon-linux-extras install docker
sudo service docker start
sudo usermod -a -G docker ec2-user

#Makes docker to auto-start
sudo chkconfig docker on

#Installs git
sudo yum install -y git

#Reboots the system
sudo reboot
Source by docs.docker.com #
 
PREVIOUS NEXT
Tagged: #Install #Docker #CE #CentOS
ADD COMMENT
Topic
Name
5+8 =