def METHOD_NAME(*, repo_tag):
    try:
        result = _run_docker_command(
            "image", "inspect", "--format", "{{json .}}", repo_tag
        )
        return json.loads(result.stdout)
    except CalledProcessError as error:
        if ": No such image" in error.stderr:
            raise ObjectDoesNotExist from error
        else:
            raise