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

前端 未结 11 1312
南旧
南旧 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:31

    I'm using Raspbian with Raspberry 4

    Best way to do it..

    Check your docker version with: sudo docker info and check "Storage Driver"

    1. sudo systemctl stop docker
    2. sudo nano /etc/docker/daemon.json
    3. write this code below and save it
    {
        "storage-driver": "vfs"
    }
    
    1. sudo systemctl start docker

    altought vfs... has a performance issue and could not be the best choice... :)

提交回复
热议问题