|
11 | 11 |
|
12 | 12 | toc::[]
|
13 | 13 |
|
14 |
| -ifdef::openshift-origin,openshift-online,openshift-enterprise,openshift-dedicated[] |
15 |
| - |
16 | 14 | [[containers]]
|
17 | 15 | == Containers
|
18 | 16 |
|
@@ -85,7 +83,7 @@ Rather than version numbers, the Docker service allows applying tags (such as
|
85 | 83 | further specify the image desired, so you may see the same image referred to as
|
86 | 84 | `centos` (implying the `latest` tag), `centos:centos7`, or `fd44297e2ddb`.
|
87 | 85 |
|
88 |
| -[[WARNING]] |
| 86 | +[WARNING] |
89 | 87 | ====
|
90 | 88 | Do not use the `latest` tag for any official {product-title} images. These are
|
91 | 89 | images that start with `openshift3/`. `latest` can refer to a number of
|
@@ -118,54 +116,7 @@ provides its own registry, the link:https://registry.hub.docker.com/[Docker Hub]
|
118 | 116 | registry at `registry.access.redhat.com` for subscribers. {product-title} can
|
119 | 117 | also supply its own internal registry for managing custom container images.
|
120 | 118 |
|
121 |
| -ifdef::openshift-origin,openshift-online,openshift-enterprise,openshift-dedicated[] |
122 | 119 | The relationship between containers, images, and registries is depicted in the
|
123 | 120 | following diagram:
|
124 | 121 |
|
125 |
| -[ditaa, "docker-diagram"] |
126 |
| ----- |
127 |
| -
|
128 |
| - +---------+ +--------------------------------------+ |
129 |
| - | Built | | Registry service | |
130 |
| - | image | docker push | | |
131 |
| - | "myapp" +-------------> | +-------------+ +--------+ | |
132 |
| - | | | | myapp:v0.1 | | image2 | ... | |
133 |
| - +---------+ | | +------------+ +--------+ | |
134 |
| - | | | myapp:v0.2 | | |
135 |
| - | +--| +-----------+ | |
136 |
| - | +--| ... | | |
137 |
| - | +-----------+ | |
138 |
| - | | |
139 |
| - +------------------+-------------------+ |
140 |
| - : |
141 |
| - | docker pull |
142 |
| - | |
143 |
| - +-----------------------+---------+------------------ ... |
144 |
| - | | |
145 |
| - | | |
146 |
| - v v |
147 |
| - +------------------------+ +------------------------+ |
148 |
| - | | | | |
149 |
| - | /-------------------\ | | /-------------------\ | |
150 |
| - | | Container 1 | | | | Container 1 | | |
151 |
| - | | +--------------+ | | | | +--------------+ | | |
152 |
| - | | | myapp:latest | | | | | | myapp:latest | | | |
153 |
| - | | +--------------+ | | | | +--------------+ | | |
154 |
| - | \-------------------/ | | \-------------------/ | |
155 |
| - | | | | |
156 |
| - | /-------------------\ | | /-------------------\ | |
157 |
| - | | Container 2 | | | | Container 2 | | |
158 |
| - | | +--------------+ | | | | +--------------+ | | |
159 |
| - | | | image2 | | | | | | image3 | | | |
160 |
| - | | +--------------+ | | | | +--------------+ | | |
161 |
| - | \-------------------/ | | \-------------------/ | |
162 |
| - | | | | |
163 |
| - | ... | | ... | |
164 |
| - | | | | |
165 |
| - | Host 1 | | Host 2 | ... |
166 |
| - +------------------------+ +------------------------+ |
167 |
| -
|
168 |
| -
|
169 |
| -
|
170 |
| ----- |
171 |
| -endif::[] |
| 122 | +image::docker-diagram.png[Docker Diagram] |
0 commit comments