Skip to content

[Bug]: relative path in 'entrypoint' is not accepted #962

Closed

Description

@BatmanAoD

I have done the following

  • I have searched the existing issues
  • If possible, I've reproduced the issue using the 'main' branch of this project

(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

N/A

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. added theissue type on Dec 16, 2025
  2. changed the title [-][Bug]:[/-] [+][Bug]: relative path in 'entrypoint' is not accepted[/+] on Dec 16, 2025
  3. self-assigned this
    on Dec 17, 2025
  4. dcantah commented on Dec 17, 2025

    @dcantah
    Contributor

    Can fix, we'll definitely want this.

  5. added 10 commits that reference this issue on Dec 23, 2025
    9bd58b0
    d512ce7
    b1c5497
    0dd11c2
    a84c358
    2eb42b0
    d635d74
    031ad3a
    17fc843
    2f49058
  6. added a commit that references this issue on Jan 8, 2026
    9601f9d
  7. added a commit that references this issue on Jan 12, 2026
    e465b10
  8. added 3 commits that reference this issue on Jan 20, 2026
    1559e6d
    0099292
    94ba456
  9. added a commit that references this issue on Jan 27, 2026
    caf1e4e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions