Commit graph

24 commits

Author SHA1 Message Date
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