I am using docker on a Raspberry Pi Zero W, which uses armv6 instruction set.
After having updated to V2.24.7, all I get is “illegal instruction” when typing “docker ps” (for example).
In fact no docker instructions work at all anymore. Docker compose also gives “Illegal instruction”.
Is there no more support for Docker 32 bits on armhf?
How can I roll back to V2.24.6?
Thanks for any help!
1 Like
Updated using apt this morning and seeing same behaviour.
Linux pi 6.1.0-rpi8-rpi-v6 #1 Raspbian 1:6.1.73-1+rpt1 (2024-01-25) armv6l GNU/Linux
Rollback instructions would be really good if anybody knows how to.
Cheers
Tried using Uninstall Docker Engine to uninstall and then bash get-docker.sh --version 5:24.0.9-1
to reinstall with older version but same issue remains
Brilliant, thanks!
Had not realised the prominence of Moby to Docker until I had a quick search.
Will try and report back.
Edit: Yes, this works! Do not need to uninstall first, apt will sort everything out for you. Going to ask about compose and buildx on the discussion.
Cheers!
If Docker Breaks (Illegal Instruction Error): Reinstall with an old version
apt-cache madison docker-ce | awk '{ print $3 }'
find what the old version was from /var/log/apt or just pick one
copy an old version
sudo apt remove docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -y && sudo apt install docker-ce=5:24.0.7-1~raspbian.11~bullseye docker-ce-cli=5:24.0.7-1~raspbian.11~bullseye containerd.io=1.6.27-1 docker-buildx-plugin=0.11.2-1~raspbian.11~bullseye docker-compose-plugin=2.21.0-1~raspbian.11~bullseye -y
sudo systemctl start docker
sudo systemctl status docker
Then set a “Hold” on future updates for those packages until you feel that the issue is fixed:
sudo apt-mark hold docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
sudo apt-mark showhold
Un-Hold with:
sudo apt-mark unhold docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
Submit a bug report to Docker
^^^ Figured this out today, it broke with the new update on 3/7/2024
1 Like