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
Is there any way to get a shell from running container? #168
Comments
|
The |
|
Thanks for your reply. So there is no busybox or any kind of shell in
production images?
…On Wed, Mar 7, 2018 at 02:19 Matt Moore ***@***.***> wrote:
The :debug tagged images container busybox, so you can --entrypoint=sh,
but the :latest images drop this to bias towards minimal containers in
production.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#168 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABbb2pPkevKMO_50Oy47MyYNfpARbzPMks5tbxJggaJpZM4Sfi0J>
.
|
|
Not currently, no.
On Tue, Mar 6, 2018, 2:56 PM Reza Kamalifard <notifications@github.com>
wrote:
… Thanks for your reply. So there is no busybox or any kind of shell in
production images?
On Wed, Mar 7, 2018 at 02:19 Matt Moore ***@***.***> wrote:
> The :debug tagged images container busybox, so you can --entrypoint=sh,
> but the :latest images drop this to bias towards minimal containers in
> production.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <
#168 (comment)
>,
> or mute the thread
> <
https://github.com/notifications/unsubscribe-auth/ABbb2pPkevKMO_50Oy47MyYNfpARbzPMks5tbxJggaJpZM4Sfi0J
>
> .
>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#168 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACVE4kt4abAm1ViQ2L1LguAwiuC9DaxRks5tbxQLgaJpZM4Sfi0J>
.
|
|
@itmard You can copy the busybox into a running container and then run it there. If you have a running container named The busybox executable can be extracted from the |
|
Closing as this looks addressed. Also see kubernetes/enhancements#277 for another take on a similar use-case. |
Hi there,
Sometimes we need to get bash or ssh into a running container for debugging . Is it possible to do this with these images ?
The text was updated successfully, but these errors were encountered: