Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify entrypoint when running container #69

Open
jimbali opened this issue Sep 16, 2022 · 0 comments
Open

Specify entrypoint when running container #69

jimbali opened this issue Sep 16, 2022 · 0 comments

Comments

@jimbali
Copy link

jimbali commented Sep 16, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant