Browse code

project: setting a new scope starting the Moby Project

Signed-off-by: Solomon Hykes <solomon@docker.com>

Solomon Hykes authored on 2017/04/18 23:37:26
Showing 1 changed files
... ...
@@ -1,273 +1,78 @@
1
-**Docker is transitioning to the Moby Project. [Click here for more information](https://github.com/moby/moby/pull/32691)**
1
+### Docker maintainers and contributors, see [Transitioning to Moby](#transitioning-to-moby) for more details
2 2
 
3
-Docker: the container engine [![Release](https://img.shields.io/github/release/docker/docker.svg)](https://github.com/docker/docker/releases/latest)
4
-============================
3
+The Moby Project
4
+================
5 5
 
6
-Docker is an open source project to pack, ship and run any application
7
-as a lightweight container.
6
+![Moby Project logo](docs/static_files/moby-project-logo.png "The Moby Project")
8 7
 
9
-Docker containers are both *hardware-agnostic* and *platform-agnostic*.
10
-This means they can run anywhere, from your laptop to the largest
11
-cloud compute instance and everything in between - and they don't require
12
-you to use a particular language, framework or packaging system. That
13
-makes them great building blocks for deploying and scaling web apps,
14
-databases, and backend services without depending on a particular stack
15
-or provider.
8
+Moby is an open-source project created by Docker to advance the software containerization movement.
9
+It provides a “Lego set” of dozens of components, the framework for assembling them into custom container-based systems, and a place for all container enthusiasts to experiment and exchange ideas.
16 10
 
17
-Docker began as an open-source implementation of the deployment engine which
18
-powered [dotCloud](http://web.archive.org/web/20130530031104/https://www.dotcloud.com/),
19
-a popular Platform-as-a-Service. It benefits directly from the experience
20
-accumulated over several years of large-scale operation and support of hundreds
21
-of thousands of applications and databases.
11
+# Moby
22 12
 
23
-![Docker logo](docs/static_files/docker-logo-compressed.png "Docker")
13
+## Overview
24 14
 
25
-## Security Disclosure
15
+At the core of Moby is a framework to assemble specialized container systems.
16
+It provides:
26 17
 
27
-Security is very important to us. If you have any issue regarding security,
28
-please disclose the information responsibly by sending an email to
29
-security@docker.com and not by creating a GitHub issue.
18
+- A library of containerized components for all vital aspects of a container system: OS, container runtime, orchestration, infrastructure management, networking, storage, security, build, image distribution, etc.
19
+- Tools to assemble the components into runnable artifacts for a variety of platforms and architectures: bare metal (both x86 and Arm); executables for Linux, Mac and Windows; VM images for popular cloud and virtualization providers.
20
+- A set of reference assemblies which can be used as-is, modified, or used as inspiration to create your own.
30 21
 
31
-## Better than VMs
22
+All Moby components are containers, so creating new components is as easy as building a new OCI-compatible container.
32 23
 
33
-A common method for distributing applications and sandboxing their
34
-execution is to use virtual machines, or VMs. Typical VM formats are
35
-VMware's vmdk, Oracle VirtualBox's vdi, and Amazon EC2's ami. In theory
36
-these formats should allow every developer to automatically package
37
-their application into a "machine" for easy distribution and deployment.
38
-In practice, that almost never happens, for a few reasons:
24
+## Principles
39 25
 
40
-  * *Size*: VMs are very large which makes them impractical to store
41
-     and transfer.
42
-  * *Performance*: running VMs consumes significant CPU and memory,
43
-    which makes them impractical in many scenarios, for example local
44
-    development of multi-tier applications, and large-scale deployment
45
-    of cpu and memory-intensive applications on large numbers of
46
-    machines.
47
-  * *Portability*: competing VM environments don't play well with each
48
-     other. Although conversion tools do exist, they are limited and
49
-     add even more overhead.
50
-  * *Hardware-centric*: VMs were designed with machine operators in
51
-    mind, not software developers. As a result, they offer very
52
-    limited tooling for what developers need most: building, testing
53
-    and running their software. For example, VMs offer no facilities
54
-    for application versioning, monitoring, configuration, logging or
55
-    service discovery.
26
+Moby is an open project guided by strong principles, but modular, flexible and without too strong an opinion on user experience, so it is open to the community to help set its direction.
27
+The guiding principles are:
56 28
 
57
-By contrast, Docker relies on a different sandboxing method known as
58
-*containerization*. Unlike traditional virtualization, containerization
59
-takes place at the kernel level. Most modern operating system kernels
60
-now support the primitives necessary for containerization, including
61
-Linux with [openvz](https://openvz.org),
62
-[vserver](http://linux-vserver.org) and more recently
63
-[lxc](https://linuxcontainers.org/), Solaris with
64
-[zones](https://docs.oracle.com/cd/E26502_01/html/E29024/preface-1.html#scrolltoc),
65
-and FreeBSD with
66
-[Jails](https://www.freebsd.org/doc/handbook/jails.html).
29
+- Batteries included but swappable: Moby includes enough components to build fully featured container system, but its modular architecture ensures that most of the components can be swapped by different implementations.
30
+- Usable security: Moby will provide secure defaults without compromising usability.
31
+- Container centric: Moby is built with containers, for running containers.
67 32
 
68
-Docker builds on top of these low-level primitives to offer developers a
69
-portable format and runtime environment that solves all four problems.
70
-Docker containers are small (and their transfer can be optimized with
71
-layers), they have basically zero memory and cpu overhead, they are
72
-completely portable, and are designed from the ground up with an
73
-application-centric design.
33
+With Moby, you should be able to describe all the components of your distributed application, from the high-level configuration files down to the kernel you would like to use and build and deploy it easily.
74 34
 
75
-Perhaps best of all, because Docker operates at the OS level, it can still be
76
-run inside a VM!
35
+Moby uses [containerd](https://github.com/containerd/containerd) as the default container runtime.
77 36
 
78
-## Plays well with others
37
+## Audience
79 38
 
80
-Docker does not require you to buy into a particular programming
81
-language, framework, packaging system, or configuration language.
39
+Moby is recommended for anyone who wants to assemble a container-based system. This includes:
82 40
 
83
-Is your application a Unix process? Does it use files, tcp connections,
84
-environment variables, standard Unix streams and command-line arguments
85
-as inputs and outputs? Then Docker can run it.
41
+- Hackers who want to customize or patch their Docker build
42
+- System engineers or integrators building a container system
43
+- Infrastructure providers looking to adapt existing container systems to their environment
44
+- Container enthusiasts who want to experiment with the latest container tech
45
+- Open-source developers looking to test their project in a variety of different systems
46
+- Anyone curious about Docker internals and how it’s built
86 47
 
87
-Can your application's build be expressed as a sequence of such
88
-commands? Then Docker can build it.
48
+Moby is NOT recommended for:
89 49
 
90
-## Escape dependency hell
50
+- Application developers looking for an easy way to run their applications in containers. We recommend Docker CE instead.
51
+- Enterprise IT and development teams looking for a ready-to-use, commercially supported container platform. We recommend Docker EE instead.
52
+- Anyone curious about containers and looking for an easy way to learn. We recommend the docker.com website instead.
91 53
 
92
-A common problem for developers is the difficulty of managing all
93
-their application's dependencies in a simple and automated way.
54
+# Transitioning to Moby
94 55
 
95
-This is usually difficult for several reasons:
56
+Docker is transitioning all of its open source collaborations to the Moby project going forward.
57
+During the transition, all open source activity should continue as usual.
96 58
 
97
-  * *Cross-platform dependencies*. Modern applications often depend on
98
-    a combination of system libraries and binaries, language-specific
99
-    packages, framework-specific modules, internal components
100
-    developed for another project, etc. These dependencies live in
101
-    different "worlds" and require different tools - these tools
102
-    typically don't work well with each other, requiring awkward
103
-    custom integrations.
59
+We are proposing the following list of changes:
104 60
 
105
-  * *Conflicting dependencies*. Different applications may depend on
106
-    different versions of the same dependency. Packaging tools handle
107
-    these situations with various degrees of ease - but they all
108
-    handle them in different and incompatible ways, which again forces
109
-    the developer to do extra work.
61
+- splitting up the engine into more open components
62
+- removing the docker UI, SDK etc to keep them in the Docker org
63
+- clarifying that the project is not limited to the engine, but to the assembly of all the individual components of the Docker platform
64
+- open-source new tools & components which we currently use to assemble the Docker product, but could benefit the community
65
+- defining an open, community-centric governance inspired by the Fedora project (a very successful example of balancing the needs of the community with the constraints of the primary corporate sponsor)
110 66
 
111
-  * *Custom dependencies*. A developer may need to prepare a custom
112
-    version of their application's dependency. Some packaging systems
113
-    can handle custom versions of a dependency, others can't - and all
114
-    of them handle it differently.
67
+-----
115 68
 
116
-
117
-Docker solves the problem of dependency hell by giving developers a simple
118
-way to express *all* their application's dependencies in one place, while
119
-streamlining the process of assembling them. If this makes you think of
120
-[XKCD 927](https://xkcd.com/927/), don't worry. Docker doesn't
121
-*replace* your favorite packaging systems. It simply orchestrates
122
-their use in a simple and repeatable way. How does it do that? With
123
-layers.
124
-
125
-Docker defines a build as running a sequence of Unix commands, one
126
-after the other, in the same container. Build commands modify the
127
-contents of the container (usually by installing new files on the
128
-filesystem), the next command modifies it some more, etc. Since each
129
-build command inherits the result of the previous commands, the
130
-*order* in which the commands are executed expresses *dependencies*.
131
-
132
-Here's a typical Docker build process:
133
-
134
-```bash
135
-FROM ubuntu:12.04
136
-RUN apt-get update && apt-get install -y python python-pip curl
137
-RUN curl -sSL https://github.com/shykes/helloflask/archive/master.tar.gz | tar -xzv
138
-RUN cd helloflask-master && pip install -r requirements.txt
139
-```
140
-
141
-Note that Docker doesn't care *how* dependencies are built - as long
142
-as they can be built by running a Unix command in a container.
143
-
144
-
145
-Getting started
146
-===============
147
-
148
-Docker can be installed either on your computer for building applications or
149
-on servers for running them. To get started, [check out the installation
150
-instructions in the
151
-documentation](https://docs.docker.com/engine/installation/).
152
-
153
-Usage examples
154
-==============
155
-
156
-Docker can be used to run short-lived commands, long-running daemons
157
-(app servers, databases, etc.), interactive shell sessions, etc.
158
-
159
-You can find a [list of real-world
160
-examples](https://docs.docker.com/engine/examples/) in the
161
-documentation.
162
-
163
-Under the hood
164
-
165
-Under the hood, Docker is built on the following components:
166
-
167
-* The
168
-  [cgroups](https://www.kernel.org/doc/Documentation/cgroup-v1/cgroups.txt)
169
-  and
170
-  [namespaces](http://man7.org/linux/man-pages/man7/namespaces.7.html)
171
-  capabilities of the Linux kernel
172
-* The [Go](https://golang.org) programming language
173
-* The [Docker Image Specification](https://github.com/docker/docker/blob/master/image/spec/v1.md)
174
-* The [Libcontainer Specification](https://github.com/opencontainers/runc/blob/master/libcontainer/SPEC.md)
175
-
176
-Contributing to Docker [![GoDoc](https://godoc.org/github.com/docker/docker?status.svg)](https://godoc.org/github.com/docker/docker)
177
-======================
178
-
179
-| **Master** (Linux) | **Experimental** (Linux) | **Windows** | **FreeBSD** |
180
-|------------------|----------------------|---------|---------|
181
-| [![Jenkins Build Status](https://jenkins.dockerproject.org/view/Docker/job/Docker%20Master/badge/icon)](https://jenkins.dockerproject.org/view/Docker/job/Docker%20Master/) | [![Jenkins Build Status](https://jenkins.dockerproject.org/view/Docker/job/Docker%20Master%20%28experimental%29/badge/icon)](https://jenkins.dockerproject.org/view/Docker/job/Docker%20Master%20%28experimental%29/) | [![Build Status](http://jenkins.dockerproject.org/job/Docker%20Master%20(windows)/badge/icon)](http://jenkins.dockerproject.org/job/Docker%20Master%20(windows)/) | [![Build Status](http://jenkins.dockerproject.org/job/Docker%20Master%20(freebsd)/badge/icon)](http://jenkins.dockerproject.org/job/Docker%20Master%20(freebsd)/) |
182
-
183
-Want to hack on Docker? Awesome! We have [instructions to help you get
184
-started contributing code or documentation](https://docs.docker.com/opensource/project/who-written-for/).
185
-
186
-These instructions are probably not perfect, please let us know if anything
187
-feels wrong or incomplete. Better yet, submit a PR and improve them yourself.
188
-
189
-Getting the development builds
190
-==============================
191
-
192
-Want to run Docker from a master build? You can download
193
-master builds at [master.dockerproject.org](https://master.dockerproject.org).
194
-They are updated with each commit merged into the master branch.
195
-
196
-Don't know how to use that super cool new feature in the master build? Check
197
-out the master docs at
198
-[docs.master.dockerproject.org](http://docs.master.dockerproject.org).
199
-
200
-How the project is run
201
-======================
202
-
203
-Docker is a very, very active project. If you want to learn more about how it is run,
204
-or want to get more involved, the best place to start is [the project directory](https://github.com/docker/docker/tree/master/project).
205
-
206
-We are always open to suggestions on process improvements, and are always looking for more maintainers.
207
-
208
-### Talking to other Docker users and contributors
209
-
210
-<table class="tg">
211
-  <col width="45%">
212
-  <col width="65%">
213
-  <tr>
214
-    <td>Internet&nbsp;Relay&nbsp;Chat&nbsp;(IRC)</td>
215
-    <td>
216
-      <p>
217
-        IRC is a direct line to our most knowledgeable Docker users; we have
218
-        both the  <code>#docker</code> and <code>#docker-dev</code> group on
219
-        <strong>irc.freenode.net</strong>.
220
-        IRC is a rich chat protocol but it can overwhelm new users. You can search
221
-        <a href="https://botbot.me/freenode/docker/#" target="_blank">our chat archives</a>.
222
-      </p>
223
-      Read our <a href="https://docs.docker.com/opensource/get-help/#/irc-quickstart" target="_blank">IRC quickstart guide</a> for an easy way to get started.
224
-    </td>
225
-  </tr>
226
-  <tr>
227
-    <td>Docker Community Forums</td>
228
-    <td>
229
-      The <a href="https://forums.docker.com/c/open-source-projects/de" target="_blank">Docker Engine</a>
230
-      group is for users of the Docker Engine project.
231
-    </td>
232
-  </tr>
233
-  <tr>
234
-    <td>Google Groups</td>
235
-    <td>
236
-      The <a href="https://groups.google.com/forum/#!forum/docker-dev"
237
-      target="_blank">docker-dev</a> group is for contributors and other people
238
-      contributing to the Docker project.  You can join this group without a
239
-      Google account by sending an email to <a
240
-      href="mailto:docker-dev+subscribe@googlegroups.com">docker-dev+subscribe@googlegroups.com</a>.
241
-      You'll receive a join-request message; simply reply to the message to
242
-      confirm your subscription.
243
-    </td>
244
-  </tr>
245
-  <tr>
246
-    <td>Twitter</td>
247
-    <td>
248
-      You can follow <a href="https://twitter.com/docker/" target="_blank">Docker's Twitter feed</a>
249
-      to get updates on our products. You can also tweet us questions or just
250
-      share blogs or stories.
251
-    </td>
252
-  </tr>
253
-  <tr>
254
-    <td>Stack Overflow</td>
255
-    <td>
256
-      Stack Overflow has thousands of Docker questions listed. We regularly
257
-      monitor <a href="https://stackoverflow.com/search?tab=newest&q=docker" target="_blank">Docker questions</a>
258
-      and so do many other knowledgeable Docker users.
259
-    </td>
260
-  </tr>
261
-</table>
262
-
263
-### Legal
69
+Legal
70
+=====
264 71
 
265 72
 *Brought to you courtesy of our legal counsel. For more context,
266
-please see the [NOTICE](https://github.com/docker/docker/blob/master/NOTICE) document in this repo.*
73
+please see the [NOTICE](https://github.com/moby/moby/blob/master/NOTICE) document in this repo.*
267 74
 
268
-Use and transfer of Docker may be subject to certain restrictions by the
75
+Use and transfer of Moby may be subject to certain restrictions by the
269 76
 United States and other governments.
270 77
 
271 78
 It is your responsibility to ensure that your use and/or transfer does not
... ...
@@ -278,30 +83,6 @@ For more information, please see https://www.bis.doc.gov
278 278
 
279 279
 Licensing
280 280
 =========
281
-Docker is licensed under the Apache License, Version 2.0. See
282
-[LICENSE](https://github.com/docker/docker/blob/master/LICENSE) for the full
281
+Moby is licensed under the Apache License, Version 2.0. See
282
+[LICENSE](https://github.com/moby/moby/blob/master/LICENSE) for the full
283 283
 license text.
284
-
285
-Other Docker Related Projects
286
-=============================
287
-There are a number of projects under development that are based on Docker's
288
-core technology. These projects expand the tooling built around the
289
-Docker platform to broaden its application and utility.
290
-
291
-* [Docker Registry](https://github.com/docker/distribution): Registry
292
-server for Docker (hosting/delivery of repositories and images)
293
-* [Docker Machine](https://github.com/docker/machine): Machine management
294
-for a container-centric world
295
-* [Docker Swarm](https://github.com/docker/swarm): A Docker-native clustering
296
-system
297
-* [Docker Compose](https://github.com/docker/compose) (formerly Fig):
298
-Define and run multi-container apps
299
-* [Kitematic](https://github.com/docker/kitematic): The easiest way to use
300
-Docker on Mac and Windows
301
-
302
-If you know of another project underway that should be listed here, please help
303
-us keep this list up-to-date by submitting a PR.
304
-
305
-Awesome-Docker
306
-==============
307
-You can find more projects, tools and articles related to Docker on the [awesome-docker list](https://github.com/veggiemonk/awesome-docker). Add your project there.