9aed505733export NORAW=1 to disable raw mode in the client Upstream-commit: 8c142c612737f45fb97d9ad949b1c3bd42d38c71 Component: engine
Solomon Hykes
2013-01-29 15:24:39 -08:00
9b61c28d6fCreated tests for stdin pipes and tty handling Upstream-commit: ca40989e456cf81f26215059530b328d3be8c71c Component: engine
Andrea Luzzardi
2013-01-29 15:16:45 -08:00
d77271f58aFixed 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
a44e018a27Temporary 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
b6d8688923Fixed 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
5b2d2c5a81Fixed 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
98216a0181Fixed 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
9f3880a4dbFixed 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
f1c2218a8aMerge branch 'master' of github.com:dotcloud/docker Upstream-commit: 9906a9af8f2f66dfd630c219936e0a27b9754e56 Component: engine
Andrea Luzzardi
2013-01-28 17:32:38 -08:00
3e5ac730a8Networking: 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
e0d4eb7361Forgot an import in termios_darwin Upstream-commit: c914aaf43e9eea2e67f42fc93667a40c36b6cd35 Component: engine
shin-
2013-01-28 17:07:38 -08:00
2c16835563Fixed broken unit test after merge Upstream-commit: d802a31be538d7c90d3f33474595dfdb77b7e50e Component: engine
Andrea Luzzardi
2013-01-28 12:11:30 -08:00
9c18c9de84docker: 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
c2dc6c5c0bFilesystem: Re-implemented Umount() and IsMounted() to work around AUFS issues.
Andrea Luzzardi
2013-01-28 11:53:58 -08:00
9632a09e60Added 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
7b5bb8d40cfilesystem: Added IsMounted() unit tests Upstream-commit: d8bc912238dfa75dff0902b9d97133e200807bea Component: engine
Andrea Luzzardi
2013-01-28 11:51:41 -08:00
0dd4a9f417Experimenting with a UI which differentiates images and containers Upstream-commit: 904b0ab52b065025acbdba6fdc056ef1dff04d44 Component: engine
Solomon Hykes
2013-01-27 15:42:42 -08:00
ae634b26dfFixed 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
cc23af2ae6Fixed 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
58ab0c3fc4Removed 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
e87565c8dadocker 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
2787997349Create 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
12fbbf0518Plugged 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
488ccc535cFixed a bug preventing containers from running after being restored Upstream-commit: 6513a1d94ed25a5f99b1e3d1670781f7597f9d35 Component: engine
Andrea Luzzardi
2013-01-25 16:20:34 -08:00
d69e225ffbcontainer: 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
9e5cf65e8aFirst 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
10dcbda36fContainer.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
05f939e0c7Merge branch 'master' of github.com:dotcloud/docker Upstream-commit: 1df9819b257e2947c99c88973cc4cb7917b5ff62 Component: engine
Andrea Luzzardi
2013-01-25 14:09:54 -08:00
28021d1889Docker: 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
fd923fb16aFirst 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
1bc20b18f2rcli.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
34fa02708dFixed 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
5ddc825ec6Moved more utilities to docker/future Upstream-commit: 401dd3d8e02f720e5e3b2a0f337a57af41fa29c4 Component: engine
Solomon Hykes
2013-01-25 11:23:18 -08:00
8a21f0d542Merge branch 'master' of github.com:dotcloud/docker Upstream-commit: 9b300272df3faed12033c5c55b75cc05c9bbb3f3 Component: engine
Andrea Luzzardi
2013-01-25 11:06:07 -08:00
64bc4b3350Filesystem: Changes API Upstream-commit: 09502e4faa76fddf6245db3c3281e9a70beda076 Component: engine
Andrea Luzzardi
2013-01-25 11:05:11 -08:00
9dc7d71f11Factored 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
3158de6ca9Merge branch 'master' of github.com:dotcloud/docker Upstream-commit: 4fc390ee39b5cafdb90376edcb5f718534afdf5f Component: engine
Andrea Luzzardi
2013-01-24 18:11:08 -08:00
9772e0b30bEnabled 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
1abf5fbe3afilesystem 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
0faf2ae661GFR 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
f33d685f66Fixed 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
37ddcb4a4aState: Keep track of the container start time Upstream-commit: 64fc86fba760dd5cb34cd6d9f3ddf13dc3dc4280 Component: engine
Andrea Luzzardi
2013-01-22 15:03:27 -08:00
d26b69de49Filesystem: 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
0eec792d3dMerge branch 'master' of github.com:dotcloud/docker Upstream-commit: 005db1982d4e7548ef4fc4521f342b2e3f2701df Component: engine
Andrea Luzzardi
2013-01-22 11:13:38 -08:00
12fb0ecd0dContainer: 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
031dbdddebDocker: 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
28140e7cb7Fix 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
bfc265f408docker 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
ca769d4cf3docker 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
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
687925d998Improved '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
d7073c2d43Terser output for layer creation commands, to help scriptability Upstream-commit: f154ebf744e974c356c833a95d3c79d5785eb393 Component: engine
Solomon Hykes
2013-01-20 00:58:18 -08:00
da91bf2009Cosmetic fix when printing a comma-separated list of layers Upstream-commit: 417e72b0dd07dc5c9829e4fd0f8e1d72261b1a10 Component: engine
Solomon Hykes
2013-01-20 00:48:23 -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
805b157702Moved 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
3141df1e99Several 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
77822b3906Improved 'docker layers': --help, -q, filtering by name Upstream-commit: 7012f489898116c3f3768e504abcbf5aed64a1f4 Component: engine
Solomon Hykes
2013-01-20 00:37:52 -08:00
23b2055138CLI: more information in 'list' and 'layers' Upstream-commit: 27c7ecb587c64ecf2057189f06b3d5ce365ed6e7 Component: engine
Solomon Hykes
2013-01-19 17:43:42 -08:00
6aa1981e91CLI: don't crash with no arguments Upstream-commit: 3dc240c7eedd8d47d91704cf378d76658856fe79 Component: engine
Solomon Hykes
2013-01-19 17:41:59 -08:00
89000a0f7cPrototyping with a mock CLI and daemon Upstream-commit: e5323e7c9ab02c64e57396807d5b29b42d1f3904 Component: engine
Solomon Hykes
2013-01-19 16:07:19 -08:00