[nsenter安装使用]
cd /tmp curl https://www.kernel.org/pub/linux/utils/util-linux/v2.24/util-linux-2.24.tar.gz tar -zxvf util-linux-2.24.tar.gz cd util-linux-2.24 ./configure --without-ncurses make nsenter cp nsenter /usr/local/bin
参考资料:
http://www.oschina.net/translate/enter-docker-container?cmp
https://jpetazzo.github.io/2014/06/23/docker-ssh-considered-evil/
http://www.cnblogs.com/ggjucheng/archive/2013/01/13/2856901.html
本站文章如无特殊说明,均为本站原创,如若转载,请注明出处:【云计算】使用nsenter进入Docker容器进行调试 - Python技术站