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
,
I get:
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?
sudo docker -v
return anything?sudo docker run hello-world
does not work either? If you note on that page it says that untested and unsupported ports of docker are not expected to work. If you follow this advice for installing docker on Mint you need to add the Ubuntu repos for this to work. Have you done that?