Browse code

Added some more items to the FAQ

James Turnbull authored on 2013/12/20 04:27:47
Showing 1 changed files
... ...
@@ -111,7 +111,7 @@ What does Docker add to just plain LXC?
111 111
       registry to store and transfer private containers, for internal
112 112
       server deployments for example.
113 113
 
114
-   * *Tool ecosystem.* 
114
+   * *Tool ecosystem.*
115 115
       Docker defines an API for automating and customizing the
116 116
       creation and deployment of containers. There are a huge number
117 117
       of tools integrating with Docker to extend its
... ...
@@ -122,6 +122,12 @@ What does Docker add to just plain LXC?
122 122
       (Jenkins, Strider, Travis), etc. Docker is rapidly establishing
123 123
       itself as the standard for container-based tooling.
124 124
 
125
+What is different between a Docker container and a VM?
126
+......................................................
127
+
128
+There's a great StackOverflow answer `here
129
+<http://stackoverflow.com/questions/16047306/how-is-docker-io-different-from-a-normal-virtual-machine>`_.
130
+
125 131
 Do I lose my data when the container exits?
126 132
 ...........................................
127 133
 
... ...
@@ -129,6 +135,52 @@ Not at all! Any data that your application writes to disk gets preserved
129 129
 in its container until you explicitly delete the container. The file
130 130
 system for the container persists even after the container halts.
131 131
 
132
+How far do Docker containers scale?
133
+...................................
134
+
135
+Some of the largest server farms in the world today are based on containers.
136
+Large web deployments like Google and Twitter, and platform providers such as
137
+Heroku and dotCloud all run on container technology, at a scale of hundreds of
138
+thousands or even millions of containers running in parallel.
139
+
140
+How do I connect Docker containers?
141
+...................................
142
+
143
+Currently the recommended way to link containers is via the `link` primitive.
144
+You can see details of how to use it `here <http://docs.docker.io/en/latest/use/working_with_links_names/>`_. 
145
+
146
+Also of useful when enabling more flexible service portability is the
147
+`Ambassador linking pattern
148
+<http://docs.docker.io/en/latest/use/ambassador_pattern_linking/>`_.
149
+
150
+How do I run more than one process in a Docker container?
151
+.........................................................
152
+
153
+Any capable process supervisor such as http://supervisord.org/, runit, s6, or
154
+daemontools can do the trick. Docker will start up the process management
155
+daemon which will then fork to run additional processes. As long as the
156
+processor manager daemon continues to run, the container will continue to as
157
+well.  You can see a more subsantial example `here
158
+<http://docs.docker.io/en/latest/examples/using_supervisord/>`_.
159
+
160
+What platforms does Docker run on?
161
+..................................
162
+
163
+Linux:
164
+
165
+- Ubuntu 12.04, 13.04 et al
166
+- Fedora 19/20+
167
+- RHEL 6.5+
168
+- Centos 6+
169
+- Gento
170
+- ArchLinux
171
+
172
+Cloud:
173
+
174
+- Amazon EC2
175
+- Google Compute Engine
176
+- Rackspace
177
+
132 178
 Can I help by adding some questions and answers?
133 179
 ................................................
134 180