MacOS 执行screen tty提示screen is terminating
Reference:
https://www.jianshu.com/p/6aefed2be1c7
https://stackoverflow.com/questions/39739560/how-to-access-the-vm-created-by-dockers-hyperkit
https://github.com/docker/for-mac/issues/4822
问题描述
Mac 系统需要动态修改 docker 容器参数时, 需要运行
screen ~/Library/Containers/com.docker.docker/Data/vms/0/tty
但是显示
[screen is terminating]
解决方案
docker run -it --privileged --pid=host just