docker-image check: exit if docker has exited