Skip to content

Instantly share code, notes, and snippets.

View GiannisSialmas's full-sized avatar
🎯
Focusing

Giannis Sialmas GiannisSialmas

🎯
Focusing
View GitHub Profile
@GiannisSialmas
GiannisSialmas / docker_descendants.py
Created June 24, 2020 14:48 — forked from altaurog/docker_descendants.py
Python3 script to find descendants of one or more docker images
#!/usr/bin/python3
#
# usage: python3 docker_descendants.py <image_id> ...
import sys
from subprocess import check_output
def main(images):
image_ids = set(images)