已解决 Docker安装报错:unable to test user namespaces due to permissions

CentOS 7.4

Docker 24.0.5


docker pull hub.zentao.net/app/zentao:latest


docker run -dit --name=zentao -v /data/zentao/data:/data -p 8080:80 -e MYSQL_INTERNAL=true hub.zentao.net/app/zentao


启动的通过WEB页安装成功后显示空白页面,logs报错信息:


[INFO] RoadRunner server started; version: 2023.3.4, buildtime: 2023-11-09T16:28:16+0000
[INFO] sdnotify: not notified
2024-04-12T07:59:08+0000 INFO service      service was started {"name": "cron_scheduler", "command": "php scheduler.php"}
{"time":"2024-04-12T15:59:08.1523988+08:00","level":"ERROR","msg":"plugin returned an error from the Serve method","!BADKEY":"unable to test user namespaces due to permissions","plugin":"*service.Plugin"}
error: unable to test user namespaces due to permissions
plugin: *service.Plugin


禅道版本 18.11 源码包
操作系统 CentOS
客户端浏览器 Chrome

提问者: 单身的煎饼果子 悬赏:5 日期: 2024-04-12 16:35:45 答案:3 点击:107

获取技术支持

QQ: 电话:
设置备注
答案列表
2024/04/12
停止原来的容器,用之前的挂载目录启动一个新容器试试呢。
2024/04/12
谢谢。试过了,一样的情况。
2024/04/12
有试过18版本的镜像,可以吗?
2024/04/15

先看看命名空间启用了么?sysctl kernel.unprivileged_userns_clone

https://github.com/moby/moby/issues/35336 参考这个
2024/04/16
现在可以了吗?