scripts/docker-rm-images

4 lines
79 B
Bash
Executable File

#!/bin/bash
docker images | awk '{ if (NR>1) system("docker image rm " $3) }'