@@ -153,16 +153,37 @@ Because containerization is a kind of even-more-virtual virtualization.
153
153
Conceptually, "regular" virtualization works at the hardware level,
154
154
it gives you multiple virtual machines (VMs)
155
155
that pretend to be physical computers, on a single real machine.
156
- So you can run multiple operating systems inside separate VMs
156
+ So you can run multiple operating systems using separate VMs
157
157
on the same physical box.
158
-
159
- Containers work at the operating system level.
160
- It gives you multiple virtual operating systems that
158
+ // CSANAD: to me, the wording sounded like it meant the multiple OS-s
159
+ // ran inside (each) VM. Maybe "using separate VMs" is a little
160
+ // more clear.
161
+
162
+ Containers work at the operating system level: packing the source code and its
163
+ dependencies together, often with the entire environment required to run the
164
+ application, while using the host system's kernel. This is what we call
165
+ containers.
166
+ // CSANAD: I felt like some explanation like this on the term "container"
167
+ // was missing. Probably a simple hand-drawn image visualizing the
168
+ // differences between virtualization and containerization could be also
169
+ // helpful.
170
+
171
+ They can give you multiple virtual operating systems that
161
172
all run on a single real OS.
162
- So you can run multiple programs inside separate virtual operating systems ,
173
+ So you can run programs inside separate virtual environments ,
163
174
using a single real host operating system and kernel.
164
-
165
- The upshot of this is that containers are much "cheaper".
175
+ // CSANAD: rephrased it a little, since containers aren't necessarily
176
+ // separate operating systems. Sometimes they are just a few
177
+ // processes running in isolation. This, in my opinion aligns better
178
+ // with the way Docker worded it.
179
+ For further clarification, have a look at
180
+ https://www.docker.com/resources/what-container/[Docker's Resources on
181
+ containers]
182
+
183
+ The upshot of this is that containers are much "cheaper" in terms of
184
+ system resources.
185
+ // CSANAD: probably nobody would believe you were talking about
186
+ // money, but I think it's more specific this way.
166
187
You can start one up in milliseconds,
167
188
and you can run hundreds on the same machine.
168
189
@@ -191,14 +212,22 @@ and most of the rest of the deployment process is taken care of by someone else.
191
212
192
213
How will containerizing our software help with the danger areas?
193
214
194
- * Containers are like a little virtual server,
215
+ * Containers can be like little virtual servers and this is how
216
+ we will use them,
195
217
so they will force us to address many of the problems
196
218
like dependency management and configuration.
197
219
198
220
* We can use the containers to package up as much
199
221
of the functionality of our application as possible,
200
222
which in turn will minimise the amount of configuration
201
223
we need to do to our actual servers.
224
+ // CSANAD: I'm not sure about this point. Can you be a bit more
225
+ // specific or maybe give a few examples?
226
+ // I feel like the first point is about having the dependencies along
227
+ // with the source code and setting open ports, users set up for running
228
+ // the program, DB-related settings, etc. This one is a little vague,
229
+ // I'm not sure what functionalities would save additional configuration
230
+ // of the servers.
202
231
203
232
* We can test our containers work by running our functional tests
204
233
against them.
0 commit comments