Digital Marketing

Install docker on AWS EC2

## Update the installed packages and package cache on your instance.
sudo yum update -y
 
## Install the most recent Docker Community Edition package.
sudo yum install docker
 
## Check docker version
docker version
docker --version
 
## Add the ec2-user to the docker group so you can execute Docker commands without using sudo.
## Exit the terminal and re-login to make the change effective
sudo usermod -a -G docker ec2-user
exit
 
## Enable docker service
sudo systemctl enable docker
 
## Start docker service
sudo systemctl start docker
 
## Check the Docker service.
sudo systemctl status docker

Comments

Popular posts from this blog

Make online money from the Internet