myoung34 / docker-github-actions-runner

This will run the new self-hosted github actions runners with docker-in-docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Install `docker compose` plugin for ARM compatibility.

mrmachine opened this issue · comments

Now that "compose 2" is a native plugin for docker itself (e.g. docker compose is a native subcommand), can you please install it instead of (or in addition to) the 1.27 x86 only docker-compose?

I believe it should be as easy as apt-get install docker-compose-plugin, since docker engine is already installed via repository.

If you want to scaffold a PR I'm happy to review it for accuracy across the different architectures

Hey @mrmachine , I would love to contribute to this issue under Hacktoberfest. How can I get started?

@rahulsurwade08

First step is to get a computer with an ARM cpu.

@Uzlopak I don't think one needs "a computer with ARM cpu" for this task.
As long as the Ubuntu repository is setup the command above (apt-get install docker-compose-plugin) will work on both amd64 and arm64. The ARM64 package is at https://download.docker.com/linux/ubuntu/dists/focal/pool/stable/arm64/

But if one wants to test it then getting a free VM is easy - https://martin-grigorov.medium.com/github-actions-arm64-runner-on-oracle-cloud-a77cdf7a325a