3 lines
358 B
Bash
3 lines
358 B
Bash
#!/bin/bash │·
|
|
for i in $(docker ps -a | tail +2 | awk '{print $1}'); do docker rm $i; done │·
|
|
for i in $(docker images | tail +2 | awk '{print $3}'); do docker rmi $i; done |