遇到的问题
在极空间Docker上拉取了lscr.io/linuxserver/obsidian:latest镜像,部署成功后,能够进入VNC界面,但是显示:Error launching startup command:为子进程关闭文件描述符失败(Operation not permitted)
环境设置如下:
PUID=1000
PGID=1000
TZ=Asia/Shanghai
DOCKER_MODS=linuxserver/mods:universal-package-install
INSTALL_PACKAGES=fonts-noto-cjk
LC_ALL=zh_CN.UTF-8
预期的效果
求问有什么办法解决这一问题,明明能进入VNC界面,应该是安装成功了吧?
已尝试的解决方案
多次尝试重新安装
Probe
(Probe)
2
本地 Docker 版没遇到, 极空间没用过, 不知跟普通 Docker 部署有啥重大区别
根据文档 ref 遇这个错误需要多加个参数
My host is incompatible with images based on rdesktop¶
Some x86_64 hosts have issues running rdesktop based images even with the latest Docker version due to syscalls that are unknown to Docker.
Symptoms¶
If your host is affected you may see errors in your containers such as:
Failed to close file descriptor for child process (Operation not permitted)
Resolution¶
For Docker CLI, run your container with:
--security-opt seccomp=unconfined
For Docker Compose, run your container with:
security_opt:
- seccomp=unconfined
是否真的管用, 不太清楚