docker-gc icon indicating copy to clipboard operation
docker-gc copied to clipboard

Handle inspect failed containers

Open Sartner opened this issue 8 years ago • 0 comments

Sometimes 'docker inspect' will get error like 'Error response from daemon: devmapper: Unknown device xxxx' At this time the script will exit.

Add new env variable ERROR_CONTAINER_REMOVAL to handle this case. Skip docker inspect failed containers by default (ERROR_CONTAINER_REMOVAL=0)

Sartner avatar Aug 23 '17 06:08 Sartner