I have provisioned Oracle Linux 7 on ARM processor on OCI. In an attempt to get my blog site to work on the host, I have installed Docker engine and now I want to install Docker Compose 2. Here are the steps.
- Create a directory.
mkdir -p ~/.docker/cli-plugins/
- Download the Docker Compose 2 binary for ARM64.
curl -SL https://github.com/docker/compose/releases/download/v2.2.2/docker-compose-linux-armv7 -o ~/.docker/cli-plugins/docker-compose
- Give the binary file execute permission.
chmod +x ~/.docker/cli-plugins/docker-compose
- Check if the binary has been installed successfully.
docker compose version