- Stopped the docker deamon
- Started the docker deamon with command docker -d -s="devicemapper"
- Ran the docker run on the Dockerfile command again. And it worked without any problems.
也可以在/etc/default/docker文件后加入DOCKER_OPTS="--storage-driver=devicemapper",重启Docker就可以了。
答案来自:
http://muehe.org/posts/switching-docker-from-aufs-to-devicemapper/
https://github.com/orchardup/docker-mysql/issues/5
https://github.com/dotcloud/docker/issues/4704
本文介绍了如何将Docker的存储驱动从AUFS切换到DeviceMapper的方法,通过修改配置文件并重启Docker服务来解决运行过程中遇到的问题。

1095

被折叠的 条评论
为什么被折叠?



