Commit Graph

49 Commits

Author SHA1 Message Date
Solomon Hykes bded592a15 'docker kill': kill a running container without losing its filesystem and log state 2013-02-11 11:39:28 -08:00
Solomon Hykes 5926cfd0ec Cosmetic: renamed the variable for sub-command argument parsing, to avoid confusion between 'flag' and 'flags' 2013-02-11 11:17:25 -08:00
Solomon Hykes a608f5e3b8 "docker info": display system-wide information. 2013-02-04 23:37:25 -08:00
Solomon Hykes de1c361a6e docker rmi: remove an image 2013-02-01 00:08:45 -08:00
Solomon Hykes bba4e36807 Fixed a bug with 'docker run' 2013-01-29 16:51:03 -08:00
Solomon Hykes 29410f43a0 'docker run' with no argument runs a shell in the base image 2013-01-29 15:51:04 -08:00
Solomon Hykes f8f9285cca Fix bug introduced in c7a944caf2 which caused 'docker images' to crash 2013-01-29 12:15:39 -08:00
Solomon Hykes dfd15fbee8 Generate shorter container IDs for readability 2013-01-29 03:25:00 -08:00
Solomon Hykes c7a944caf2 List containers ordered by creation time 2013-01-29 03:24:31 -08:00
Solomon Hykes 4f3362b85a docker run -c COMMENT 2013-01-29 03:21:23 -08:00
Solomon Hykes bcfe2aa2a7 'docker ps' prints shorter lines 2013-01-29 03:18:07 -08:00
Solomon Hykes 1b898574cf 'docker inspect' can be used on images and containers 2013-01-28 23:22:45 -08:00
Solomon Hykes 903f091adc 'docker ps' lists running containers. 'docker ps -a' also includes stopped containers 2013-01-28 23:13:58 -08:00
Solomon Hykes 7a50153c32 'docker run -i' optionally opens stdin. 'docker attach' attaches to a running container (including stdin). 'docker run -t' allocates a tty (still buggy) 2013-01-28 17:50:12 -08:00
Solomon Hykes 904b0ab52b Experimenting with a UI which differentiates images and containers 2013-01-27 15:42:42 -08:00
Solomon Hykes 6df37208be Added various debugging commands: cat, write, ls, inspect, mount, umount 2013-01-27 01:08:34 -08:00
Solomon Hykes 55a7560436 Fixed bug which caused 'docker stop' to crash when specifying a non-existing container. 2013-01-27 01:07:21 -08:00
Solomon Hykes e920cb9cd9 Removed dependency on docker.fake. Added extra information to 'docker list': Pid, Exit code, Mounted 2013-01-27 01:04:33 -08:00
Solomon Hykes 3703536303 docker tar: stream the contents of a container as a tar archive 2013-01-27 00:59:49 -08:00
Solomon Hykes 5d6dd22fb2 Plugged 4 more commands into the real backend: 'diff', 'reset', 'run', 'stop'. 'run' actually runs the process, but doesn't capture outptu properly, and encounters mount issues 2013-01-26 15:56:42 -08:00
Solomon Hykes b397ce5dea First integration of the actual docker package into the server. Pull and put create actual containers. Rm actually removes them. The rest is still fake. 2013-01-25 14:44:16 -08:00
Solomon Hykes 851812f1c6 'docker run -t': allocate a pseudo-tty for interactive mode (disabled by default) 2013-01-25 11:33:18 -08:00
Solomon Hykes c885a05bdf First implementation of a layer store. 'docker pull' and 'docker put' now really work (but containers are still fake) 2013-01-25 11:32:37 -08:00
Solomon Hykes 401dd3d8e0 Moved more utilities to docker/future 2013-01-25 11:23:18 -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
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
Solomon Hykes 1a77a32a83 GFR model: Get, Fork, Run. There are no more layers, only containers 2013-01-22 18:29:44 -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
Solomon Hykes aa31e7764d 'docker logs': print full logs of a container 2013-01-21 18:31:12 -08:00
Solomon Hykes 559e3200fa 'docker rm': remove layers. Layers currently in use can't removed. 2013-01-21 18:12:56 -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 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 e5323e7c9a Prototyping with a mock CLI and daemon 2013-01-19 16:07:19 -08:00