Page 1 of 1

can not install docker and can not remove previos version

Posted: 2019/05/17 14:34:08
by C─▒rsedChico
I tried to install according to this

https://docs.docker.com/install/linux/docker-ce/centos/

but i noticed it is wrong. it is for centos 7.

now i try to remove

Code: Select all

 yum remove docker docker-common docker-selinux docker-engine
Loaded plugins: fastestmirror
Setting up Remove Process
No Match for argument: docker
Loading mirror speeds from cached hostfile
 * base: denizli.centos-mirror.guzel.net.tr
 * epel: mirror.de.leaseweb.net
 * extras: kozyatagi.mirror.guzel.net.tr
 * rpmforge: mirrors.nav.ro
 * updates: kozyatagi.mirror.guzel.net.tr
Package(s) docker available, but not installed.
No Match for argument: docker-common
No Match for argument: docker-selinux
No Match for argument: docker-engine
No Packages marked for removal
it cant remove because:

Code: Select all

docker --version
Docker version 19.03.0-beta4, build e4666ebe81

How can iremove and install docker to centos6?

Re: can not install docker and can not remove previos version

Posted: 2019/05/17 17:52:28
by TrevorH
What about yum remove docker\* - don't forget to check the list of packages affected before you reply Y to remove them!

Re: can not install docker and can not remove previos version

Posted: 2019/05/18 05:12:58
by aks
Or:
yum erase docker-ce