-
Notifications
You must be signed in to change notification settings - Fork 45
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
Properly document how to launch a shell in an image, not just a running container #374
Comments
Hi @gdevenyi . I'm not completely sure I understand the request. Are you looking for documentation of this:
or something else? |
No, I'm looking for documentation on how to get a shell in a non-running container (aka an image), where the default entrypoint has been overridden ( After much experimenting and reading the existing dockerfile, I think this is what I need to override:
|
Yes, if you set a new
and if you are still using the default (or root) user you can even get away with:
As the I will think about how this would best fit into the documentation. PRs are welcome of course.... |
The documentation lists how to properly use
docker exec
however it doesn't list how to get a shell in an image.The text was updated successfully, but these errors were encountered: