在启动docker as a service并拉动centos image
之后,我在centos 6.6上安装了docker[root@ 17:43 ~]$docker images
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
centos 6 f6808a3e4d9e 13 days ago 215.7 MB
centos latest 88f9454e60dd 13 days ago 223.9 MB code here
然后我尝试启动容器
docker run centos:6 echo "ff"
FATA[0000] Error response from daemon: Cannot start container 7a65630de2390c17d254b8c229c87f42ba81aa5b90f48b553e758ed7b0610f57: write /cgroup/cpu/docker/7a65630de2390c17d254b8c229c87f42ba81aa5b90f48b553e758ed7b0610f57/cgroup.procs: invalid argument
我知道为什么会收到此错误
答案 0 :(得分:0)
这是您正在使用的内核的配置问题。 看看这个bug评论,它应该可以帮助你解决它: https://github.com/docker/docker/issues/6944#issuecomment-55910397
答案 1 :(得分:-1)
您必须关联终端run -it