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

How do I parse html files as shtml?

Create an .htaccess file in the directory needed and add the following: AddHandler...

I need a module installed but I do not have rights

No problem. Send us a trouble ticket and we will install the module as long as there are no...

What is a domain?

A domain is a human-readable name assigned to an IP address to make accessing websites much...

Adding a Facebook Button

Facebook has a wonderful page on adding a Facebook image to your website complete with...

My index page does not load - Why not?

Filenames are case sensitive. Be sure you have an index filename all in lower case. Examples are...