2. Images, containers, volumes, or customized configuration files on your host are not automatically removed. To delete all images, containers, and volumes:
To uninstall the Docker package and dependencies that are no longer needed:
sudo pacman -Rns docker
The above commands will not remove images, containers, volumes, or user-created configuration files on your host. If you wish to delete all images, containers, and volumes run the following command:
rm -rf /var/lib/docker
Documentation is available .
1. Uninstall the Docker Engine, CLI, and ContainerD packages:
2. Images, containers, volumes, or customized configuration files on your host are not automatically removed. To delete all images, containers, and volumes:
2. Images, containers, volumes, or customized configuration files on your host are not automatically removed. To delete all images, containers, and volumes: