I just can\'t create and run new containers in Docker anymore. But in the same time a can run previously created containers.
When I try to do something like this:<
When the docker partition filled and docker would no longer start after reboot, I encountered this:
# thin_check /var/lib/docker/devicemapper/devicemapper/metadata
examining superblock
examining devices tree
missing devices: [0, -]
bad checksum in btree node
examining mapping tree
thin device 72 is missing mappings [137494, 137594]
bad checksum in btree node
thin device 72 is missing mappings [137721, -]
bad checksum in btree nodebad checksum in btree nodebad checksum in btree nodebad checksum in btree nodebad checksum in btree nodebad checksum in btree nodebad checksum in btree nodebad checksum in btree nodebad checksum in btree nodebad checksum in btree nodebad checksum in btree nodebad checksum in btree nodebad checksum in btree nodebad checksum in btree node
I was able to repair with this procedure:
# thin_dump -r /var/lib/docker/devicemapper/devicemapper/metadata -o /tmp/metadata.xml
# thin_restore -i /tmp/metadata.xml -o /var/lib/docker/devicemapper/devicemapper/metadata