You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Client: Docker Engine - Community Version: 26.1.1 API version: 1.45 Go version: go1.21.9 Git commit: 4cf5afa Built: Tue Apr 30 11:48:20 2024 OS/Arch: linux/amd64 Context: default Server: Docker Engine - Community Engine: Version: 26.1.1 API version: 1.45 (minimum version 1.24) Go version: go1.21.9 Git commit: ac2de55 Built: Tue Apr 30 11:48:20 2024 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.6.31 GitCommit: e377cd56a71523140ca6ae87e30244719194a521 runc: Version: 1.1.12 GitCommit: v1.1.12-0-g51d5e94 docker-init: Version: 0.19.0 GitCommit: de40ad0
docker info
Additional Info
No response
The text was updated successfully, but these errors were encountered: