cara menghapus semua wadah Docker sekaligus

to remove all the docker containers at once.
$docker rm $(docker ps -a -q)

to remove all the docker images at once.
$docker rmi $(docker images -a -q)
Difficult Dunlin