Installing docker & docker-compose on AWS Linux AMI

Posted on 11 Oct 2016 AWSDevops

So you’re ready to go with docker and want to get a staging environment on AWS, run the commands below and you are good to go.

If you’d like to learn how to use a lean open and malleable easy to use Magento2 docker stack, try this one for free here:

Magento 2 Docker Development

Spin on Linux AMI
sudo yum update
sudo yum install -y docker
sudo usermod -a -G docker ec2-user
sudo curl -L https://github.com/docker/compose/releases/download/1.9.0/docker-compose-`uname -s`-`uname -m` | sudo tee /usr/local/bin/docker-compose > /dev/null
sudo chmod +x /usr/local/bin/docker-compose
sudo service docker start
sudo chkconfig docker on

Leave a Reply

Your email address will not be published.

*