Re:Alpine Linux Docker images have NULL for root password
by hibbelig on Wednesday May 08, 2019 @05:08PM
(#19862958)
Without a shell, how does one debug if anything goes wrong?
[ Parent
| on HN ]
Re:Alpine Linux Docker images have NULL for root password
by hundt on Thursday May 09, 2019 @01:35PM
(#19870307)
You can start a container with a shell that shares the PID and network namespaces of the container you want to debug.
Re:Alpine Linux Docker images have NULL for root password
by antsar on Wednesday May 08, 2019 @05:27PM
(#19863140)
Reading logs/traces on your log aggregation service and reproducing in a dev system?
Re:Alpine Linux Docker images have NULL for root password
by jeremyjh on Wednesday May 08, 2019 @05:53PM
(#19863357)
How do you debug in the dev env without a shell?
Re:Alpine Linux Docker images have NULL for root password
by the8472 on Wednesday May 08, 2019 @05:56PM
(#19863393)
from the host system, containers don't exist in a vacuum
Re:Alpine Linux Docker images have NULL for root password
by y04nn on Wednesday May 08, 2019 @05:49PM
(#19863314)
With remote debugging?
Re:Alpine Linux Docker images have NULL for root password
by lstodd on Wednesday May 08, 2019 @06:10PM
(#19863465)
remote debugging is a shell
Re:Alpine Linux Docker images have NULL for root password
by the8472 on Wednesday May 08, 2019 @06:21PM
(#19863529)
not necessarily. e.g. java runtimes can expose debugging ports when needed that operate on a custom protocol.
or you can just build gdb into the container and run the process under gdb, then attach to the tty.
or you can debug from the host system where the container's pid namespace is a descendant of the root namespace and the other namespaces can be accessed via /proc or unshare.