Mesos slave不会启动docker

时间:2015-11-17 23:42:27

标签: docker

按照我的问题here:我有一个mesos slave(v1.7),我尝试在docker中运行一个docker。 当我在容器内时,我收到以下错误日志:

$ cat /var/log/docker.log 
time="2015-10-17T12:27:40.963674511Z" level=fatal msg="Error starting daemon: error initializing graphdriver: operation not permitted" 

我在互联网上找不到太多信息,这里有一些类似的问题:

  1. https://github.com/jpetazzo/dind/issues/89
  2. https://github.com/docker/docker/issues/14543
  3. Docker hello-world on Ubuntu - permission denied

1 个答案:

答案 0 :(得分:0)

因此graphdriver是用于存储容器数据/信息/等的驱动程序:(图表)

更多信息here

您似乎无权初始化驱动程序。

您可以指定要存储图形的目录,并确保用于启动docker守护程序的用户具有读/写权限。例如

$ docker daemon -D -g /<whatever>/<path>/<for_your_containers>

或(如果您使用的是较旧的泊坞版)

$ docker -d -D -g /<whatever>/<path>/<for_your_containers>