参考链接:https://www.jianshu.com/p/6aefed2be1c7

但其中有一点,就是我在 使用 screen 命令时无法使用,看网上讨论好像是个bug,https://stackoverflow.com/questions/63445657/why-i-am-getting-screen-is-terminating-error-in-macos

需要用以下这个命令去绑定宿主机上对应的配置文件,在容器中修改,

docker run -it --privileged --pid=host debian nsenter -t 1 -m -u -n -i sh

 

相关文章:

  • 2022-01-07
  • 2022-12-23
  • 2022-03-01
  • 2021-08-16
  • 2022-01-12
  • 2022-12-23
  • 2022-03-01
  • 2021-10-19
猜你喜欢
  • 2022-02-10
  • 2022-12-23
  • 2021-08-09
  • 2021-07-07
  • 2022-02-11
  • 2021-12-10
相关资源
相似解决方案