Reading Time: < 1 minute
To uninstall Docker in Ubuntu, you need to use the following command:
dpkg -l grep -i docker
A list of installed Docker packages will be displayed:
Next, you need to uninstall each package separately. Run the following command:
sudo apt-get purge -y docker-compose-plugin
Finally, execute this command:
sudo apt autoremove