This command sometime, not always, fails when using docker-cli 26.1.1.
It does not always exit.
docker run --rm --entrypoint invalidcommand alpine param
The command does not always return now. I have to kill the docker-cli process with kill -9.
Reproduce
# docker run --rm --entrypoint invalidcommand alpine param
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "invalidcommand": executable file not found in $PATH: unknown.
The error message is expected but the command does not always return now. I often have to kill the docker-cli process with kill -9.
The docker container seems to exit, but docker-cli does not.
We have a similar command in our build pipeline to check for distroless images, this breaks now.
Reinstalling docker-cli in previous version 26.1.0 solves the problem.
Verified on Ubuntu and Debian.
Expected behavior
docker run --rm --entrypoint invalidcommand alpine param
should always exit immediately.
Description
This command sometime, not always, fails when using docker-cli 26.1.1. It does not always exit.
The command does not always return now. I have to kill the docker-cli process with
kill -9
.Reproduce
The error message is expected but the command does not always return now. I often have to kill the docker-cli process with
kill -9
.The docker container seems to exit, but docker-cli does not.
We have a similar command in our build pipeline to check for distroless images, this breaks now.
Reinstalling docker-cli in previous version 26.1.0 solves the problem. Verified on Ubuntu and Debian.
Expected behavior
docker run --rm --entrypoint invalidcommand alpine param
should always exit immediately.docker version
docker info
Additional Info
No response