🐈

Amazon Linux 2023 (aarch64) に docker compose 入れる

2024/09/25に公開

おしながき

  • docker は yum で入れる
  • docker-compose は curl で直接入れる

前提

  • ec2-user で使う

docker

sudo yum update -y
sudo yum install -y docker
sudo systemctl start docker
sudo systemctl enable docker

docker-compose

curl -SL https://github.com/docker/compose/releases/latest/download/docker-compose-linux-aarch64 -o /home/ec2-user/.docker/cli-plugins/docker-compose
chmod +x /home/ec2-user/.docker/cli-plugins/docker-compose
docker compose version

Discussion