0

I am trying to run Airbyte on EC2, but when I follow the official guideline (https://docs.airbyte.com/deploying-airbyte/on-aws-ec2/) the part with

sudo yum install -y docker-compose-plugin
docker compose version

gives that:

docker: 'compose' is not a docker command.

Is there any other way to install docker compose V2 (not docker-compose) on an EC2?

BoIde
  • 306
  • 1
  • 3
  • 16

1 Answers1

0

I had the same problem and ended up doing it this way:

DOCKER_VER=v2.20.3
curl -L https://github.com/docker/compose/releases/download/$DOCKER_VER/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose 
chmod +x /usr/local/bin/docker-compose
docker-compose version
Yepher
  • 1,465
  • 12
  • 25