Container Deployment and Shell Access in Images

TLDR Victor asked about shell access for container deployments. Prabhat explained that distroless containers don't include a shell and recommended using dev images for shell access.

Photo of Victor
Fri, 16 Jun 2023 17:53:23 UTC

For container deployment , and for terminal (via kubectl exec) what binary shell is included in the image ?

Photo of Prabhat
Fri, 16 Jun 2023 21:49:06 UTC

The release version is built using distroless containers for efficiency and security. and no shell is included. If you need to access shell, you can use dev images -