Docker basic installation questions - yum install docker vs docker-engine

Hi,

Usually I just install yum install docker and proceed. I tried to configure docker storage and noticed a few things which I wanted to clarify.

With the default repo in my oracle linux, when I do a yum install docker, then the docker-storage-setup service isn’t present. Then I see that I could do a yum install docker-engine as well. but that too doesn’t bring docker storage setup.

  1. What is the basic difference between installing docker vs docker engine
  2. When I added this in /etc/yum.repos.d

[virt7-docker-common-release]
name=virt7-docker-common-release
baseurl=http://mirror.centos.org/centos/7/extras/$basearch/
gpgcheck=0

It installed docker-storage-setup, why is it so? IS it because the OEL7 repos might be old and doesnt install docker proper version? How do I check these things?

I’m still a beginner n Linux envs and learning currently. A link to some documentation would also suffice as I Wasnt able to find the answers o the above.

Thanks in Advance.

docker-storage-setup is only in the extras, which is why you got it installed when your yum repo was configured as shown

[virt7-docker-common-release]
name=virt7-docker-common-release
baseurl=http://mirror.centos.org/centos/7/extras/$basearch/
gpgcheck=0

You can check what version you have installed by running the command docker version, if you had things running.