verify docker image is in the correct format