I have done the following
(Sorry for not trying the main branch; I don't have a swift toolchain set up at the moment.)
(Note: this should possibly be categorized as a feature request rather than a bug; I wasn't sure.)
Steps to reproduce
Run any image that users a relative path as an entrypoint, or explicitly specify a relative path in the --entrypoint argument.
As an example:
container run -w /usr/local/cargo/bin --entrypoint ./rustc rust:latest --version
Current behavior
This error is printed:
Error: internalError: "failed to find target executable ./rustc"
Expected behavior
This should run the rustc binary at /usr/local/cargo/bin/rustc, and print a version string. With podman or docker:
> podman run -w /usr/local/cargo/bin --entrypoint ./rustc rust:latest --version
rustc 1.92.0 (ded5c06cf 2025-12-08)
Environment
- OS: macOS 26.1
- Xcode: (not installed)
- Container: container CLI version 0.7.1 (build: release, commit: 420be74)
Relevant log output
Code of Conduct
I have done the following
(Sorry for not trying the
mainbranch; I don't have a swift toolchain set up at the moment.)(Note: this should possibly be categorized as a feature request rather than a bug; I wasn't sure.)
Steps to reproduce
Run any image that users a relative path as an entrypoint, or explicitly specify a relative path in the
--entrypointargument.As an example:
Current behavior
This error is printed:
Expected behavior
This should run the
rustcbinary at/usr/local/cargo/bin/rustc, and print a version string. Withpodmanordocker:Environment
Relevant log output
Code of Conduct