Why does latest fedora docker raspberry-pi image exit on startup?

Hi everyone,

When I start a shell on docker with the latest fedora image (version 34) on raspberry pi it exits immediately. Earlier versions don’t have this problem.

Here’s a transcript demonstrating what I’m talking about ( I didn’t type either of the “exit” commands )

dave@raspberrypi:/mnt/wd/dave/repos/gitnc $ sudo docker run -it fedora bash
Unable to find image 'fedora:latest' locally
latest: Pulling from library/fedora
a367c2737400: Pull complete 
Digest: sha256:f534c437436eb44b7ac73646e642732fc055a75d84f900f07c3bbaa392007810
Status: Downloaded newer image for fedora:latest
[root@14e2e4902d05 /]# 
exit
dave@raspberrypi:/mnt/wd/dave/repos/gitnc $ sudo docker run -it fedora:34 bash
Unable to find image 'fedora:34' locally
34: Pulling from library/fedora
Digest: sha256:f534c437436eb44b7ac73646e642732fc055a75d84f900f07c3bbaa392007810
Status: Downloaded newer image for fedora:34
[root@c4cdf4372bc4 /]# 
exit
dave@raspberrypi:/mnt/wd/dave/repos/gitnc $ sudo docker run -it fedora:33 bash
Unable to find image 'fedora:33' locally
33: Pulling from library/fedora
f7cf55f263d8: Downloading  18.74MB/58.45MBf7cf55f263d8: Pull complete 
Digest: sha256:8e4df089f222622795e52152911db4c931cc4c74274feb250aa4798d0be9bad9
Status: Downloaded newer image for fedora:33
[root@b809c9eed7d2 /]# 

I’m using the fedora version from the docker library but I was able to reproduce the problem by building my own docker image from the minimal server fedora image at https://arm.fedoraproject.org/ so it looks like more than just a build problem on the docker side.

Can anyone tell me why this is happening and what I can to to fix or work around it?

1 Like

Note: No response here so cross posted to reddit/r/docker : https://www.reddit.com/r/docker/comments/nqcor3/why_does_latest_fedora_docker_raspberrypi_image/