Installing docker & docker compose on Amazon ARM Linux
If you're like me and have spun up a
t4g.small during AWS's free trial period, you might want to run
docker compose. However, documentation on this is pretty sparse.
docker-compose vs docker compose
docker compose is the new hotness and should be used going forward. I'm sure there are many changes under the hood but the headliner is that it's written in Go and
docker-compose was written in Python (apparently).
Based on this gist:
sudo yum install docker sudo service docker start sudo usermod -a -G docker ec2-user
systemctl enable docker.service
This is the one you want, not
sudo mkdir -p /usr/local/lib/docker/cli-plugins/ sudo curl -SL https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/lib/docker/cli-plugins/docker-compose sudo chmod +x /usr/local/lib/docker/cli-plugins/docker-compose
Question & comments: feel free to send them to
fullname [at] outlook.com.