by XDK
28. August 2019 22:11
Explanation:
To uninstall docker
sudo apt-get purge docker-ce
sudo rm -rf /var/lib/docker
Note: The output of the below command will provide you with information the installed package software, version, architecture and short description about the package. grep command is used to find the docker package
sudo dpkg --get-selections | grep docker | cut -f 1
sudo apt-get remove --purge <package name from the previous command output>
sudo whereis docker
sudo rm -rf <directory/file path from the previous command output>