Using exitif to exit if a docker error is found