Browse code

Cleaned up long lines, switched graphic to Docker logo. General cleanup.

Andy Rothfusz authored on 2013/07/24 10:13:53
Showing 1 changed files
... ...
@@ -1,80 +1,129 @@
1 1
 Docker: the Linux container engine
2 2
 ==================================
3 3
 
4
-Docker is an open-source engine which automates the deployment of applications as highly portable, self-sufficient containers.
4
+Docker is an open-source engine which automates the deployment of
5
+applications as highly portable, self-sufficient containers.
5 6
 
6
-Docker containers are both *hardware-agnostic* and *platform-agnostic*. This means that they can run anywhere, from your
7
-laptop to the largest EC2 compute instance and everything in between - and they don't require that you use a particular
8
-language, framework or packaging system. That makes them great building blocks for deploying and scaling web apps, databases
9
-and backend services without depending on a particular stack or provider.
7
+Docker containers are both *hardware-agnostic* and
8
+*platform-agnostic*. This means that they can run anywhere, from your
9
+laptop to the largest EC2 compute instance and everything in between -
10
+and they don't require that you use a particular language, framework
11
+or packaging system. That makes them great building blocks for
12
+deploying and scaling web apps, databases and backend services without
13
+depending on a particular stack or provider.
10 14
 
11
-Docker is an open-source implementation of the deployment engine which powers [dotCloud](http://dotcloud.com), a popular Platform-as-a-Service.
12
-It benefits directly from the experience accumulated over several years of large-scale operation and support of hundreds of thousands
13
-of applications and databases.
15
+Docker is an open-source implementation of the deployment engine which
16
+powers [dotCloud](http://dotcloud.com), a popular
17
+Platform-as-a-Service.  It benefits directly from the experience
18
+accumulated over several years of large-scale operation and support of
19
+hundreds of thousands of applications and databases.
14 20
 
15
-![Docker L](docs/sources/concepts/images/lego_docker.jpg "Docker")
21
+![Docker L](docs/sources/concepts/images/dockerlogo-h.png "Docker")
16 22
 
17 23
 ## Better than VMs
18 24
 
19
-A common method for distributing applications and sandbox their execution is to use virtual machines, or VMs. Typical VM formats
20
-are VMWare's vmdk, Oracle Virtualbox's vdi, and Amazon EC2's ami. In theory these formats should allow every developer to
21
-automatically package their application into a "machine" for easy distribution and deployment. In practice, that almost never
22
-happens, for a few reasons:
23
-
24
-  * *Size*: VMs are very large which makes them impractical to store and transfer.
25
-  * *Performance*: running VMs consumes significant CPU and memory, which makes them impractical in many scenarios, for example local development of multi-tier applications, and
26
-    large-scale deployment of cpu and memory-intensive applications on large numbers of machines.
27
-  * *Portability*: competing VM environments don't play well with each other. Although conversion tools do exist, they are limited and add even more overhead.
28
-  * *Hardware-centric*: VMs were designed with machine operators in mind, not software developers. As a result, they offer very limited tooling for what developers need most:
29
-    building, testing and running their software. For example, VMs offer no facilities for application versioning, monitoring, configuration, logging or service discovery.
30
-
31
-By contrast, Docker relies on a different sandboxing method known as *containerization*. Unlike traditional virtualization,
32
-containerization takes place at the kernel level. Most modern operating system kernels now support the primitives necessary
33
-for containerization, including Linux with [openvz](http://openvz.org), [vserver](http://linux-vserver.org) and more recently [lxc](http://lxc.sourceforge.net),
34
-    Solaris with [zones](http://docs.oracle.com/cd/E26502_01/html/E29024/preface-1.html#scrolltoc) and FreeBSD with [Jails](http://www.freebsd.org/doc/handbook/jails.html).
35
-
36
-Docker builds on top of these low-level primitives to offer developers a portable format and runtime environment that solves
37
-all 4 problems. Docker containers are small (and their transfer can be optimized with layers), they have basically zero memory and cpu overhead,
38
-they are completely portable and are designed from the ground up with an application-centric design.
39
-
40
-The best part: because docker operates at the OS level, it can still be run inside a VM!
25
+A common method for distributing applications and sandbox their
26
+execution is to use virtual machines, or VMs. Typical VM formats are
27
+VMWare's vmdk, Oracle Virtualbox's vdi, and Amazon EC2's ami. In
28
+theory these formats should allow every developer to automatically
29
+package their application into a "machine" for easy distribution and
30
+deployment. In practice, that almost never happens, for a few reasons:
31
+
32
+  * *Size*: VMs are very large which makes them impractical to store
33
+     and transfer.
34
+  * *Performance*: running VMs consumes significant CPU and memory,
35
+    which makes them impractical in many scenarios, for example local
36
+    development of multi-tier applications, and large-scale deployment
37
+    of cpu and memory-intensive applications on large numbers of
38
+    machines.
39
+  * *Portability*: competing VM environments don't play well with each
40
+     other. Although conversion tools do exist, they are limited and
41
+     add even more overhead.
42
+  * *Hardware-centric*: VMs were designed with machine operators in
43
+    mind, not software developers. As a result, they offer very
44
+    limited tooling for what developers need most: building, testing
45
+    and running their software. For example, VMs offer no facilities
46
+    for application versioning, monitoring, configuration, logging or
47
+    service discovery.
48
+
49
+By contrast, Docker relies on a different sandboxing method known as
50
+*containerization*. Unlike traditional virtualization,
51
+containerization takes place at the kernel level. Most modern
52
+operating system kernels now support the primitives necessary for
53
+containerization, including Linux with [openvz](http://openvz.org),
54
+[vserver](http://linux-vserver.org) and more recently
55
+[lxc](http://lxc.sourceforge.net), Solaris with
56
+[zones](http://docs.oracle.com/cd/E26502_01/html/E29024/preface-1.html#scrolltoc)
57
+and FreeBSD with
58
+[Jails](http://www.freebsd.org/doc/handbook/jails.html).
59
+
60
+Docker builds on top of these low-level primitives to offer developers
61
+a portable format and runtime environment that solves all 4
62
+problems. Docker containers are small (and their transfer can be
63
+optimized with layers), they have basically zero memory and cpu
64
+overhead, they are completely portable and are designed from the
65
+ground up with an application-centric design.
66
+
67
+The best part: because ``docker`` operates at the OS level, it can
68
+still be run inside a VM!
41 69
 
42 70
 ## Plays well with others
43 71
 
44
-Docker does not require that you buy into a particular programming language, framework, packaging system or configuration language.
72
+Docker does not require that you buy into a particular programming
73
+language, framework, packaging system or configuration language.
45 74
 
46
-Is your application a unix process? Does it use files, tcp connections, environment variables, standard unix streams and command-line
47
-arguments as inputs and outputs? Then docker can run it.
75
+Is your application a Unix process? Does it use files, tcp
76
+connections, environment variables, standard Unix streams and
77
+command-line arguments as inputs and outputs? Then ``docker`` can run
78
+it.
48 79
 
49
-Can your application's build be expressed as a sequence of such commands? Then docker can build it.
80
+Can your application's build be expressed as a sequence of such
81
+commands? Then ``docker`` can build it.
50 82
 
51 83
 
52 84
 ## Escape dependency hell
53 85
 
54
-A common problem for developers is the difficulty of managing all their application's dependencies in a simple and automated way.
86
+A common problem for developers is the difficulty of managing all
87
+their application's dependencies in a simple and automated way.
55 88
 
56 89
 This is usually difficult for several reasons:
57 90
 
58
-  * *Cross-platform dependencies*. Modern applications often depend on a combination of system libraries and binaries, language-specific packages, framework-specific modules,
59
-    internal components developed for another project, etc. These dependencies live in different "worlds" and require different tools - these tools typically don't work
60
-    well with each other, requiring awkward custom integrations.
61
-
62
-  * Conflicting dependencies. Different applications may depend on different versions of the same dependency. Packaging tools handle these situations with various degrees of ease -
63
-    but they all handle them in different and incompatible ways, which again forces the developer to do extra work.
91
+  * *Cross-platform dependencies*. Modern applications often depend on
92
+    a combination of system libraries and binaries, language-specific
93
+    packages, framework-specific modules, internal components
94
+    developed for another project, etc. These dependencies live in
95
+    different "worlds" and require different tools - these tools
96
+    typically don't work well with each other, requiring awkward
97
+    custom integrations.
98
+
99
+  * Conflicting dependencies. Different applications may depend on
100
+    different versions of the same dependency. Packaging tools handle
101
+    these situations with various degrees of ease - but they all
102
+    handle them in different and incompatible ways, which again forces
103
+    the developer to do extra work.
64 104
   
65
-  * Custom dependencies. A developer may need to prepare a custom version of their application's dependency. Some packaging systems can handle custom versions of a dependency,
66
-    others can't - and all of them handle it differently.
105
+  * Custom dependencies. A developer may need to prepare a custom
106
+    version of their application's dependency. Some packaging systems
107
+    can handle custom versions of a dependency, others can't - and all
108
+    of them handle it differently.
67 109
 
68 110
 
69
-Docker solves dependency hell by giving the developer a simple way to express *all* their application's dependencies in one place,
70
-and streamline the process of assembling them. If this makes you think of [XKCD 927](http://xkcd.com/927/), don't worry. Docker doesn't
71
-*replace* your favorite packaging systems. It simply orchestrates their use in a simple and repeatable way. How does it do that? With layers.
111
+Docker solves dependency hell by giving the developer a simple way to
112
+express *all* their application's dependencies in one place, and
113
+streamline the process of assembling them. If this makes you think of
114
+[XKCD 927](http://xkcd.com/927/), don't worry. Docker doesn't
115
+*replace* your favorite packaging systems. It simply orchestrates
116
+their use in a simple and repeatable way. How does it do that? With
117
+layers.
72 118
 
73
-Docker defines a build as running a sequence of unix commands, one after the other, in the same container. Build commands modify the contents of the container
74
-(usually by installing new files on the filesystem), the next command modifies it some more, etc. Since each build command inherits the result of the previous
75
-commands, the *order* in which the commands are executed expresses *dependencies*.
119
+Docker defines a build as running a sequence of Unix commands, one
120
+after the other, in the same container. Build commands modify the
121
+contents of the container (usually by installing new files on the
122
+filesystem), the next command modifies it some more, etc. Since each
123
+build command inherits the result of the previous commands, the
124
+*order* in which the commands are executed expresses *dependencies*.
76 125
 
77
-Here's a typical docker build process:
126
+Here's a typical Docker build process:
78 127
 
79 128
 ```bash
80 129
 from ubuntu:12.10
... ...
@@ -87,7 +136,8 @@ run curl -L https://github.com/shykes/helloflask/archive/master.tar.gz | tar -xz
87 87
 run cd helloflask-master && pip install -r requirements.txt
88 88
 ```
89 89
 
90
-Note that Docker doesn't care *how* dependencies are built - as long as they can be built by running a unix command in a container.
90
+Note that Docker doesn't care *how* dependencies are built - as long
91
+as they can be built by running a Unix command in a container.
91 92
 
92 93
 
93 94
 Install instructions
... ...
@@ -103,8 +153,9 @@ curl get.docker.io | sudo sh -x
103 103
 Binary installs
104 104
 ----------------
105 105
 
106
-Docker supports the following binary installation methods.
107
-Note that some methods are community contributions and not yet officially supported.
106
+Docker supports the following binary installation methods.  Note that
107
+some methods are community contributions and not yet officially
108
+supported.
108 109
 
109 110
 * [Ubuntu 12.04 and 12.10 (officially supported)](http://docs.docker.io/en/latest/installation/ubuntulinux/)
110 111
 * [Arch Linux](http://docs.docker.io/en/latest/installation/archlinux/)
... ...
@@ -115,15 +166,15 @@ Note that some methods are community contributions and not yet officially suppor
115 115
 Installing from source
116 116
 ----------------------
117 117
 
118
-1. Make sure you have a [Go language](http://golang.org/doc/install) compiler and [git](http://git-scm.com) installed.
119
-
118
+1. Make sure you have a [Go language](http://golang.org/doc/install)
119
+compiler and [git](http://git-scm.com) installed.
120 120
 2. Checkout the source code
121 121
 
122 122
    ```bash
123 123
    git clone http://github.com/dotcloud/docker
124 124
    ```
125 125
 
126
-3. Build the docker binary
126
+3. Build the ``docker`` binary
127 127
 
128 128
    ```bash
129 129
    cd docker
... ...
@@ -134,17 +185,20 @@ Installing from source
134 134
 Usage examples
135 135
 ==============
136 136
 
137
-First run the docker daemon
137
+First run the ``docker`` daemon
138
+-------------------------------
138 139
 
139
-All the examples assume your machine is running the docker daemon. To run the docker daemon in the background, simply type:
140
+All the examples assume your machine is running the ``docker``
141
+daemon. To run the ``docker`` daemon in the background, simply type:
140 142
 
141 143
 ```bash
142 144
 # On a production system you want this running in an init script
143 145
 sudo docker -d &
144 146
 ```
145 147
 
146
-Now you can run docker in client mode: all commands will be forwarded to the docker daemon, so the client can run from any account.
148
+Now you can run ``docker`` in client mode: all commands will be
149
+forwarded to the ``docker`` daemon, so the client can run from any
150
+account.
147 151
 
148 152
 ```bash
149 153
 # Now you can run docker commands from any account.
... ...
@@ -152,7 +206,7 @@ docker help
152 152
 ```
153 153
 
154 154
 
155
-Throwaway shell in a base ubuntu image
155
+Throwaway shell in a base Ubuntu image
156 156
 --------------------------------------
157 157
 
158 158
 ```bash
... ...
@@ -202,7 +256,8 @@ docker commit -m "Installed curl" $CONTAINER $USER/betterbase
202 202
 docker push $USER/betterbase
203 203
 ```
204 204
 
205
-A list of publicly available images is [available here](https://github.com/dotcloud/docker/wiki/Public-docker-images).
205
+A list of publicly available images is [available
206
+here](https://github.com/dotcloud/docker/wiki/Public-docker-images).
206 207
 
207 208
 Expose a service on a TCP port
208 209
 ------------------------------
... ...
@@ -229,32 +284,40 @@ Under the hood
229 229
 
230 230
 Under the hood, Docker is built on the following components:
231 231
 
232
-
233
-* The [cgroup](http://blog.dotcloud.com/kernel-secrets-from-the-paas-garage-part-24-c) and [namespacing](http://blog.dotcloud.com/under-the-hood-linux-kernels-on-dotcloud-part) capabilities of the Linux kernel;
234
-
235
-* [AUFS](http://aufs.sourceforge.net/aufs.html), a powerful union filesystem with copy-on-write capabilities;
236
-
232
+* The
233
+  [cgroup](http://blog.dotcloud.com/kernel-secrets-from-the-paas-garage-part-24-c)
234
+  and
235
+  [namespacing](http://blog.dotcloud.com/under-the-hood-linux-kernels-on-dotcloud-part)
236
+  capabilities of the Linux kernel;
237
+* [AUFS](http://aufs.sourceforge.net/aufs.html), a powerful union
238
+  filesystem with copy-on-write capabilities;
237 239
 * The [Go](http://golang.org) programming language;
238
-
239
-* [lxc](http://lxc.sourceforge.net/), a set of convenience scripts to simplify the creation of linux containers.
240
+* [lxc](http://lxc.sourceforge.net/), a set of convenience scripts to
241
+  simplify the creation of Linux containers.
240 242
 
241 243
 
242 244
 
243 245
 Contributing to Docker
244 246
 ======================
245 247
 
246
-Want to hack on Docker? Awesome! There are instructions to get you started on the website: http://docs.docker.io/en/latest/contributing/contributing/
248
+Want to hack on Docker? Awesome! There are instructions to get you
249
+started on the website:
250
+http://docs.docker.io/en/latest/contributing/contributing/
247 251
 
248
-They are probably not perfect, please let us know if anything feels wrong or incomplete.
252
+They are probably not perfect, please let us know if anything feels
253
+wrong or incomplete.
249 254
 
250 255
 
251 256
 Note
252 257
 ----
253 258
 
254
-We also keep the documentation in this repository. The website documentation is generated using sphinx using these sources.
255
-Please find it under docs/sources/ and read more about it https://github.com/dotcloud/docker/tree/master/docs/README.md
259
+We also keep the documentation in this repository. The website
260
+documentation is generated using Sphinx using these sources.  Please
261
+find it under docs/sources/ and read more about it
262
+https://github.com/dotcloud/docker/tree/master/docs/README.md
256 263
 
257
-Please feel free to fix / update the documentation and send us pull requests. More tutorials are also welcome.
264
+Please feel free to fix / update the documentation and send us pull
265
+requests. More tutorials are also welcome.
258 266
 
259 267
 
260 268
 Setting up a dev environment
... ...
@@ -289,42 +352,96 @@ Run the `go install` command (above) to recompile docker.
289 289
 What is a Standard Container?
290 290
 =============================
291 291
 
292
-Docker defines a unit of software delivery called a Standard Container. The goal of a Standard Container is to encapsulate a software component and all its dependencies in
293
-a format that is self-describing and portable, so that any compliant runtime can run it without extra dependencies, regardless of the underlying machine and the contents of the container.
292
+Docker defines a unit of software delivery called a Standard
293
+Container. The goal of a Standard Container is to encapsulate a
294
+software component and all its dependencies in a format that is
295
+self-describing and portable, so that any compliant runtime can run it
296
+without extra dependencies, regardless of the underlying machine and
297
+the contents of the container.
294 298
 
295
-The spec for Standard Containers is currently a work in progress, but it is very straightforward. It mostly defines 1) an image format, 2) a set of standard operations, and 3) an execution environment.
299
+The spec for Standard Containers is currently a work in progress, but
300
+it is very straightforward. It mostly defines 1) an image format, 2) a
301
+set of standard operations, and 3) an execution environment.
296 302
 
297
-A great analogy for this is the shipping container. Just like how Standard Containers are a fundamental unit of software delivery, shipping containers (http://bricks.argz.com/ins/7823-1/12) are a fundamental unit of physical delivery.
303
+A great analogy for this is the shipping container. Just like how
304
+Standard Containers are a fundamental unit of software delivery,
305
+shipping containers are a fundamental unit of physical delivery.
298 306
 
299 307
 ### 1. STANDARD OPERATIONS
300 308
 
301
-Just like shipping containers, Standard Containers define a set of STANDARD OPERATIONS. Shipping containers can be lifted, stacked, locked, loaded, unloaded and labelled. Similarly, standard containers can be started, stopped, copied, snapshotted, downloaded, uploaded and tagged.
309
+Just like shipping containers, Standard Containers define a set of
310
+STANDARD OPERATIONS. Shipping containers can be lifted, stacked,
311
+locked, loaded, unloaded and labelled. Similarly, Standard Containers
312
+can be started, stopped, copied, snapshotted, downloaded, uploaded and
313
+tagged.
302 314
 
303 315
 
304 316
 ### 2. CONTENT-AGNOSTIC
305 317
 
306
-Just like shipping containers, Standard Containers are CONTENT-AGNOSTIC: all standard operations have the same effect regardless of the contents. A shipping container will be stacked in exactly the same way whether it contains Vietnamese powder coffee or spare Maserati parts. Similarly, Standard Containers are started or uploaded in the same way whether they contain a postgres database, a php application with its dependencies and application server, or Java build artifacts.
318
+Just like shipping containers, Standard Containers are
319
+CONTENT-AGNOSTIC: all standard operations have the same effect
320
+regardless of the contents. A shipping container will be stacked in
321
+exactly the same way whether it contains Vietnamese powder coffee or
322
+spare Maserati parts. Similarly, Standard Containers are started or
323
+uploaded in the same way whether they contain a postgres database, a
324
+php application with its dependencies and application server, or Java
325
+build artifacts.
307 326
 
308 327
 
309 328
 ### 3. INFRASTRUCTURE-AGNOSTIC
310 329
 
311
-Both types of containers are INFRASTRUCTURE-AGNOSTIC: they can be transported to thousands of facilities around the world, and manipulated by a wide variety of equipment. A shipping container can be packed in a factory in Ukraine, transported by truck to the nearest routing center, stacked onto a train, loaded into a German boat by an Australian-built crane, stored in a warehouse at a US facility, etc. Similarly, a standard container can be bundled on my laptop, uploaded to S3, downloaded, run and snapshotted by a build server at Equinix in Virginia, uploaded to 10 staging servers in a home-made Openstack cluster, then sent to 30 production instances across 3 EC2 regions.
330
+Both types of containers are INFRASTRUCTURE-AGNOSTIC: they can be
331
+transported to thousands of facilities around the world, and
332
+manipulated by a wide variety of equipment. A shipping container can
333
+be packed in a factory in Ukraine, transported by truck to the nearest
334
+routing center, stacked onto a train, loaded into a German boat by an
335
+Australian-built crane, stored in a warehouse at a US facility,
336
+etc. Similarly, a standard container can be bundled on my laptop,
337
+uploaded to S3, downloaded, run and snapshotted by a build server at
338
+Equinix in Virginia, uploaded to 10 staging servers in a home-made
339
+Openstack cluster, then sent to 30 production instances across 3 EC2
340
+regions.
312 341
 
313 342
 
314 343
 ### 4. DESIGNED FOR AUTOMATION
315 344
 
316
-Because they offer the same standard operations regardless of content and infrastructure, Standard Containers, just like their physical counterpart, are extremely well-suited for automation. In fact, you could say automation is their secret weapon.
317
-
318
-Many things that once required time-consuming and error-prone human effort can now be programmed. Before shipping containers, a bag of powder coffee was hauled, dragged, dropped, rolled and stacked by 10 different people in 10 different locations by the time it reached its destination. 1 out of 50 disappeared. 1 out of 20 was damaged. The process was slow, inefficient and cost a fortune - and was entirely different depending on the facility and the type of goods.
319
-
320
-Similarly, before Standard Containers, by the time a software component ran in production, it had been individually built, configured, bundled, documented, patched, vendored, templated, tweaked and instrumented by 10 different people on 10 different computers. Builds failed, libraries conflicted, mirrors crashed, post-it notes were lost, logs were misplaced, cluster updates were half-broken. The process was slow, inefficient and cost a fortune - and was entirely different depending on the language and infrastructure provider.
345
+Because they offer the same standard operations regardless of content
346
+and infrastructure, Standard Containers, just like their physical
347
+counterparts, are extremely well-suited for automation. In fact, you
348
+could say automation is their secret weapon.
349
+
350
+Many things that once required time-consuming and error-prone human
351
+effort can now be programmed. Before shipping containers, a bag of
352
+powder coffee was hauled, dragged, dropped, rolled and stacked by 10
353
+different people in 10 different locations by the time it reached its
354
+destination. 1 out of 50 disappeared. 1 out of 20 was damaged. The
355
+process was slow, inefficient and cost a fortune - and was entirely
356
+different depending on the facility and the type of goods.
357
+
358
+Similarly, before Standard Containers, by the time a software
359
+component ran in production, it had been individually built,
360
+configured, bundled, documented, patched, vendored, templated, tweaked
361
+and instrumented by 10 different people on 10 different
362
+computers. Builds failed, libraries conflicted, mirrors crashed,
363
+post-it notes were lost, logs were misplaced, cluster updates were
364
+half-broken. The process was slow, inefficient and cost a fortune -
365
+and was entirely different depending on the language and
366
+infrastructure provider.
321 367
 
322 368
 
323 369
 ### 5. INDUSTRIAL-GRADE DELIVERY
324 370
 
325
-There are 17 million shipping containers in existence, packed with every physical good imaginable. Every single one of them can be loaded onto the same boats, by the same cranes, in the same facilities, and sent anywhere in the World with incredible efficiency. It is embarrassing to think that a 30 ton shipment of coffee can safely travel half-way across the World in *less time* than it takes a software team to deliver its code from one datacenter to another sitting 10 miles away.
371
+There are 17 million shipping containers in existence, packed with
372
+every physical good imaginable. Every single one of them can be loaded
373
+onto the same boats, by the same cranes, in the same facilities, and
374
+sent anywhere in the World with incredible efficiency. It is
375
+embarrassing to think that a 30 ton shipment of coffee can safely
376
+travel half-way across the World in *less time* than it takes a
377
+software team to deliver its code from one datacenter to another
378
+sitting 10 miles away.
326 379
 
327
-With Standard Containers we can put an end to that embarrassment, by making INDUSTRIAL-GRADE DELIVERY of software a reality.
380
+With Standard Containers we can put an end to that embarrassment, by
381
+making INDUSTRIAL-GRADE DELIVERY of software a reality.
328 382
 
329 383
 
330 384
 
... ...
@@ -374,8 +491,10 @@ Standard Container Specification
374 374
 
375 375
 ### Legal
376 376
 
377
-Transfers of Docker shall be in accordance with applicable export controls of any country and all other applicable
378
-legal requirements.  Docker shall not be distributed or downloaded to or in Cuba, Iran, North Korea, Sudan or Syria
379
-and shall not be distributed or downloaded to any person on the Denied Persons List administered by the U.S.
377
+Transfers of Docker shall be in accordance with applicable export
378
+controls of any country and all other applicable legal requirements.
379
+Docker shall not be distributed or downloaded to or in Cuba, Iran,
380
+North Korea, Sudan or Syria and shall not be distributed or downloaded
381
+to any person on the Denied Persons List administered by the U.S.
380 382
 Department of Commerce.
381 383