Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chadhutchins182/9e6f48d61c2875f45b2e08106b8de90c to your computer and use it in GitHub Desktop.
Save chadhutchins182/9e6f48d61c2875f45b2e08106b8de90c to your computer and use it in GitHub Desktop.
How to install docker-compose on a Raspberry Pi 4 running Bullseye

How to install docker-compose on a Raspberry Pi 4 when other methods fail

Credit: https://raspberrypi.stackexchange.com/a/136203

Other methods failed for me on a new Raspberry Pi 4 on bullseye. Using apt gave too old of a version for my compose files.

Commands to run

1. Find Processor Version:

uname -m

2. Go here and find the binary using the knowledge from above and run wget

wget https://github.com/docker/compose/releases/download/v2.16.0/docker-compose-linux-armv7 -O docker-compose

3. Make the binary executable

chmod +x docker-compose

3. Move to /bin

sudo mv docker-compose /usr/local/bin/

4. Reload Shell

5. Then Test

docker-compose version

@ntovarsolorzano
Copy link

This one works!
THANKS!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment