Leap 15.6 docker image broken

ps command is missing from current docker image in dockerhub repository:

docker run --rm -it opensuse/leap:15.5 bash -c ps
PID TTY TIME CMD
1 pts/0 00:00:00 ps

docker run --rm -it opensuse/leap:15.6 bash -c ps
bash: ps: command not found

docker run --rm -it opensuse/leap:latest bash -c ps
bash: ps: command not found

Note:
8e8cad27ac25:/ # ls -l /etc/os-release
lrwxrwxrwx 1 root root 21 Jun 20 05:51 /etc/os-release → …/usr/lib/os-release

I have an old copy of 15.6 in which ps works fine:

docker run --rm -it leap:15.6
9ee21d95f36e:/ # ps
PID TTY TIME CMD
1 pts/0 00:00:00 bash
28 pts/0 00:00:00 ps
0c49b1a06d3c:/ # ls -l /etc/os-release
lrwxrwxrwx 1 root root 21 May 8 2024 /etc/os-release → …/usr/lib/os-release

Is this the right channel to report this?

That’s not “broken”, it just means procps, the package shipping ps, is no longer part of the container image.

That being said, procps was added again in the meanwhile:

https://build.opensuse.org/package/rdiff/openSUSE:Leap:15.6:Images/opensuse-leap-image?linkrev=base&rev=2

https://bugzilla.opensuse.org/show_bug.cgi?id=1231128

1 Like

Thanks.
Your Bugzilla reference triggered me to something I was looking for: a build tag (opensuse/leap:15.6.5.634). I’m sure I will find the repository somewhere (not Dockerhub which updates 15.6 tag every once in a while.)

In case other people were as lazy as I was, in using images from DockerHub…
I replaced “opensuse/leap:15.6” with a reference to opensuse registry, something like “registry.opensuse.org/opensuse/leap:15.6.5.634” to get a stable build.