def get_container_image_id(image_tag):
    cmd = ("docker images --format '{{.ID}}' " + image_tag)
    proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, shell=True, text=True)
    image_id = proc.stdout.read().rstrip()
    return image_id
def get_container_image_id(image_tag):
    cmd = ("docker images --format '{{.ID}}' " + image_tag)
    proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, shell=True, text=True)
    image_id = proc.stdout.read().rstrip()
    return image_id