Docker dm_task_run failed error

后端 未结 5 747
长情又很酷
长情又很酷 2021-01-31 09:27

Today I first time installed docker on Fedora 21. Now, I need change location of docker images folder from default /var/lib/docker.

After copying files (devicemapper sub

相关标签:
5条回答
  • I encounter another dm_task_run issue during docker import, for my case, I yum erase docker.x86_64; yum install docker.x86_64; systemctl start docker.service works.

    0 讨论(0)
  • 2021-01-31 10:03

    This was worked for me,

    mv -f /var/lib/docker/* /data/tmp
    systemctl restart docker.service
    docker system prune -a
    
    0 讨论(0)
  • 2021-01-31 10:09

    As seen in issue 3721, this generally is a disk space issue.

    The problem is that docker rmi doesn't always work in that case:

    Getting this in v1.2 on CentOS 6.5 if a disk fills up before the image finishes pulling. Unable to rmi the incomplete image.

    One "nuclear" option:

    removing everything in /var/lib/docker worked out. Thanks

    Another reason can be a common layer of fs to be downloaded between two images.

    0 讨论(0)
  • 2021-01-31 10:09

    1) service docker stop

    2) thin_check /home/docker/devicemapper/devicemapper/metadata

    3) thin_check --clear-needs-check-flag /home/docker/devicemapper/devicemapper/metadata

    4) service docker start

    0 讨论(0)
  • 2021-01-31 10:18

    Got this today.

    sudo reboot
    

    Problem's out.

    0 讨论(0)
提交回复
热议问题