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

html or htm parsed as shtml not working

To parse .html or .htm files as .shtml add the following to your .htaccess file in the...

Enable Mod Rewrite

Create an .htaccess file with the following contents and upload it to your public_html directory....

Convert PDF to HTML Service

To convert your PDF files to html try using the following converter tool from Adobe:...

How to use SharedSSL

SharedSSL is now available with our Ultra Unlimited. It is not as professional looking as having...

Meta Redirect

Adding this code to your web page will redirect your visitors to any address that you have...