Commit graph

22695 commits

Author SHA1 Message Date
Andrea Luzzardi
9b300272df Merge branch 'master' of github.com:dotcloud/docker 2013-01-25 11:06:07 -08:00
Andrea Luzzardi
09502e4faa Filesystem: Changes API 2013-01-25 11:05:11 -08:00
Solomon Hykes
f3ffba7afe Factored out docker/rcli (remote cli protocol), docker/fake (mocking utilities) and docker/future (real utilities which don't yet fit in the core) 2013-01-24 20:01:32 -08:00
Andrea Luzzardi
4fc390ee39 Merge branch 'master' of github.com:dotcloud/docker 2013-01-24 18:11:08 -08:00
Solomon Hykes
553ca56d7e Enabled stdin and interactive mode. 'docker run -a CONTAINER bash' will now correctly run an interactive shell. This required switching to a simple raw TCP protocol by default 2013-01-23 23:14:46 -08:00
Andrea Luzzardi
06d8f7ce63 filesystem tests: Added a newTestFilesystem help function to remove
duplicate code
2013-01-23 17:18:07 -08:00
Solomon Hykes
98f090ead8 Merge branch 'master' of ssh://github.com/dotcloud/docker 2013-01-22 18:58:04 -08:00
Solomon Hykes
1a77a32a83 GFR model: Get, Fork, Run. There are no more layers, only containers 2013-01-22 18:29:44 -08:00
Andrea Luzzardi
73d7265429 go fmt 2013-01-22 17:30:37 -08:00
Andrea Luzzardi
f958bdba8a Fixed lxc-wait race condition. Added unit test to try running multiple
containers in parallel.
2013-01-22 17:30:09 -08:00
Andrea Luzzardi
f0c08b57ab Restart() implementation 2013-01-22 15:03:40 -08:00
Andrea Luzzardi
64fc86fba7 State: Keep track of the container start time 2013-01-22 15:03:27 -08:00
Andrea Luzzardi
e035f3e92b Filesystem: Perform syscalls directly instead of executing userland
tools. Added sanity checks. Improved unit tests.
2013-01-22 12:12:16 -08:00
Andrea Luzzardi
005db1982d Merge branch 'master' of github.com:dotcloud/docker 2013-01-22 11:13:38 -08:00
Andrea Luzzardi
8e9bb02ce5 Container: Better serialization/reloading support 2013-01-22 11:13:22 -08:00
Solomon Hykes
3b69ff6441 'docker snapshot': create a new layer from a container. 'docker tar': stream the contents of a container or layer as a tar archive 2013-01-22 09:54:56 -08:00
Andrea Luzzardi
78c02daf47 container.Name -> container.Id 2013-01-21 18:39:52 -08:00
Solomon Hykes
aa31e7764d 'docker logs': print full logs of a container 2013-01-21 18:31:12 -08:00
Solomon Hykes
72c0a091c0 Merge branch 'master' of ssh://github.com/dotcloud/docker 2013-01-21 18:15:19 -08:00
Solomon Hykes
559e3200fa 'docker rm': remove layers. Layers currently in use can't removed. 2013-01-21 18:12:56 -08:00
Andrea Luzzardi
13cd4650fd Removed bogus .swp file 2013-01-21 18:06:31 -08:00
Andrea Luzzardi
24dac22892 Docker: Clean shutdown of containers.
Stop() will send a SIGTERM to the init process of the container and give it 10 seconds to shutdown properly.
After the timeout is reached, the process will be force killed (SIGKILL).
Also available is Kill() which kills the process on the spot.
2013-01-21 18:03:23 -08:00
Solomon Hykes
be3563cebb Fix the height of the terminal window in the web UI 2013-01-20 22:23:11 -08:00
Solomon Hykes
e74d0b2a56 docker run -a: optionally attach to the new process. Run it in the background by default 2013-01-20 22:22:51 -08:00
Solomon Hykes
63081c6cc8 docker web -u: display the URL of the web UI 2013-01-20 22:21:59 -08:00
Solomon Hykes
bdb66012a8 'docker diff': inspect changes to a container's filesystem 2013-01-20 22:21:26 -08:00
Solomon Hykes
6d8420898c Experimental web UI 2013-01-20 15:55:00 -08:00
Solomon Hykes
4c5eb22cb2 'docker run' accepts layer names (it will look up the most recently added layer of that name) 2013-01-20 15:54:21 -08:00
Solomon Hykes
bf46593505 Improved 'docker layers': sort by added date, -l to show only N most recent 2013-01-20 14:13:25 -08:00
Solomon Hykes
f154ebf744 Terser output for layer creation commands, to help scriptability 2013-01-20 00:58:18 -08:00
Solomon Hykes
417e72b0dd Cosmetic fix when printing a comma-separated list of layers 2013-01-20 00:48:23 -08:00
Solomon Hykes
776705da57 Cleaned up argument parsing 2013-01-20 00:47:39 -08:00
Solomon Hykes
95c6443c43 'docker list' shows which processes are running (always false for now) 2013-01-20 00:46:46 -08:00
Solomon Hykes
10ca2206e2 'docker list -n': display absolute layer IDs instead of names 2013-01-20 00:45:51 -08:00
Solomon Hykes
d62a759106 Moved 100% of arg parsing to dockerd. Even help messages are generated on the server 2013-01-20 00:44:44 -08:00
Solomon Hykes
bf44a79071 Several UI improvements for creating containers and layers. 'docker export', 'docker run -l' can reference the layers of another container, track how layers were created (download, upload or export). Rename 'download' and 'upload' to 'get' and 'put' 2013-01-20 00:43:16 -08:00
Solomon Hykes
7012f48989 Improved 'docker layers': --help, -q, filtering by name 2013-01-20 00:37:52 -08:00
Solomon Hykes
8aa2cb7d84 CLI: implemented 'docker help COMMAND' 2013-01-20 00:35:35 -08:00
Solomon Hykes
12599e1c55 CLI: mock 'docker download' 2013-01-19 18:24:01 -08:00
Solomon Hykes
f90183e957 dockerd: force HTTP flush at each write (aka poor man's streaming) 2013-01-19 18:23:33 -08:00
Solomon Hykes
8a28efa655 dockerd: log commands 2013-01-19 18:01:51 -08:00
Solomon Hykes
27c7ecb587 CLI: more information in 'list' and 'layers' 2013-01-19 17:43:42 -08:00
Solomon Hykes
3dc240c7ee CLI: don't crash with no arguments 2013-01-19 17:41:59 -08:00
Solomon Hykes
e5323e7c9a Prototyping with a mock CLI and daemon 2013-01-19 16:07:19 -08:00
Andrea Luzzardi
a27b4b8cb8 Initial commit 2013-01-18 16:13:39 -08:00