Граф коммитов

18398 Коммитов

Автор SHA1 Сообщение Дата
Solomon Hykes 35f5cc239b Fix web UI to work on remote URLs 2013-01-29 15:30:32 -08:00
Solomon Hykes 0d9db39539 Merge branch 'master' of ssh://github.com/dotcloud/docker 2013-01-29 15:24:51 -08:00
Solomon Hykes 8c142c6127 export NORAW=1 to disable raw mode in the client 2013-01-29 15:24:39 -08:00
Andrea Luzzardi ca40989e45 Created tests for stdin pipes and tty handling 2013-01-29 15:16:45 -08:00
Andrea Luzzardi 94b1cf4be3 go fmt 2013-01-29 13:50:27 -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 279917e353 Fixed bug which caused permission errors for non-root users on rw layer (Thanks @jpetazo!) 2013-01-29 03:14:16 -08:00
Solomon Hykes d93070b207 Temporary licence file until we open-source it 2013-01-28 23:34:17 -08:00
Solomon Hykes 1b898574cf 'docker inspect' can be used on images and containers 2013-01-28 23:22:45 -08:00
Solomon Hykes 49da84d7c4 Fixed a bug which caused 'docker cp' to fail when the destination name already exists. 2013-01-28 23:17:47 -08:00
Solomon Hykes d8a4910eee Fixed docker.fake so that fake.StartCommand() can be used on Darwin for testing 2013-01-28 23:16:41 -08:00
Solomon Hykes 2dadcf9b81 Fixed bug which caused AUFS layers to be mounted in the wrong order. 2013-01-28 23:15:02 -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 c283ff6675 Fixed typo in Darwin termios settings 2013-01-28 18:37:54 -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
Andrea Luzzardi 9906a9af8f Merge branch 'master' of github.com:dotcloud/docker 2013-01-28 17:32:38 -08:00
Andrea Luzzardi 54a946e333 Networking: Mount bind (ro) the host's /etc/resolv.conf into the
container in order to get networking.
2013-01-28 17:32:15 -08:00
shin- c914aaf43e Forgot an import in termios_darwin 2013-01-28 17:07:38 -08:00
shin- 08ac1d0b35 Different termios for linux/darwin 2013-01-28 17:06:46 -08:00
Andrea Luzzardi 333abbf85a go fmt 2013-01-28 14:30:05 -08:00
Solomon Hykes 192446e796 Merge branch 'master' of ssh://github.com/dotcloud/docker 2013-01-28 14:23:39 -08:00
Andrea Luzzardi d802a31be5 Fixed broken unit test after merge 2013-01-28 12:11:30 -08:00
Andrea Luzzardi 2cb444248d merge conflicts 2013-01-28 12:06:49 -08:00
Andrea Luzzardi fb40a78804 docker: Make sure to umount the container if it's still mounted at
destruction
2013-01-28 12:00:20 -08:00
Andrea Luzzardi 174f25909c Filesystem: Re-implemented Umount() and IsMounted() to work around AUFS
issues.

Umount() will now attempt to remove the mntpoint after umounting.
It will keep retrying for some time until the mntpoint is deleted.
2013-01-28 11:58:47 -08:00
Andrea Luzzardi a2d7dd1a19 Added sequential and parallel benchmarks in order to stress test docker
(create, run, destroy workflow)
2013-01-28 11:51:51 -08:00
Andrea Luzzardi d8bc912238 filesystem: Added IsMounted() unit tests 2013-01-28 11:51:41 -08:00
Solomon Hykes 54532e2ab7 Convenience logging in rcli 2013-01-27 15:43:08 -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 fc19a00103 Fixed a bug which caused Container.Start() to fail when the rootfs was already mounted. 2013-01-27 01:06:02 -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 b6fb5bb21b Create empty mountpoints (./rw and ./rootfs) every time we create or load a container 2013-01-27 00:49:09 -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 dbc7fb7575 Merge branch 'master' of ssh://github.com/dotcloud/docker 2013-01-25 18:02:56 -08:00
Andrea Luzzardi 6513a1d94e Fixed a bug preventing containers from running after being restored 2013-01-25 16:20:34 -08:00
Solomon Hykes fca2625490 Merge branch 'master' of ssh://github.com/dotcloud/docker 2013-01-25 15:42:43 -08:00
Andrea Luzzardi f4e25694c1 container: Fixed a bunch of race conditions by getting rid of lxc-wait. 2013-01-25 15:36:47 -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 11b65a00c6 Container.SetUserData() and GetUserData(): attach optional user data to a container 2013-01-25 14:39:02 -08:00
Andrea Luzzardi 1df9819b25 Merge branch 'master' of github.com:dotcloud/docker 2013-01-25 14:09:54 -08:00
Andrea Luzzardi 2193b0c954 Docker: Fixed an issue with container unmarshaling which prevented
docker.restore() to work properly.
2013-01-25 14:09:21 -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