docker gitlab无法启动

log信息:

{"log":"Thank you for using GitLab Docker Image!\n","stream":"stdout","time":"2019-10-10T09:16:52.21426952Z"}
{"log":"Current version: gitlab-ce=11.0.1-ce.0\n","stream":"stdout","time":"2019-10-10T09:16:52.214301816Z"}
{"log":"\n","stream":"stdout","time":"2019-10-10T09:16:52.214314713Z"}
{"log":"Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file\n","stream":"stdout","time":"2019-10-10T09:16:52.214319953Z"}
{"log":"And restart this container to reload settings.\n","stream":"stdout","time":"2019-10-10T09:16:52.214324292Z"}
{"log":"To do it use docker exec:\n","stream":"stdout","time":"2019-10-10T09:16:52.214343587Z"}
{"log":"\n","stream":"stdout","time":"2019-10-10T09:16:52.214354366Z"}
{"log":"  docker exec -it gitlab vim /etc/gitlab/gitlab.rb\n","stream":"stdout","time":"2019-10-10T09:16:52.214377118Z"}
{"log":"  docker restart gitlab\n","stream":"stdout","time":"2019-10-10T09:16:52.214383022Z"}
{"log":"\n","stream":"stdout","time":"2019-10-10T09:16:52.214386485Z"}
{"log":"For a comprehensive list of configuration options please see the Omnibus GitLab readme\n","stream":"stdout","time":"2019-10-10T09:16:52.21441455Z"}
{"log":"https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md\n","stream":"stdout","time":"2019-10-10T09:16:52.214418999Z"}
{"log":"\n","stream":"stdout","time":"2019-10-10T09:16:52.214422401Z"}
{"log":"If this container fails to start due to permission problems try to fix it by executing:\n","stream":"stdout","time":"2019-10-10T09:16:52.21445327Z"}
{"log":"\n","stream":"stdout","time":"2019-10-10T09:16:52.214457817Z"}
{"log":"  docker exec -it gitlab update-permissions\n","stream":"stdout","time":"2019-10-10T09:16:52.214461178Z"}
{"log":"  docker restart gitlab\n","stream":"stdout","time":"2019-10-10T09:16:52.214470588Z"}
{"log":"\n","stream":"stdout","time":"2019-10-10T09:16:52.214474058Z"}
{"log":"Preparing services...\n","stream":"stdout","time":"2019-10-10T09:16:55.216795708Z"}
{"log":"Starting services...\n","stream":"stdout","time":"2019-10-10T09:16:55.231112363Z"}
{"log":"Configuring GitLab package...\n","stream":"stdout","time":"2019-10-10T09:16:55.231559666Z"}
{"log":"/opt/gitlab/embedded/bin/runsvdir-start: line 37: /proc/sys/fs/file-max: Read-only file system\n","stream":"stderr","time":"2019-10-10T09:16:55.237269641Z"}
{"log":"Malformed configuration JSON file found at /opt/gitlab/embedded/nodes/fe8ab341c48f.json.\n","stream":"stdout","time":"2019-10-10T09:16:55.751260111Z"}
{"log":"This usually happens when your last run of `gitlab-ctl reconfigure` didn't complete successfully.\n","stream":"stdout","time":"2019-10-10T09:16:55.751280615Z"}
{"log":"This file is used to check if any of the unsupported configurations are enabled,\n","stream":"stdout","time":"2019-10-10T09:16:55.751283608Z"}
{"log":"and hence require a working reconfigure before upgrading.\n","stream":"stdout","time":"2019-10-10T09:16:55.751285925Z"}
{"log":"Please run `sudo gitlab-ctl reconfigure` to fix it and try again.\n","stream":"stdout","time":"2019-10-10T09:16:55.75128816Z"}

1个回答

"Please run sudo gitlab-ctl reconfigure to fix it and try again 这句日志已经告诉你了。它的配置出错了

qq_40722827
斗士(Carroll) 回复Nio不是nio: 容器没法启动... 那就看看容器启动的时候的日志
27 天之前 回复
qq_35473192
Nio不是nio 知道 可是 我是docker安装的 容器无法启动 命令没办法执行的
27 天之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!

相似问题

0
docker pull ,docker load ,docker commit 后download 完成之后就不执行了。docker save, docker tag好用
1
怎么利用docker-compose,在容器启动后执行自定义的shell命令,能不能在docker-compose.yml中配置啊?
3
mac 安装docker以后无法使用命令行
2
docker容器正常启动,宿主机器无法访问启动的服务
2
江湖救急,docker容器映射端口无法启动
1
docker使用外部配置启动redis失败
2
docker容器启动后再在docker进程里显示未启动
2
docker 容器启动时做了端口映射,防火墙未开放该端口外网却可以访问
1
docker部署的openstack环境,如何重新指定服务的启动参数
0
关于在docker里启动的java应用,注册到zookeeper中,注册信息中的address显示为容器的ID,怎么办。
1
Docker安装Hue,启动Hue报错,报错内容见截图,望高人指点
3
reboot后,Docker容器可以自启动,但是容器内的服务如何自启动?
2
docker swarm 模式下,如何固定容器的ip?
1
docker 启动了tomcat但是docker ps 没有显示,但是后台有运行
1
docker宿主机随机端口映射了docker容器,如何让docker容器知道宿主机的IP与映射端口呢?
1
Docker的linux容器中安装软件提示无法定位软件包
1
docker根据helowin/oracle_11g镜像启动Oracle,第一次可以连接,重启docker后连不上oracle
1
windows2008启动Docker Quickstart Terminal时卡在Waitong for an IP要怎么解决?
2
docker启动后镜像就消失了bash: vmrun.exe: command not found
1
Docker java 中 DockerHub的 DockerClient中启动容器如何添加参数?