在docker pull dockerui / dockerui之后 并按照文档
docker run -d -p 9000:9000 --privileged -v /var/run/docker.sock:/var/run/docker.sock dockerui / dockerui
我得到了
698ba9df8c95d02631c95d88d7d798c592977299b121eb6d841dfa35c94165b9 FATA [0000]来自守护程序的错误响应::退出状态2
但我可以运行tomcat容器成功,任何人都可以帮助我吗?
以下是docker守护程序日志
[root @ docker-test~] #docker -d
INFO [0000] + job serveapi(unix:///var/run/docker.sock)
INFO [0000]在unix上侦听HTTP(/var/run/docker.sock)
ERRO [0000]警告:未使用指定--storage-opt dm.thinpooldev 回送;强烈建议不要使用此配置进行生产 使用
INFO [0000] + job init_networkdriver()
INFO [0000] -job init_networkdriver()= OK(0)
信息[0000]加载容器:开始。
...
信息[0000]装载容器:完成。
INFO [0000] docker守护程序:1.6.0 8aae715 / 1.6.0; execdriver:native-0.2; graphdriver:devicemapper
INFO [0000] +作业接受连接()
INFO [0000] -job acceptconnections()= OK(0)
INFO [0000]守护程序已完成初始化
INFO [0012] POST /v1.18/containers/create
INFO [0012] + job create()
INFO [0012] +工作日志(创建, 698ba9df8c95d02631c95d88d7d798c592977299b121eb6d841dfa35c94165b9, docker.io/dockerui/dockerui:latest)
INFO [0012] -job log(创建, 698ba9df8c95d02631c95d88d7d798c592977299b121eb6d841dfa35c94165b9, docker.io/dockerui/dockerui:latest)= OK(0)
INFO [0012] -job create()= OK(0)
INFO [0012] POST /v1.18/containers/698ba9df8c95d02631c95d88d7d798c592977299b121eb6d841dfa35c94165b9/startINFO [0012] +工作 开始(698ba9df8c95d02631c95d88d7d798c592977299b121eb6d841dfa35c94165b9)
INFO [0012] +工作 allocate_interface(698ba9df8c95d02631c95d88d7d798c592977299b121eb6d841dfa35c94165b9)
INFO [0012] -job allocate_interface(698ba9df8c95d02631c95d88d7d798c592977299b121eb6d841dfa35c94165b9) = OK(0)INFO [0012] +工作 allocate_port(698ba9df8c95d02631c95d88d7d798c592977299b121eb6d841dfa35c94165b9)
INFO [0012] -job allocate_port(698ba9df8c95d02631c95d88d7d798c592977299b121eb6d841dfa35c94165b9) = OK(0)INFO [0012] +工作日志(开始, 698ba9df8c95d02631c95d88d7d798c592977299b121eb6d841dfa35c94165b9, docker.io/dockerui/dockerui:latest)
INFO [0012] - 工作日志(开始, 698ba9df8c95d02631c95d88d7d798c592977299b121eb6d841dfa35c94165b9, docker.io/dockerui/dockerui:latest)= OK(0)
WARN [0012]退出状态1
INFO [0012] +工作 release_interface(698ba9df8c95d02631c95d88d7d798c592977299b121eb6d841dfa35c94165b9)
INFO [0012] -job release_interface(698ba9df8c95d02631c95d88d7d798c592977299b121eb6d841dfa35c94165b9) = OK(0)INFO [0013] +工作 release_interface(698ba9df8c95d02631c95d88d7d798c592977299b121eb6d841dfa35c94165b9)
INFO [0013]无法取消映射端口0.0.0.0:9000:端口未映射
INFO [0013] -job release_interface(698ba9df8c95d02631c95d88d7d798c592977299b121eb6d841dfa35c94165b9) = OK(0)ERRO [0013]错误卸载设备 698ba9df8c95d02631c95d88d7d798c592977299b121eb6d841dfa35c94165b9: UnmountDevice:设备未挂载的id 698ba9df8c95d02631c95d88d7d798c592977299b121eb6d841dfa35c94165b9
INFO [0013] +工作日志(die,die, 698ba9df8c95d02631c95d88d7d798c592977299b121eb6d841dfa35c94165b9, docker.io/dockerui/dockerui:latest)
INFO [0013] -job log(die,die, 698ba9df8c95d02631c95d88d7d798c592977299b121eb6d841dfa35c94165b9, docker.io/dockerui/dockerui:latest)= OK(0)
无法启动容器 698ba9df8c95d02631c95d88d7d798c592977299b121eb6d841dfa35c94165b9:[8] 系统错误:[/ usr / bin / tar -cf /var/lib/docker/tmp/698ba9df8c95d02631c95d88d7d798c592977299b121eb6d841dfa35c94165b9274523689/_tmp.tar -C / var / lib / docker / devicemapper / mnt / 698ba9df8c95d02631c95d88d7d798c592977299b121eb6d841dfa35c94165b9 / rootfs / tmp 。]失败:/ usr / bin / tar: 在/ var / lib中/泊坞窗/ devicemapper到/ mnt / 698ba9df8c95d02631c95d88d7d798c592977299b121eb6d841dfa35c94165b9 /根文件系统的/ tmp: 不能chdir:没有这样的文件或目录
/ usr / bin / tar:错误无法恢复:现在退出
:退出状态2
INFO [0013] -job 启动(698ba9df8c95d02631c95d88d7d798c592977299b121eb6d841dfa35c94165b9) = ERR(1)ERRO [0013] POST /containers处理程序/ {名称:。*} / start返回 错误::退出状态2
错误HTTP错误:statusCode = 500:退出状态2