catch errors in docker_cmd