can not install docker and can not remove previos version

Issues related to applications and software problems
Post Reply
CırsedChico
Posts: 1
Joined: 2019/05/17 14:29:49

can not install docker and can not remove previos version

Post by CırsedChico » 2019/05/17 14:34:08

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?

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

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

Post by TrevorH » 2019/05/17 17:52:28

What about yum remove docker\* - don't forget to check the list of packages affected before you reply Y to remove them!
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

aks
Posts: 3073
Joined: 2014/09/20 11:22:14

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

Post by aks » 2019/05/18 05:12:58

Or:
yum erase docker-ce

Post Reply