Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
elearning:workbooks:docker3:en:dre01 [2023/12/18 14:47] adminelearning:workbooks:docker3:en:dre01 [2024/12/17 13:46] (Version actuelle) admin
Ligne 1: Ligne 1:
 ~~PDF:LANDSCAPE~~ ~~PDF:LANDSCAPE~~
  
-Version : **2023.01**+Version : **2024.01**
  
 Last update : ~~LASTMOD~~ Last update : ~~LASTMOD~~
Ligne 111: Ligne 111:
   * Jenkins.   * Jenkins.
  
-You can also create your own plugin.+You can also create your own plugins.
  
 ====Docker CE and Docker EE==== ====Docker CE and Docker EE====
Ligne 154: Ligne 154:
   * **Basic** - (official Docker support (J) and certified containers and plugins),   * **Basic** - (official Docker support (J) and certified containers and plugins),
     * $1,500 per node per year (2022),     * $1,500 per node per year (2022),
-  * Standard** - (Basic + advanced image and container management, support for user authentication via LDAP/AD, RBAC),+  * **Standard** - (Basic + advanced image and container management, support for user authentication via LDAP/AD, RBAC),
     * $3,000 per node per year (2022),     * $3,000 per node per year (2022),
-  * Advanced** - (Standard + security scanning and continuous vulnerability monitoring),+  * **Advanced** - (Standard + security scanning and continuous vulnerability monitoring),
     * $3,500 per node per year (2022).     * $3,500 per node per year (2022).
  
Ligne 193: Ligne 193:
 Please note that since the names of Docker packages have changed, you should uninstall any previous version of Docker before installing the current version: Please note that since the names of Docker packages have changed, you should uninstall any previous version of Docker before installing the current version:
  
-For example under Debian and Ubuntu:+**For example** under Debian and Ubuntu:
  
 <code> <code>
Ligne 271: Ligne 271:
  
 <WRAP center round important 50%> <WRAP center round important 50%>
-**Important** - Note that the **lsb_release -cs** command returns the name of the Debian distribution, which in this case is **stretch**.+**Important** - Note that the **lsb_release -cs** command returns the name of the Debian version.
 </WRAP> </WRAP>
  
Ligne 544: Ligne 544:
  
 Complete! Complete!
 +</code>
  
 +<code>
 [root@centos8 ~]# yum install docker-ce docker-ce-cli containerd.io --allowerasing [root@centos8 ~]# yum install docker-ce docker-ce-cli containerd.io --allowerasing
 Last metadata expiration check: 0:05:43 ago on Fri 18 Aug 2023 16:04:20 CEST. Last metadata expiration check: 0:05:43 ago on Fri 18 Aug 2023 16:04:20 CEST.
Ligne 1185: Ligne 1187:
 </WRAP> </WRAP>
  
-====1.5 - Deleting a Container from an Image====+====1.5 - Deleting a Container====
  
-To remove a container from an image, the **docker rm** command should be used, referencing the container either by its **NAME** or by its CONTAINER ID :+To remove a container, the **docker rm** command should be used, referencing the container either by its **NAME** or by its CONTAINER ID :
  
 <code> <code>
Ligne 1214: Ligne 1216:
 ====1.6 -Creating an Image from a Modified Container=== ====1.6 -Creating an Image from a Modified Container===
  
-Modifying an image container:+Modify the ubuntu container:
  
 <code> <code>
Ligne 1628: Ligne 1630:
 ====1.10 - Injecting Environment Variables into a Container==== ====1.10 - Injecting Environment Variables into a Container====
  
-To inject one or more environment variables into a container, use a pre-established file:+To inject one or more environment variables into a container, use a file:
  
 <code> <code>
Ligne 1662: Ligne 1664:
 </code> </code>
  
-=====1.12 - Mapping Ports of a Container=====+====1.12 - Mapping Ports of a Container====
  
 Start a nginx container on port localhost 81 : Start a nginx container on port localhost 81 :
Ligne 1685: Ligne 1687:
 </code> </code>
  
-Note that using ^C interrupted the container process:+Note that using ^C killed the container process:
  
 <code> <code>
Ligne 1787: Ligne 1789:
 </code> </code>
  
-====.16 - Using Signals with a Container====+====1.16 - Using Signals with a Container====
  
 Use a signal to kill the nginx container process: Use a signal to kill the nginx container process:
Ligne 1824: Ligne 1826:
 </code> </code>
  
-====.17 - Force Delete a Running Container====+====1.17 - Force Delete a Running Container====
  
 Delete a running container: Delete a running container:
Ligne 1852: Ligne 1854:
  
 <code> <code>
 +root@debian11:~# mkdir www
 +
 root@debian11:~# vi index.html root@debian11:~# vi index.html
  
Ligne 1879: Ligne 1883:
  
 <WRAP center round important 50%> <WRAP center round important 50%>
-**Important** - Note here the use of **ro** - read-only.+**Important** - Note here the use of **ro** option - read-only.
 </WRAP> </WRAP>
  
Ligne 2194: Ligne 2198:
 </code> </code>
  
-Start the container again to check that mongod is working:+Create another container to check that mongod is working:
  
 <code> <code>
Ligne 2391: Ligne 2395:
  
 ----- -----
-Copyright © 2023 Hugh Norris.+Copyright © 2024 Hugh Norris.
  
Menu