scripts/docker-rm-images

4 lines
79 B
Plaintext
Raw Normal View History

2023-06-03 12:15:49 +00:00
#!/bin/bash
docker images | awk '{ if (NR>1) system("docker image rm " $3) }'