Solomon Hykes
132ecb2482
Replaced 'pull' and 'put' with 'import'
2013-03-11 21:04:16 -07: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
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
Ken Cochrane
d4da0a0ddb
changed the docker version in vagrant to pull down latest version, moved some things around and put docker and dockerd into /usr/local/bin now. Also added git to install package list
2013-03-11 17:48:39 -07:00
Ken Cochrane
43875a73a0
added a fix to the upstart command that wasn't setting hte LOCALE correctly, which was causing issues with UTF-8 bundles
2013-03-11 17:47:28 -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
Solomon Hykes
2548722dae
Fix a bug which caused dockerd to crash at startup if a container didn't have a registered mountpoint
2013-03-11 17:05:01 -07:00
Charles Hooper
52b811f50a
Add all commands to the output of 'dotcloud help'. Fixes #39
2013-03-11 23:11:46 +00:00
Charles Hooper
a7cb3cb86a
Complete fix for #38 -- fix double-usage on help
2013-03-11 22:29:13 +00:00
Charles Hooper
06d420d2ea
Fix CmdInspect and CmdImages help/parsing. Fixes #38
2013-03-11 22:08:22 +00: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
shin-
5d6199b925
post-merge repairs
2013-03-11 07:39:06 -07:00
shin-
2441edf1a3
Merged upstream changes in fs branch
2013-03-11 05:50:09 -07:00
shin-
97a8209438
Merged master branch into fs
2013-03-11 05:42:36 -07:00
Guillaume J. Charmes
687d6f25ee
Change relative paths to absolute
2013-03-11 02:59:52 -07:00
Solomon Hykes
dd0227b700
Removed deprecated docker/image package
2013-03-09 20:17:31 -08:00
Solomon Hykes
b5b2f005eb
Fixed a bug which caused dockerd to not create its DB if an empty /var/lib/docker/images existed; fixed a bug which caused dockerd to not create missing tables in the images DB.
2013-03-09 19:56:33 -08:00
Solomon Hykes
4474cd5677
Fixed a bug which caused docker to crash at startup while restoring existing containers
2013-03-09 19:49:09 -08:00
Solomon Hykes
c59fff422f
gofmt
2013-03-09 19:44:09 -08:00
shin-
93ba6dd82b
Plugged in image store in front-end (some commands are deactivated right now, will progressively reintroduce them
2013-03-08 10:48:22 -08: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
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