Difference between revisions of "OPS635 installation docker"

From CDOT Wiki
Jump to: navigation, search
(Installation instructions for docker)
 
m (Addign instructions for CentOS 9 Stream)
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
[[Category:OPS535]][[Category:OPS635]][[Category:peter.callaghan]][[Category:docker]]
 
[[Category:OPS535]][[Category:OPS635]][[Category:peter.callaghan]][[Category:docker]]
  
 +
 +
= Centos 9 =
 +
* Add the docker repo:
 +
** dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
 +
* Add the docker community edition package:
 +
** dnf install docker-ce
  
 
= Centos 8 =
 
= Centos 8 =
 
* Add the docker repo:
 
* Add the docker repo:
 
** yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
 
** yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
* Add the docker community edition package, adding the --nobest flag to avoid an error with a dependency:
+
* Add the docker community edition package:
** yum install --nobest docker-ce
+
** yum install docker-ce
* Update to get the newer version of that dependency:
+
* Update:
 
** yum update -y
 
** yum update -y
 +
 
= Centos 7 =
 
= Centos 7 =
 
* Add yum configuration manager:
 
* Add yum configuration manager:

Revision as of 14:55, 6 October 2022


Centos 9

Centos 8

Centos 7