Charles Hooper
49554f47f6
Add Download method for native Go downloading (to replace curl). Catch 404s.
...
Ref: #49 , #50
2013-03-12 20:50:11 +00:00
Charles Hooper
8e0986caec
Error gracefully when an image is not found on pull. Addresses #50 and comments from #49
2013-03-12 05:49:57 +00:00
Charles Hooper
b8219b5275
Don't allow images with colons in name and reject pegging versions on pull/import. Addresses #49 and #52
2013-03-12 04:31:49 +00:00
Charles Hooper
63edf8a4a1
Use ioutil.NopCloser instead of opening /dev/null for ReadCloser in CmdRun. Related to #31
2013-03-12 03:18:34 +00:00
Charles Hooper
f6d64738d0
Pull missing images on run. Addresses #31 .
...
chooper@chimay:~/projects/docker/bin$ ./docker images
NAME ID CREATED PARENT
chooper@chimay:~/projects/docker/bin$ ./docker run -a base echo "hello world"
Downloading from http://s3.amazonaws.com/docker.io/images/base
Unpacking to base
######################################################################## 100.0%
base:e9cb4ad9173245ac
hello world
chooper@chimay:~/projects/docker/bin$ ./docker run -a base echo "hello world"
hello world
chooper@chimay:~/projects/docker/bin$ ./docker run -a nosuchimage echo "hello world"
Downloading from http://s3.amazonaws.com/docker.io/images/nosuchimage
Unpacking to nosuchimage
######################################################################## 100.0%
Error: Error downloading image: nosuchimage
chooper@chimay:~/projects/docker/bin$
2013-03-12 02:58:39 +00: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
Jeff Lindsay
e8d48641de
white space
2013-02-20 12:23:47 +00:00