我正在使用DISPLAY选项在Mac上运行容器:
docker run -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$(ipconfig getifaddr en0):0
,经过一段随机时间后,它因IO错误而崩溃:
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server “192.168.1.82:0”
after 12711 requests (12708 known processed) with 0 events remaining.
这种崩溃的原因是什么?有什么办法可以解决或克服?