That will not remove a docker installed with snap.
Run snap list | grep docker to find the snap package name, and the sudo snap remove ... to uninstall it.
That will not remove a docker installed with snap.
Run snap list | grep docker to find the snap package name, and the sudo snap remove ... to uninstall it.