刚安装了 docker
运行了 docker run -i - t ubuntu /bin/bash
FATA[0714] Error response from daemon: Cannot start container
ps:刚学就受打击
运行了 docker run -i - t ubuntu /bin/bash
FATA[0714] Error response from daemon: Cannot start container
ps:刚学就受打击
修改Docker的配置参数把/etc/sysconfig/docker文件中的other-args更改为:
other_args="--exec-driver=lxc --selinux-enabled"
然后重新启动Docker服务
sudo /etc/init.d/docker restart试试看,有没有用。我这样改过就好了
yyf-Lenovo-Product yyf # docker run -i -t --rm ubuntu:14.04 /bin/bash
Error response from daemon: Cannot start container bcf0a956989f1e2312fea1e0c9eae75163284fb1ebcf312d2e1c1577067e1254: failed to update store for object type *libnetwork.endpointCnt: Key not found in store
我是这样解决的:
yyf-Lenovo-Product yyf # service docker restart
docker stop/waiting
docker start/running, process 5012
再一次rundocker命令:
yyf-Lenovo-Product yyf # docker run -i -t --rm ubuntu:14.04 /bin/bash
root@d5bf1e46325f:/#
shumin@SHUMIN-PC ~
$ docker run -i -t --rm ubuntu:14.04 /bin/bash
Error response from daemon: Cannot start container 5522b1b2898143db1bffe3c624fe50f6f2217ec798b241e6493f3fb065cca291: [8] System error: exec: "C:/Program Files (x86)/Git/bin/bash": stat C:/Program Files (x86)/Git/bin/bash: no such file or directory