xxxxxxxxxx
# Stop all running Docker containers:
docker stop $(docker ps -aq)
# Remove all Docker containers:
docker rm $(docker ps -aq)
# Remove all Docker images:
docker rmi $(docker images -q)
# Uninstall Docker:
brew uninstall docker
xxxxxxxxxx
https://stackoverflow.com/questions/37465526/how-to-uninstall-docker-completely-from-a-mac