Commit graph

212 commits

Author SHA1 Message Date
Sam Alba
f8fee42181 Missed a rename 2013-03-11 19:55:14 -07:00
Sam Alba
3684b67572 Added -m to the run command in order to set a memory limit to a container 2013-03-11 19:51:24 -07:00
Sam Alba
948961831a Renamed Container property Ram to Memory before it is too late 2013-03-11 19:25:02 -07:00
Sam Alba
4e5ae88372 Implemented unit tests for the generated LXC config 2013-03-11 19:15:29 -07:00
Sam Alba
75d04a5a75 Added support for RamSwap in the generated LXC config (to limit the swap and have the right default settings) 2013-03-11 17:40:54 -07:00
Sam Alba
a3a946703b Set the memory soft limit to the same value than the hard limit 2013-03-11 14:30:27 -07:00
Solomon Hykes
fb350e0c77 Setup a predictable, repeatable environment for containers 2013-03-07 09:25:41 -08:00
Solomon Hykes
2df0bc6bc0 Container logs are persisted on disk 2013-03-06 16:08:44 -08:00
Solomon Hykes
007c57deba Merge branch 'master' of ssh://github.com/dotcloud/docker 2013-03-06 00:39:35 -08:00
Solomon Hykes
410ebe379d docker port: lookup public-facing tcp ports for a container 2013-03-06 00:39:03 -08:00
Solomon Hykes
791592731e Remove leftover debug message 2013-03-06 00:37:00 -08:00
Solomon Hykes
836e7b2881 Moved Vagrant guide to the wiki
Trying to keep the authoritative docs very small, so we can keep it correct and up-to-date.
2013-03-05 22:44:09 -08:00
Solomon Hykes
74c88fdbc0 docker rmi -r: remove all images matching a regexp 2013-03-05 22:39:43 -08:00
Solomon Hykes
711e29fb9b Reorganized README
Moved Install instructions closer to the top.
2013-03-05 16:00:17 -08:00
Solomon Hykes
9f3b1a8ee0 Updated README: networking no longer "coming soon" 2013-03-05 15:58:27 -08:00
Solomon Hykes
d372dacbc9 Updated install instructions and download links
- New binary download links
- Fixed incorrect install instructions
- Merged client and host install instructions
2013-03-01 17:21:26 -08:00
Solomon Hykes
76b66f73b3 Merge pull request #23 from dotcloud/networking
Functional TCP networking: port allocation, inbound DNAT, outbound SNAT, multiple ports.
2013-02-28 16:32:55 -08:00
Solomon Hykes
5675439b91 Re-enabled CmdPull progress bar code which had been temporarily disabled 2013-02-28 16:30:31 -08:00
Andrea Luzzardi
2192d3371c Re-enabled lxc capabilities drop 2013-02-28 11:57:57 -08:00
Andrea Luzzardi
f62344b750 Merge branch 'master' into networking 2013-02-28 11:52:52 -08:00
Andrea Luzzardi
f857fa0ddd Server: -p option to export TCP ports 2013-02-28 11:52:22 -08:00
Andrea Luzzardi
bd2f51290f Docker: Network manager integration 2013-02-28 11:52:07 -08:00
Andrea Luzzardi
09eacdfade Container can now take a list of ports to expose in its config 2013-02-28 11:51:14 -08:00
Andrea Luzzardi
799ffa1763 Network: Port mapping support.
Implemented a port allocator and a port mapper that is able to forward TCP ports
from the host to the container.
2013-02-28 11:50:02 -08:00
Daniel Mizyrycki
ed85cb6508 Update puppet/modules/docker/manifests/init.pp
Add required bsdtar dependency
2013-02-26 18:17:51 -08:00
Andrea Luzzardi
c7f4602b18 Merge from master 2013-02-26 17:32:07 -08:00
Solomon Hykes
278aa5f045 Changed .gitignore to not match docker/*.go 2013-02-26 17:29:11 -08:00
Solomon Hykes
003ec21d36 If curl is installed, 'docker pull' will use it to download images with a pretty progress bar. Otherwise it will fallback to regular http.Get() 2013-02-26 17:28:24 -08:00
Solomon Hykes
aa12da6f50 go fmt 2013-02-26 17:26:46 -08:00
Solomon Hykes
4004e86fa9 Updated pybuilder example to use 'docker wait' 2013-02-26 14:47:20 -08:00
Solomon Hykes
ebaa50c4c9 docker wait: block until a container exits, and print its exit code 2013-02-26 11:43:54 -08:00
Andrea Luzzardi
3c0a59f038 Merge branch 'master' into networking 2013-02-26 11:04:28 -08:00
Andrea Luzzardi
2c2db5cd45 Merge branch 'master' into networking 2013-02-26 11:03:11 -08:00
Solomon Hykes
8fa07c0e06 New example: pybuilder 2013-02-26 10:03:06 -08:00
Solomon Hykes
6d1054619d Added tests for checksum computation in layer store 2013-02-26 09:46:29 -08:00
Andrea Luzzardi
c08f5b2b84 Integrated the network allocator into Docker. A networking environment
is assigned to each container upon Start and released whenever the
container exits.
2013-02-25 14:06:22 -08:00
Solomon Hykes
edf2e20e28 Updated dependencies in install.sh 2013-02-25 12:27:51 -08:00
Solomon Hykes
2c7a2cbaf4 Moved Jeff's install script to the repo 2013-02-25 12:27:29 -08:00
Andrea Luzzardi
797bb6e75b Network allocator 2013-02-25 10:45:23 -08:00
Solomon Hykes
deb74ef674 Merge pull request #19 from brianm/master
Ignore .vagrant directory
2013-02-23 13:11:39 -08:00
Brian McCallister
ac15003c05 ignore .vagrant 2013-02-23 13:59:06 -07:00
Solomon Hykes
f437f5b8b4 'docker pull' and 'docker put' automatically detect tar compression (gzip, bzip2 or uncompressed). -j and -z flags are no longer required. 2013-02-22 12:28:25 -08:00
Andrea Luzzardi
149badc22b Network tests 2013-02-21 18:34:35 -08:00
Andrea Luzzardi
e0e49b9a22 Network: Do not assume that we are using a class C. Instead, compute the
IP addresses range and network size in order to allocate an IP address.
2013-02-21 18:33:23 -08:00
Solomon Hykes
dd96b6fccb Updated install instructions and requirements 2013-02-21 16:33:58 -08:00
Andrea Luzzardi
6124c5eb31 Network: Simple random IP allocation on the bridge network. 2013-02-21 10:47:57 -08:00
Andrea Luzzardi
5039d4a280 Network: Automatically figure out the gateway and netmask by inspecting
the lxc bridge interface
2013-02-21 10:47:57 -08:00
Andrea Luzzardi
5cecd548cd Basic networking support with hardcoded addresses. Work in progress. 2013-02-21 10:47:57 -08:00
Andrea Luzzardi
b9b66d0e1b sysinit: Support for the -g (gateway) flag used in networking setup 2013-02-21 10:47:57 -08:00
Solomon Hykes
db4c75f3c1 Interactive mode preserves existing PATH, to facilitate scripting 2013-02-20 14:45:43 -08:00