I deleted docker with:
sudo snap remove docker --purge
Then, I install docker following the doc guide (this)
All looks fine, but when I do:
$ docker -v
-bash: /snap/bin/docker: No such file or directory
It's like it still look for it in snap.
I tried:
$ sudo snap refresh --list
But doesn't work. Any idea?
sudo docker run hello-world
and everything looks fine. But when you dodocker -v
, you get an error? – Delarosasudo docker run hello-world
works, butdocker -v
doesn't – Husbandryalias
set in the shell. Try experimenting with snapcraft.io/docs/commands-and-aliases ... probably something aboutsnap unalias
. – Delarosa