Fedora 41: Docker & Compose do not work with `init` flag

Hi, I’ve installed the docker and docker-compose packages on a fresh install today

I can bring up compose projects with docker compose up, with the exception of those that use an init: true flag on a service

When that happens I get the following error: Error response from daemon: exec: "docker-init": executable file not found in $PATH

Is this binary distributed in a different package I haven’t found, or is there likely to be some kind of configuration issue causing this?

I think normally this would just call tini, so I tried installing that package too - but no luck

dnf provides \*bin/docker-init doesn’t return any packages that provide docker-init and the only package in the repo that seems to include support for the docker init is oddly podman-docker. It looks like the docker shipped in the Fedora repos doesn’t support docker init AFAICT. You might need to install it from the upstream docker repos or try podman instead.

The docker variant shipped in Fedora is moby-engine, which AFAICT from the source code doesn’t support init.