If you install docker using the Ubuntu Software on the 22.04 version, when you try to uninstall docker, sometimes is not easy way to do it.
After a will I found how to do it.
This will display a list of ongoing operations with their respective IDs:
snap changes
Find the ID of the operation you want to stop.
Stop the operation using the snap abort command followed by the operation ID:
sudo snap abort 19
Stop the snapd service to ensure the changes are applied correctly. You can do it with the following commands:
sudo systemctl stop snapd
Uninstall Docker more forcefully using the following command:
sudo snap remove --purge docker
Start the snapd server:
sudo systemctl start snapd
Happy coding 😎!!!
Top comments (0)