Commit graph

48959 commits

Author SHA1 Message Date
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
shin-
ffbb9c8e4a Merge branch 'master' into fs 2013-02-26 17:45:55 -08:00
shin-
2ebf3464a1 Halfway through fs branch fixes, TestUser not passing 2013-02-26 17:45:46 -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
shin-
8b61af1895 Re-added mount_*.go in docker package to not break tests/build 2013-02-21 23:07:10 -08:00
shin-
b4ea31e1de Implementing mounting/unmounting of images. Currently missing Mounpoint#Deregister 2013-02-21 23:01:30 -08:00
shin-
04bcdf9030 Implementing mounting/unmounting of images. Currently missing Mounpoint#Deregister 2013-02-21 23:01:13 -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
Jeff Lindsay
e8d48641de white space 2013-02-20 12:23:47 +00:00
Jeff Lindsay
3a59336f82 make sure the standard "replace input carriage returns with line feeds" and "replace output line feeds with carriage return and line feed" flags are set, even on raw (I dont think it should actually be raw) 2013-02-20 12:19:22 +00:00
Solomon Hykes
302567df1d Merge pull request #15 from brianm/ignore-produced-binaries
ignore produced binaries
2013-02-19 22:58:24 -08:00
Solomon Hykes
a30e9f51a4 Merge pull request #16 from brianm/master
Add notice about kr/pty in NOTICE
2013-02-19 22:58:01 -08:00
Brian McCallister
f0183fa069 add reference to https://github.com/kr/pty in NOTICE 2013-02-19 20:55:26 -07:00
Brian McCallister
7e5dfc51ad ignore produced binaries 2013-02-19 20:49:06 -07:00
Solomon Hykes
004272e6f5 docker/server: no more dependency on log 2013-02-19 13:07:25 -08:00
Solomon Hykes
dd9bb4e0d3 dockerd: removed debug messages 2013-02-19 13:04:19 -08:00
Solomon Hykes
5e2f0639c6 dockerd: create /var/lib/docker if it doesn't exist 2013-02-19 13:03:58 -08:00
shin-
8002af43fb Better error context when failing to create a new image. Added basic tag support + unit tests 2013-02-18 21:10:19 -08:00
shin-
48974cc28d FakeTar: /var/log/postgres can't be both a folder and a file 2013-02-18 21:09:25 -08:00