-
Notifications
You must be signed in to change notification settings - Fork 44
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
Add package in Dockerfile for bash #29
Comments
I would suggest to not extend the container image with unnecessary stuff (e.g. Bash). Either use ephemeral/debug containers when you have the alpha feature gate (
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I noticed that the Dockerfile in docker/operator pulls from alpine:3.8.
It would be nice to add the ability to execute bash on the pod to verify that any configuration files are being deployed correctly.
Example command:
kubectl exec -ti /bin/bash
Output:
kubectl exec -ti /bin/bash
OCI runtime exec failed: exec failed: container_linux.go:348: starting container process caused "exec: "/bin/bash": stat /bin/bash: no such file or directory": unknown
Docker File Enhancement:
RUN apk add --no-cache bash
The text was updated successfully, but these errors were encountered: