Error: “error creating aufs mount to” when building dockerfile

前端 未结 11 1296
南旧
南旧 2020-12-13 05:55

I get this error when I try to build a docker file

 error creating aufs mount to /var/lib/docker/aufs/mnt   
 /6c1b42ce1a98b1c0f2d2a7f17c196221445f1054566065         


        
11条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-13 06:34

    If you try to use docker inside a persistent enable Live CD, you may encounter this error. I guess, it is due to the fact that you can't mount aufs inside overlayfs mounts, which is the persistent layer.

    The solution was simply using different driver. I've used vfs in /etc/docker/daemon.json

    Here it is

    {
        "storage-driver": "vfs"
    }
    

提交回复
热议问题