Answers for "how to setup dockers on aws"

3

Amazon Linux 2 AMI install docker

sudo yum update -y
sudo amazon-linux-extras install docker
# Start Docker service
sudo service docker start
Posted by: Guest on May-27-2020
1

how to setup dockers on aws

sudo yum update -y
sudo amazon-linux-extras install -y docker
sudo service docker start
sudo usermod -a -G docker ec2-user
sudo chkconfig docker on
sudo yum install -y git
sudo curl -L https://github.com/docker/compose/releases/
latest/download/docker-compose-$(uname -s)-$(uname -m)
-o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
Posted by: Guest on January-09-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language