Welcome!

This community is for professionals and enthusiasts of our products and services.
Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.

0

0
1 Answer
0
Avatar

Michael Rogers United States

--Michael Rogers--

5070
| 3 0 2
Lakewood, United States
--Michael Rogers--


Michael Rogers United States
1/15/20, 4:27 PM

1. SSH into your EC2 instance, and Install docker on your machine after updating by typing the following commands in your terminal:  

sudo yum update

sudo yum install -y docker

sudo usermod -a -G docker ec2-user

sudo service docker start

sudo chkconfig docker on

2. Install docker compose on your instance with the following commands:

sudo curl -L https://github.com/docker/compose/releases/download/1.21.0/docker-compose-`uname -s`-`uname -m` | sudo tee /usr/local/bin/docker-compose > /dev/null

sudo chmod +x /usr/local/bin/docker-compose

ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose

3. Check that docker compose was properly installed with this command:

docker-compose --version

Ask a Question
Keep Informed
1 follower(s)
About This Community
This community is for users of the AWS cloud platform. We answer questions about how to use both AWS in general and the tools we provide to our customers. Read Guidelines