Open polvoazul opened 6 years ago
docker run -it -v /:/host_root bash
then perform a chroot into the host system?
Thats... Thats beautiful! 😄 How come I didn't think of the good ol' chroot!? 👏
(Still don't understand the motivation for the ssh container though...)
Sometimes it is very hard to diagnose problems from inside the ssh container. In this particular case I would like to be able to restart the docker daemon in one server, as some containers are stuck in
starting
and I cant seem todocker inspect
orkill
them. From outside I would try to kill -9 the OS processes, or restart the daemon, but unfortunately I can't. Rebooting the machine, is, of course, possible, but would probably lead to a larger disturbance in the environment.I would like to understand that design decision as I fail to see any advantages.
I am forced inside a container in my own servers, help :D !