This removes all exited containers.
docker ps -a | grep 'Exited' | awk '{print $1}' | xargs --no-run-if-empty docker rm
Use with care as it will also removed Data Volume Containers.
This removes all exited containers.
docker ps -a | grep 'Exited' | awk '{print $1}' | xargs --no-run-if-empty docker rm
Use with care as it will also removed Data Volume Containers.
For further actions, you may consider blocking this person and/or reporting abuse
RAHUL DHOLE -
Dzhuneyt -
Dhimas Kirana -
Aurélie Vache -
Top comments (0)