I am using Mint 19.2, based on Ubuntu 18.
I uninstalled using
apt purge & then deleting the folder. Finally, reinstalled Docker using the commands from the official site.
However when I run the command
docker -v or
sudo docker -v, I get the response:
command not found: docker
When I run the command:
sudo apt-get install docker-ce docker-ce-cli containerd.io,
Reading package lists... Done Building dependency tree Reading state information... Done containerd.io is already the newest version (1.2.10-3). docker-ce-cli is already the newest version (5:19.03.4~3-0~ubuntu-bionic). docker-ce is already the newest version (5:19.03.4~3-0~ubuntu-bionic). 0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
How can I rectify this & make docker accessible globally?