sudo yum update
sudo yum install docker
wget https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)
sudo mv docker-compose-$(uname -s)-$(uname -m) /usr/local/bin/docker-compose
sudo chmod -v +x /usr/local/bin/docker-compose
sudo systemctl enable docker.service
sudo systemctl start docker.service
sudo systemctl status docker.service
Last active
June 2, 2023 18:16
-
-
Save cbschuld/0ff036198de8456e86d7091aaa2231a7 to your computer and use it in GitHub Desktop.
Installing Docker and docker-compose on AWS EC2 Amazon Linux 2
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How to fix "dial unix /var/run/docker.sock: connect: permission denied" when group permissions seem correct?