dotfiles/dot_local/bin/executable_docker-child

4 lines
104 B
Bash

#!/bin/bash
for i in $(docker images -q); do docker history $i | grep -q $1 && echo $i; done | sort -u