Commit Graph

  • a8ed4c0fb8 Merge branch 'master' of ssh://github.com/dotcloud/docker Upstream-commit: 0d9db395393c63dda9b33bdda8308d874a9eadb8 Component: engine Solomon Hykes 2013-01-29 15:24:51 -08:00
  • 9aed505733 export NORAW=1 to disable raw mode in the client Upstream-commit: 8c142c612737f45fb97d9ad949b1c3bd42d38c71 Component: engine Solomon Hykes 2013-01-29 15:24:39 -08:00
  • 9b61c28d6f Created tests for stdin pipes and tty handling Upstream-commit: ca40989e456cf81f26215059530b328d3be8c71c Component: engine Andrea Luzzardi 2013-01-29 15:16:45 -08:00
  • 3297bbd8b6 go fmt Upstream-commit: 94b1cf4be3606ff731b3ca012e5eddf021f4608f Component: engine Andrea Luzzardi 2013-01-29 13:50:27 -08:00
  • f9700d8d8c Fix bug introduced in c7a944caf28d85bd26f4031465e958006a764ac2 which caused 'docker images' to crash Upstream-commit: f8f9285ccaeb35a2d5909a03f48f9d3b9d34aca2 Component: engine Solomon Hykes 2013-01-29 12:15:39 -08:00
  • 47885a98e3 Generate shorter container IDs for readability Upstream-commit: dfd15fbee87cc954d85884b1ce99ffacf7721a74 Component: engine Solomon Hykes 2013-01-29 03:25:00 -08:00
  • 8805019aeb List containers ordered by creation time Upstream-commit: c7a944caf28d85bd26f4031465e958006a764ac2 Component: engine Solomon Hykes 2013-01-29 03:24:31 -08:00
  • 9b7c269240 docker run -c COMMENT Upstream-commit: 4f3362b85a856f7ec5de0559f10386a8615cad60 Component: engine Solomon Hykes 2013-01-29 03:21:23 -08:00
  • 747cbf0250 'docker ps' prints shorter lines Upstream-commit: bcfe2aa2a7834eb49790f400192422350ba32cdb Component: engine Solomon Hykes 2013-01-29 03:18:07 -08:00
  • d77271f58a Fixed bug which caused permission errors for non-root users on rw layer (Thanks @jpetazo!) Upstream-commit: 279917e353fa888e5afd0904df80a225d462f30d Component: engine Solomon Hykes 2013-01-29 03:14:16 -08:00
  • a44e018a27 Temporary licence file until we open-source it Upstream-commit: d93070b2077dc805eee6c26340a371f4999447de Component: engine Solomon Hykes 2013-01-28 23:34:17 -08:00
  • d92664f491 'docker inspect' can be used on images and containers Upstream-commit: 1b898574cf8d814c453755d83065b22c211f6a29 Component: engine Solomon Hykes 2013-01-28 23:22:45 -08:00
  • b6d8688923 Fixed a bug which caused 'docker cp' to fail when the destination name already exists. Upstream-commit: 49da84d7c4babd597dfbcba168a81a4434c28bf1 Component: engine Solomon Hykes 2013-01-28 23:17:47 -08:00
  • 5b2d2c5a81 Fixed docker.fake so that fake.StartCommand() can be used on Darwin for testing Upstream-commit: d8a4910eee1f62dc8182c77d5caba9650494941d Component: engine Solomon Hykes 2013-01-28 23:16:41 -08:00
  • 98216a0181 Fixed bug which caused AUFS layers to be mounted in the wrong order. Upstream-commit: 2dadcf9b81f27113564260e668d5b734d7a9c63c Component: engine Solomon Hykes 2013-01-28 23:15:02 -08:00
  • 64d5611a9c 'docker ps' lists running containers. 'docker ps -a' also includes stopped containers Upstream-commit: 903f091adc3878f9e08874dd4b748ae10853cbd3 Component: engine Solomon Hykes 2013-01-28 23:13:58 -08:00
  • 9f3880a4db Fixed typo in Darwin termios settings Upstream-commit: c283ff667550d6e86a7bcc16259c796f4261be6e Component: engine Solomon Hykes 2013-01-28 18:37:54 -08:00
  • 870743bf59 'docker run -i' optionally opens stdin. 'docker attach' attaches to a running container (including stdin). 'docker run -t' allocates a tty (still buggy) Upstream-commit: 7a50153c321ff96c16947b3bab9b8e385f2f2a5e Component: engine Solomon Hykes 2013-01-28 17:50:12 -08:00
  • f1c2218a8a Merge branch 'master' of github.com:dotcloud/docker Upstream-commit: 9906a9af8f2f66dfd630c219936e0a27b9754e56 Component: engine Andrea Luzzardi 2013-01-28 17:32:38 -08:00
  • 3e5ac730a8 Networking: Mount bind (ro) the host's /etc/resolv.conf into the container in order to get networking. Upstream-commit: 54a946e333077f59c8e6eb0663ab3e138a9e8320 Component: engine Andrea Luzzardi 2013-01-28 17:32:15 -08:00
  • e0d4eb7361 Forgot an import in termios_darwin Upstream-commit: c914aaf43e9eea2e67f42fc93667a40c36b6cd35 Component: engine shin- 2013-01-28 17:07:38 -08:00
  • 0922b8dd16 Different termios for linux/darwin Upstream-commit: 08ac1d0b3543b9ab98b2cbeaea6bb9512d6a14b5 Component: engine shin- 2013-01-28 17:06:46 -08:00
  • a499fea2e5 go fmt Upstream-commit: 333abbf85a8db9578e34c340032e32de3c8fefe8 Component: engine Andrea Luzzardi 2013-01-28 14:30:05 -08:00
  • 4deb0e4193 Merge branch 'master' of ssh://github.com/dotcloud/docker Upstream-commit: 192446e796f8bace607c82c2f5c43ed5826bf3a9 Component: engine Solomon Hykes 2013-01-28 14:23:39 -08:00
  • 2c16835563 Fixed broken unit test after merge Upstream-commit: d802a31be538d7c90d3f33474595dfdb77b7e50e Component: engine Andrea Luzzardi 2013-01-28 12:11:30 -08:00
  • 6ec3df7414 merge conflicts Upstream-commit: 2cb444248db185a7d332434d53605e289962af0c Component: engine Andrea Luzzardi 2013-01-28 12:06:49 -08:00
  • 9c18c9de84 docker: Make sure to umount the container if it's still mounted at destruction Upstream-commit: fb40a7880494afffe384ac955f5f4e3a4971c676 Component: engine Andrea Luzzardi 2013-01-28 11:58:59 -08:00
  • c2dc6c5c0b Filesystem: Re-implemented Umount() and IsMounted() to work around AUFS issues. Andrea Luzzardi 2013-01-28 11:53:58 -08:00
  • 9632a09e60 Added sequential and parallel benchmarks in order to stress test docker (create, run, destroy workflow) Upstream-commit: a2d7dd1a1908fc3dc6ac5648b5ea12eaecb19b1b Component: engine Andrea Luzzardi 2013-01-28 11:51:51 -08:00
  • 7b5bb8d40c filesystem: Added IsMounted() unit tests Upstream-commit: d8bc912238dfa75dff0902b9d97133e200807bea Component: engine Andrea Luzzardi 2013-01-28 11:51:41 -08:00
  • 8802c173bf Convenience logging in rcli Upstream-commit: 54532e2ab709a25943a9d0b470ecf5c155deee5f Component: engine Solomon Hykes 2013-01-27 15:43:08 -08:00
  • 0dd4a9f417 Experimenting with a UI which differentiates images and containers Upstream-commit: 904b0ab52b065025acbdba6fdc056ef1dff04d44 Component: engine Solomon Hykes 2013-01-27 15:42:42 -08:00
  • a61c8ab5e5 Added various debugging commands: cat, write, ls, inspect, mount, umount Upstream-commit: 6df37208be269540a6f291448491bf5de9f46c96 Component: engine Solomon Hykes 2013-01-27 01:08:34 -08:00
  • ae634b26df Fixed bug which caused 'docker stop' to crash when specifying a non-existing container. Upstream-commit: 55a7560436d380405c807b187e67a2cd3eaf5e51 Component: engine Solomon Hykes 2013-01-27 01:07:21 -08:00
  • cc23af2ae6 Fixed a bug which caused Container.Start() to fail when the rootfs was already mounted. Upstream-commit: fc19a00103f25e4d3bd1102803b32bea299d3fd6 Component: engine Solomon Hykes 2013-01-27 01:06:02 -08:00
  • 58ab0c3fc4 Removed dependency on docker.fake. Added extra information to 'docker list': Pid, Exit code, Mounted Upstream-commit: e920cb9cd921053ebbc82ddccc35908d1def88bd Component: engine Solomon Hykes 2013-01-27 01:04:33 -08:00
  • e87565c8da docker tar: stream the contents of a container as a tar archive Upstream-commit: 37035363031db161732b5757485bec37ef429fb2 Component: engine Solomon Hykes 2013-01-27 00:59:49 -08:00
  • 2787997349 Create empty mountpoints (./rw and ./rootfs) every time we create or load a container Upstream-commit: b6fb5bb21b73c90ae1833e32867781824f66ffb7 Component: engine Solomon Hykes 2013-01-27 00:49:09 -08:00
  • 12fbbf0518 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 Upstream-commit: 5d6dd22fb2d689f98cadba6b7317658331307f3e Component: engine Solomon Hykes 2013-01-26 15:56:42 -08:00
  • 001d53c5f0 Merge branch 'master' of ssh://github.com/dotcloud/docker Upstream-commit: dbc7fb757541260b75ef5a77176b77bb3fd99944 Component: engine Solomon Hykes 2013-01-25 18:02:56 -08:00
  • 488ccc535c Fixed a bug preventing containers from running after being restored Upstream-commit: 6513a1d94ed25a5f99b1e3d1670781f7597f9d35 Component: engine Andrea Luzzardi 2013-01-25 16:20:34 -08:00
  • 0fdf1beadc Merge branch 'master' of ssh://github.com/dotcloud/docker Upstream-commit: fca26254908387b96ed824c16199875955123928 Component: engine Solomon Hykes 2013-01-25 15:42:43 -08:00
  • d69e225ffb container: Fixed a bunch of race conditions by getting rid of lxc-wait. Upstream-commit: f4e25694c15583ed6ed290aff0c29116f7ed361e Component: engine Andrea Luzzardi 2013-01-25 15:36:47 -08:00
  • 9e5cf65e8a 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. Upstream-commit: b397ce5dea4c0a34c73bc6d18fbcb76fa7c92ef0 Component: engine Solomon Hykes 2013-01-25 14:44:16 -08:00
  • 10dcbda36f Container.SetUserData() and GetUserData(): attach optional user data to a container Upstream-commit: 11b65a00c66422a11d114260057384c59f5be4e2 Component: engine Solomon Hykes 2013-01-25 14:39:02 -08:00
  • 05f939e0c7 Merge branch 'master' of github.com:dotcloud/docker Upstream-commit: 1df9819b257e2947c99c88973cc4cb7917b5ff62 Component: engine Andrea Luzzardi 2013-01-25 14:09:54 -08:00
  • 28021d1889 Docker: Fixed an issue with container unmarshaling which prevented docker.restore() to work properly. Upstream-commit: 2193b0c954e2fc9ce92fefa4e3b5a6c82ae98a3f Component: engine Andrea Luzzardi 2013-01-25 14:09:21 -08:00
  • 52ec2891d6 'docker run -t': allocate a pseudo-tty for interactive mode (disabled by default) Upstream-commit: 851812f1c657598007a35e1bb1dfc7047b91bd09 Component: engine Solomon Hykes 2013-01-25 11:33:18 -08:00
  • fd923fb16a First implementation of a layer store. 'docker pull' and 'docker put' now really work (but containers are still fake) Upstream-commit: c885a05bdf337864f50443ae6dc5795ce55533ca Component: engine Solomon Hykes 2013-01-25 11:32:37 -08:00
  • 1bc20b18f2 rcli.DialTCP(): return a net.TCPConn to allow TCP-specific operations (ie. half-close) Upstream-commit: 63fc3e5ab38893e1359f218a855908a4c0303ace Component: engine Solomon Hykes 2013-01-25 11:27:47 -08:00
  • 34fa02708d Fixed IO edge cases on docker client. Wait for stdin to close before exiting if it's a pipe, but not if it's a terminal. Correctly send stdin EOF to the server with TCP half-close Upstream-commit: 75529a202f65e7df5395e0eca7d58aaa7718489c Component: engine Solomon Hykes 2013-01-25 11:26:18 -08:00
  • 5ddc825ec6 Moved more utilities to docker/future Upstream-commit: 401dd3d8e02f720e5e3b2a0f337a57af41fa29c4 Component: engine Solomon Hykes 2013-01-25 11:23:18 -08:00
  • 8a21f0d542 Merge branch 'master' of github.com:dotcloud/docker Upstream-commit: 9b300272df3faed12033c5c55b75cc05c9bbb3f3 Component: engine Andrea Luzzardi 2013-01-25 11:06:07 -08:00
  • 64bc4b3350 Filesystem: Changes API Upstream-commit: 09502e4faa76fddf6245db3c3281e9a70beda076 Component: engine Andrea Luzzardi 2013-01-25 11:05:11 -08:00
  • 9dc7d71f11 Factored out docker/rcli (remote cli protocol), docker/fake (mocking utilities) and docker/future (real utilities which don't yet fit in the core) Upstream-commit: f3ffba7afef9d5caf5eca47e23eda0a2974dd04d Component: engine Solomon Hykes 2013-01-24 20:01:32 -08:00
  • 3158de6ca9 Merge branch 'master' of github.com:dotcloud/docker Upstream-commit: 4fc390ee39b5cafdb90376edcb5f718534afdf5f Component: engine Andrea Luzzardi 2013-01-24 18:11:08 -08:00
  • 9772e0b30b 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 Upstream-commit: 553ca56d7ed6f5808c97356b9bd4f6a5a3d20477 Component: engine Solomon Hykes 2013-01-23 23:14:46 -08:00
  • 1abf5fbe3a filesystem tests: Added a newTestFilesystem help function to remove duplicate code Upstream-commit: 06d8f7ce63d54d117a8245ccdbd84cfc90dfdd6b Component: engine Andrea Luzzardi 2013-01-23 17:18:07 -08:00
  • 73224422be Merge branch 'master' of ssh://github.com/dotcloud/docker Upstream-commit: 98f090ead89f30ab9f5b8568e4343479325526a9 Component: engine Solomon Hykes 2013-01-22 18:58:04 -08:00
  • 0faf2ae661 GFR model: Get, Fork, Run. There are no more layers, only containers Upstream-commit: 1a77a32a839070e60f187478ce2da382c98d19bf Component: engine Solomon Hykes 2013-01-22 18:29:44 -08:00
  • 358dcc8f2a go fmt Upstream-commit: 73d7265429261029b7e6345821e9efe4ec37b10a Component: engine Andrea Luzzardi 2013-01-22 17:30:37 -08:00
  • f33d685f66 Fixed lxc-wait race condition. Added unit test to try running multiple containers in parallel. Upstream-commit: f958bdba8a7c1c62f2f6e3e7bc2ddf1599029ecf Component: engine Andrea Luzzardi 2013-01-22 17:30:09 -08:00
  • 47356dc54b Restart() implementation Upstream-commit: f0c08b57abb6e273b54b3f6d253acfe7b0107972 Component: engine Andrea Luzzardi 2013-01-22 15:03:40 -08:00
  • 37ddcb4a4a State: Keep track of the container start time Upstream-commit: 64fc86fba760dd5cb34cd6d9f3ddf13dc3dc4280 Component: engine Andrea Luzzardi 2013-01-22 15:03:27 -08:00
  • d26b69de49 Filesystem: Perform syscalls directly instead of executing userland tools. Added sanity checks. Improved unit tests. Upstream-commit: e035f3e92b07c7ce601ec2a7a71150e76b1eccfd Component: engine Andrea Luzzardi 2013-01-22 12:12:16 -08:00
  • 0eec792d3d Merge branch 'master' of github.com:dotcloud/docker Upstream-commit: 005db1982d4e7548ef4fc4521f342b2e3f2701df Component: engine Andrea Luzzardi 2013-01-22 11:13:38 -08:00
  • 12fb0ecd0d Container: Better serialization/reloading support Upstream-commit: 8e9bb02ce530839dcd35db0c21ff219360485a34 Component: engine Andrea Luzzardi 2013-01-22 11:13:22 -08:00
  • ba39fc1df2 'docker snapshot': create a new layer from a container. 'docker tar': stream the contents of a container or layer as a tar archive Upstream-commit: 3b69ff64411fabcbe07639821e45cab70866b1ad Component: engine Solomon Hykes 2013-01-22 09:54:56 -08:00
  • d915837cc1 container.Name -> container.Id Upstream-commit: 78c02daf474d798eea2da94286b30171d8deb98f Component: engine Andrea Luzzardi 2013-01-21 18:39:52 -08:00
  • 3270a17017 'docker logs': print full logs of a container Upstream-commit: aa31e7764dd6db063df281930248b641a83894d0 Component: engine Solomon Hykes 2013-01-21 18:31:12 -08:00
  • dbcbe21e42 Merge branch 'master' of ssh://github.com/dotcloud/docker Upstream-commit: 72c0a091c0c1bd377ad11f547e0652a953d32184 Component: engine Solomon Hykes 2013-01-21 18:15:19 -08:00
  • 05cbf7f98a 'docker rm': remove layers. Layers currently in use can't removed. Upstream-commit: 559e3200fa716b35ac87b401c982a0ec00b78fbc Component: engine Solomon Hykes 2013-01-21 18:12:56 -08:00
  • 7876504025 Removed bogus .swp file Upstream-commit: 13cd4650fdc636862bee73e6de5374205f3e6dd1 Component: engine Andrea Luzzardi 2013-01-21 18:06:31 -08:00
  • 031dbdddeb 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. Upstream-commit: 24dac22892cc3c8f34e90222f64b87d750b5025e Component: engine Andrea Luzzardi 2013-01-21 18:03:23 -08:00
  • 28140e7cb7 Fix the height of the terminal window in the web UI Upstream-commit: be3563cebb953b75d301b63988589987e4f9e6d9 Component: engine Solomon Hykes 2013-01-20 22:23:11 -08:00
  • bfc265f408 docker run -a: optionally attach to the new process. Run it in the background by default Upstream-commit: e74d0b2a569496ef47075ea80c0ca61501dc8da2 Component: engine Solomon Hykes 2013-01-20 22:22:51 -08:00
  • ca769d4cf3 docker web -u: display the URL of the web UI Upstream-commit: 63081c6cc865a90cc13354c4d95c877c1c0489f2 Component: engine Solomon Hykes 2013-01-20 22:21:59 -08:00
  • d52fd1dde4 'docker diff': inspect changes to a container's filesystem Upstream-commit: bdb66012a830e06103d0ed6913c38bbc69a09bca Component: engine Solomon Hykes 2013-01-20 22:21:26 -08:00
  • 8b3d7ff8d4 Experimental web UI Upstream-commit: 6d8420898c5863afac432926c53e70fed48e7cd9 Component: engine Solomon Hykes 2013-01-20 15:55:00 -08:00
  • 9bf8358011 'docker run' accepts layer names (it will look up the most recently added layer of that name) Upstream-commit: 4c5eb22cb281359c7e2e70d773173121c8c9b47b Component: engine Solomon Hykes 2013-01-20 15:54:21 -08:00
  • 687925d998 Improved 'docker layers': sort by added date, -l to show only N most recent Upstream-commit: bf465935055d3fe94e68456366a81e9964b244dc Component: engine Solomon Hykes 2013-01-20 14:13:25 -08:00
  • d7073c2d43 Terser output for layer creation commands, to help scriptability Upstream-commit: f154ebf744e974c356c833a95d3c79d5785eb393 Component: engine Solomon Hykes 2013-01-20 00:58:18 -08:00
  • da91bf2009 Cosmetic fix when printing a comma-separated list of layers Upstream-commit: 417e72b0dd07dc5c9829e4fd0f8e1d72261b1a10 Component: engine Solomon Hykes 2013-01-20 00:48:23 -08:00
  • deb12aeb82 Cleaned up argument parsing Upstream-commit: 776705da57efce55c0062fec462700b75432a25a Component: engine Solomon Hykes 2013-01-20 00:47:39 -08:00
  • 37d7fd66b4 'docker list' shows which processes are running (always false for now) Upstream-commit: 95c6443c4329d82b7abec0f9689aad92dafa0bc3 Component: engine Solomon Hykes 2013-01-20 00:46:46 -08:00
  • 09a3c4ae28 'docker list -n': display absolute layer IDs instead of names Upstream-commit: 10ca2206e25d42f6594611fc6c2e0d432ca13c9c Component: engine Solomon Hykes 2013-01-20 00:45:51 -08:00
  • 805b157702 Moved 100% of arg parsing to dockerd. Even help messages are generated on the server Upstream-commit: d62a759106f2aba2f2d74ec864e05b297eb573cc Component: engine Solomon Hykes 2013-01-20 00:44:44 -08:00
  • 3141df1e99 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' Upstream-commit: bf44a790718a374608a75fd5b76a85b518c5c182 Component: engine Solomon Hykes 2013-01-20 00:43:16 -08:00
  • 77822b3906 Improved 'docker layers': --help, -q, filtering by name Upstream-commit: 7012f489898116c3f3768e504abcbf5aed64a1f4 Component: engine Solomon Hykes 2013-01-20 00:37:52 -08:00
  • 8711cef28c CLI: implemented 'docker help COMMAND' Upstream-commit: 8aa2cb7d849546fef0c9a820231b3418621af742 Component: engine Solomon Hykes 2013-01-20 00:35:35 -08:00
  • 93bda9e6ab CLI: mock 'docker download' Upstream-commit: 12599e1c55480f888128b78abb975dbee65b3623 Component: engine Solomon Hykes 2013-01-19 18:24:01 -08:00
  • 1d280245e7 dockerd: force HTTP flush at each write (aka poor man's streaming) Upstream-commit: f90183e957436cbf540599e224616a8286f33803 Component: engine Solomon Hykes 2013-01-19 18:23:33 -08:00
  • 1a716f9551 dockerd: log commands Upstream-commit: 8a28efa65517d1b3602cb48a8b5e47643c4fff1f Component: engine Solomon Hykes 2013-01-19 18:01:51 -08:00
  • 23b2055138 CLI: more information in 'list' and 'layers' Upstream-commit: 27c7ecb587c64ecf2057189f06b3d5ce365ed6e7 Component: engine Solomon Hykes 2013-01-19 17:43:42 -08:00
  • 6aa1981e91 CLI: don't crash with no arguments Upstream-commit: 3dc240c7eedd8d47d91704cf378d76658856fe79 Component: engine Solomon Hykes 2013-01-19 17:41:59 -08:00
  • 89000a0f7c Prototyping with a mock CLI and daemon Upstream-commit: e5323e7c9ab02c64e57396807d5b29b42d1f3904 Component: engine Solomon Hykes 2013-01-19 16:07:19 -08:00
  • 5c70746915 Initial commit Upstream-commit: a27b4b8cb8e838d03a99b6d2b30f76bdaf2f9e5d Component: engine Andrea Luzzardi 2013-01-18 16:13:39 -08:00