Docker安装报错:unable to test user namespaces due to permissions已解决 悬赏5积分
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
禅道-李锡碧
2024-04-12 16:39:50
停止原来的容器,用之前的挂载目录启动一个新容器试试呢。
回复
|
🚐 先看看命名空间启用了么?sysctl kernel.unprivileged_userns_clone https://github.com/moby/moby/issues/35336 参考这个 |
🍉 现在可以了吗?
|