Skip to content

Specify entrypoint when running container #69

@jimbali

Description

@jimbali

Is there any way to specify a different entrypoint when running the container? For example with the Docker CLI we can do:

docker run --rm -it --entrypoint '/bin/bash' my-container

This is useful if the image has its entrypoint set to something that we don't really want to run. If we have no control over the building of the image itself but we want to still use it but modify its operation, overriding the entrypoint is often necessary. If this feature is not supported do you think it could be added please?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions