Hello,
I purchased a Raspberry Pi 5 8GB. This is my first Pi. When I try running any containers I get an exit 159 error or I just get "no matching manifest for linux/arm/v8 in the manifest list entries".
I installed by doing:
curl -sSL
https://get.docker.com | sh
sudo usermod -aG docker $USER
I have stripped my docker-compose.yml and Dockerfile to the bare minimum:
docker-compose.yml:
version: '3.8'
services:
app:
build:
context: .
dockerfile: Dockerfile
image: myapp
container_name: myapp
restart: unless-stopped
tty: true
Dockerfile:
FROM arm64v8/php:8.2-cli
RUN apt-get update -y
When doing "docker compose up" I get:
failed to solve: process "/bin/sh -c apt-get update -y" did not complete successfully: exit code: 159
And it's not just the update command, when I remove it and do anything else I keep getting exit 159. I've tried many different php images.
main@raspberrypi:~ $ uname -m
aarch64
main@raspberrypi:~ $ docker version
Client: Docker Engine - Community
Version: 24.0.7
API version: 1.43
Go version: go1.20.10
Git commit: afdd53b
Built: Thu Oct 26 09:08:26 2023
OS/Arch: linux/arm
Context: default
My Pihole works fine though..?
version: "3"
services:
pihole:
container_name: pihole
image: pihole/pihole:latest
ports:
- "53:53/tcp"
- "53:53/udp"
- "67:67/udp"
- "80:80/tcp"
environment:
TZ: 'Europe/Amsterdam'
WEBPASSWORD: 'REDACTED'
volumes:
- './etc-pihole:/etc/pihole'
- './etc-dnsmasq.d:/etc/dnsmasq.d'
cap_add:
- NET_ADMIN
restart: unless-stopped
I am very confused what could be causing this. I am using the distro that came on the SD card. If you need any further information please let me know 🙂