Difference between revisions of "OPS635 installation docker"

From CDOT Wiki
Jump to: navigation, search
(Installation instructions for docker)
 
m (Protected "OPS635 installation docker": OER transfer ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(2 intermediate revisions by one other 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:

Latest revision as of 19:41, 12 June 2023


Centos 9

Centos 8

Centos 7