scripts/docker-rm-all

4 lines
72 B
Plaintext
Raw Permalink Normal View History

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