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 Bu dökümanı faydalı bulan kullanıcılar:

Bu cevap yeterince yardımcı oldu mu?

İlgili diğer dökümanlar

I can not get the transfer authorization email can it be forwarded to a different email address?

The authorization has to be authorized by the registered contact for the domain. We cannot change...

403 Error on POST

This can occur for several reasons: Be sure your file permissions are correct. If the file needs...

I updated my site but I still see old pages

Make sure your files are indeed updated by checking the file time stamps. Also, you may want to...

Enable AllowOverride

If you have an application that requires allowoverride enabled, create an .htaccess file and...

Error 401 Unauthorized

This can occur when a web page requires authorization or a login to view the contents. If none...