为什么我得到屏幕会在MacOS中终止错误 [英] Why I am getting Screen is terminating error in MacOS

查看:87
本文介绍了为什么我得到屏幕会在MacOS中终止错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当尝试在Mac中进入Docker VM时,我收到屏幕正在终止错误,因此我无法进入Docker Desktop。在Mac中,Docker主机不是Mac,因为它作为VM运行。有解决方案吗?

When trying to enter into Docker VM in mac, I am getting screen is terminating error whereby I cannot go into Docker Desktop. In Mac, Docker host is not the mac as it runs as a VM. Any solutions?

谢谢您的帮助。

推荐答案

我认为这是最新(2.3.0.4)版本的Mac版Docker Desktop的一个错误,因为我使用过 screen 过去可以在Mac上成功访问Docker VM,而不会出现此问题。

I think it's a bug with the latest (2.3.0.4) version of Docker Desktop for Mac, as I have used screen successfully to access the Docker VM in the past on Mac without this issue.

有一些替代方法可以访问Docker VM。这是一个为我工作的人:

There are some alternative methods to access the Docker VM. Here is one that worked for me:

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

这是另一个对我有用的东西:

and here's another one that also worked for me:

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

这篇关于为什么我得到屏幕会在MacOS中终止错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆