Updating an Old Docker Version to Community Edition

The following was used to upgrade an antiquated version of docker to the newest community edition on CentOS/RedHat linux:

 

/bin/cp -avf /etc/docker/ /etc/docker-bak/
yum install -y yum-utils
yum remove -y docker-1.* docker-common-2:1.*
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
yum install -y docker-ce docker-ce-cli containerd.io
usermod -a -G docker theserviceaccountusedfordocker
/bin/cp /etc/docker-bak/daemon.json  /etc/docker/
systemctl start docker; systemctl enable docker




  • 4 Users Found This Useful

Was this answer helpful?

Related Articles

Point my domain to my wix account

How can I point my domain name to my wix.com account?To set this up you will want to login to...

What is the location of curl?

Curl is located @ /usr/bin/curl

Can I change my username?

Usernames are setup in the manner for security. Most programs will allow you to save the...

Why can users behind proxies not see my site?

If you have enabled hot link protection users behind proxies may not be able to see your site...

I can not move out of the / directory, why not?

For security reasons, you cannot move out of the root folder of your own domain.