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




  • 0 Users Found This Useful

Was this answer helpful?

Related Articles

vBulletin fsockopen() [function.fsockopen]: unable to connect

When setting up mail in vBulletin be sure you are using localhost for the mail server along with...

Disable error_log via .htaccess

Prevent public display of PHP errors via htaccess# supress php errorsphp_flag...

https:// with Weebly

To enable and force https:// with your Weebly website, be sure to go into your editor area,...

What are these .htaccess files that keep popping up?

.htaccess files are default files the server uses to perform certain tasks. Features such as...

Howto: Add another website to your account

You can add another website to your hosting account if your hosting plan allows for more than one...