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

Some visitors in China and Russia cannot reach my website

Some networks known for abusive activity such as hacking in countries such as China, North Korea...

Default Nameservers

If you have signed up for an Ultra 1x, Ultra Unlimited, or Ultra Unlimited Pro plan the following...

How can I change the index listing in a directory?

You can change the initial page that is sent to client requests when a directory is accessed by...

osCommerce password reset

How to reset your osCommerce admin login... You can reset your osCommerce administrative login...

What is the location of curl?

Curl is located @ /usr/bin/curl