Docker Community Forums

Share and learn in the Docker community.

Failed to register layer

when I run “docker pull hyperledger/fabric-peer:latest”, because the network was broken, I stopped and run this command again. But I encountered a problem “failed to register layer: open /var/lib/docker/aufs/layers/ec29bdd12f66b602bc4f2136272874e25fc86487ab36776dbcd70ded51f4debb: no such file or directory”. I tried some methods but they all didn’t work:
1.deleted all containers through docker ps and docker rm
2.deleted all images through docker images and docker rmi
3.deleted docker and reinstall it
please tell me how to deal with this issue?

rm -rf ~/Library/Containers/com.docker.docker/Data/*
it does work for me, and it is help to release disk space.