Run docker-compose on Amazon Linux2 on ARM64

Environment at the time of writing this article

4.14.203-156.332.amzn2.aarch64 #1 SMP Fri Oct 30 19:19:46 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux

could not…

If you check the following documents at the moment,

Install Docker Compose | Docker Documentation https://docs.docker.com/compose/install/

It was as if you downloaded the binary image of the environment from below, or installed it using pip as described on the GitHub page below.

https://github.com/docker/compose/releases

However, there is no ARM64 version of the binary at this time, and unfortunately the installation with pip did not work.

Made ★

After various searches, I was able to operate with the following Issue comment content/container image.

Release docker/compose image for armv7 / arm64v8 https://hub.docker.com/r/linuxserver/docker-compose

After all, it seems that installing packages directly does not work, so the point is that docker-compose itself is executed as a Docker container in the docker-compose command.

sudo curl -L --fail https://raw.githubusercontent.com/linuxserver/docker-docker-compose/master/run.sh -o /usr/local/bin/docker-compose
sudo chmod + x /usr/local/bin/docker-compose

Recommended Posts

Run docker-compose on Amazon Linux2 on ARM64
[Note] Run Django on Amazon Linux 2
Run cron on Amazon Linux (set on Linux)
Run Keycloak on Amazon Linux 2 without Docker
Run Linux on ARM architecture with QEMU
Linux
Run docker-compose on Amazon Linux2 on ARM64
Run Linux on ARM architecture with QEMU
Put jenv on Amazon Linux
Use sshpass on Amazon linux2
Install Homebrew on Amazon Linux 2
Install strongSwan 5.9.1 on Amazon Linux 2
Run Amazon Linux 2 in VirtualBox
Run FreeBSD on Linux + qemu
Install Python Pillow on Amazon Linux
Install oracle java8 on amazon linux2
Try installing OpenAM on Amazon Linux
Run a Linux server on GCP
Install pyenv on EC2 (Amazon Linux)
[Note] Install Imagick on Amazon Linux2
Introduce Python 3.5.2 environment on Amazon Linux
I'll install Ruby on EC2 (Amazon Linux2) 2020
Use Numpy, Scipy, scikit-learn on Amazon Linux
How to update php on Amazon linux 2
Build an LNPP environment on Amazon Linux 2
Learn sshd_config and authorized_keys (on Amazon Linux 2)
How to install Anisble on Amazon Linux 2
Install Python 3.8, Pip 3.8 on EC2 (Amazon Linux 2)
Run a batch of Python 2.7 with nohup on Amazon Linux AMI on EC2
The story of running the asp.net core 3.1 app on arm64 version Amazon Linux 2
Install Python3 and Django on Amazon Linux (EC2) and run your web server
Run Debian (Linux) & LXQt on Athlon 200GE (AMD)
Install PHP 7 series on Amazon Linux 2 with Amazon Linux Extras
Daemonizing processes on Linux
Run Kali Linux on Windows with GUI (without VirtualBox)
jblas on Arch Linux
Linux (WSL) on Windows
NAT router on Linux
Run Django on PythonAnywhere
Publish your Django app on Amazon Linux + Apache + mod_wsgi
Run mysqlclient on Lambda
Create an environment for MkDocs on Amazon Linux (attempted)
Develop .NET on Linux
Wake on lan on Linux
OpenVPN Summary + Amazon Linux2
Run OpenMVG on Mac
Monitor traffic on Linux
Install Docker on Arch Linux and run it remotely
Update vscode on linux
[AWS EC2] How to install Maven on Amazon Linux 2
Check capacity on Linux
How to build a Python environment on amazon linux 2
Announcing the availability of Java 11 LTS on Amazon Linux 2
LiveUSB creation on Linux
[AWS] How to expand disk space on Amazon linux
Linux operation on Win10
Install LAMP on Amazon Linux 2 and build a WordPress environment.
Try running Amazon Linux 2 on-premises (VM on your local PC).
Run Lima Driver on Debian GNU / Linux for Ultra96 / Ultra96-V2
[AWS EC2] Settings you want to do on Amazon Linux 2
Launch NEM Symbol testnet node on AWS EC2 (Amazon Linux2)
NTP configuration memo on Linux
Install Minecraft on Arch Linux