Using AUFS: error while loading shared libraries:

  1. Stopped the docker deamon
  2. Started the docker deamon with command docker -d -s=“devicemapper”
  3. 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)