您可以使用
-goption和您选择的目录来启动Docker守护程序。这将为Docker设置适当的运行时。
对于1.8版,应该是这样的:
docker daemon -g /path/to/directory
对于早期版本,它将是:
docker -d -g /path/to/directory
从手册页:
-g, --graph="" Path to use as the root of the Docker runtime. Default is /var/lib/docker.

您可以使用
-goption和您选择的目录来启动Docker守护程序。这将为Docker设置适当的运行时。
对于1.8版,应该是这样的:
docker daemon -g /path/to/directory
对于早期版本,它将是:
docker -d -g /path/to/directory
从手册页:
-g, --graph="" Path to use as the root of the Docker runtime. Default is /var/lib/docker.