Commit Graph

  • 0327a0e1c1 Merge remote-tracking branch 'origin/fix_flush_behaviour' Upstream-commit: 2e9a73c5d851ec3893c1013721bdaf3362c92dfc Component: engine Solomon Hykes 2013-04-09 10:31:56 -0700
  • 34cecb4070 Flush stdout on import to avoid deadklock when waiting for stdin (import -). Fixed #365 Upstream-commit: 1eaaa6b744b8017e7d31bdf9dc7095663b4c930c Component: engine Guillaume J. Charmes 2013-04-09 10:02:57 -0700
  • 00965e0e9e Flush whether or not there we set the rawmode to avoid the client to lock Upstream-commit: cb54e9c659c681fde5311aacefe0e5ea8c564e17 Component: engine Guillaume J. Charmes 2013-04-09 09:59:30 -0700
  • fb9222b734 Add inconditionnal lock in Start/Stop/Kill to avoid races Upstream-commit: 7c2b085d1a1394dc88b0cdf5c9df02ee1c1b2229 Component: engine Guillaume J. Charmes 2013-04-09 09:09:54 -0700
  • 555829afe7 Update the unit test to reflect the new CmdRun behaviour in tty mode Upstream-commit: d063d52cce9892c777722b30923d9fb1f1385fe8 Component: engine Guillaume J. Charmes 2013-04-09 08:18:36 -0700
  • e37ef931cd Change the behaviour of CmdRun in tty mode: dont kill the process uppon detach Upstream-commit: 64c1b6d9cd16b7d4cc8ebda2de82bc76e0c99f43 Component: engine Guillaume J. Charmes 2013-04-09 08:18:16 -0700
  • 5cd0f30a95 add documentation for running a redis process with docker Upstream-commit: 8f15c423e6049507908ec6e7b139f8bccbd6d3ba Component: engine John Costa 2013-04-09 11:04:14 -0400
  • b8a98bd6d9 Remove the mutexes and use chan instead in order to handle the wait lock Upstream-commit: 329f4449dc0f5722150a8160262b817e12be20fc Component: engine Guillaume J. Charmes 2013-04-09 07:57:59 -0700
  • 7c684984e1 Merge pull request #346 from srid/patch-2 Solomon Hykes 2013-04-08 22:12:34 -0700
  • f699045f76 Merge remote-tracking branch 'origin/pty_fix-1' Upstream-commit: 10923c7890871ac4e83a73f4dbf6e3981a106759 Component: engine Solomon Hykes 2013-04-08 21:12:22 -0700
  • 318f58e654 Added code and color for 'note' and updated the hello world note. Upstream-commit: 2832ea0cfeb8eb69cf42db5ec0a115300e1383b9 Component: engine Thatcher Peskens 2013-04-08 20:10:47 -0700
  • ef277ddef4 Merge remote-tracking branch 'origin/unit_test_improvment-2' Upstream-commit: a7299a3f2617a797af0df3082590ca361b687bf4 Component: engine Solomon Hykes 2013-04-08 18:29:12 -0700
  • 03ac5529c3 Make it more clear when Docker fails to allocate a free IP range for its bridge Upstream-commit: 1601366cb6bfb9671ec28ced0bf88d11049264d3 Component: engine Solomon Hykes 2013-04-08 18:16:58 -0700
  • 44ca22c601 sync with README Upstream-commit: 9875a9b1f1b59114356c129f42449e2d62427f65 Component: engine Sridhar Ratnakumar 2013-04-07 00:43:57 -0700
  • 13705974c6 make the service example work Sridhar Ratnakumar 2013-04-07 00:41:24 -0700
  • c8a8294b68 Move the DockerConn flush to its own function Upstream-commit: c83393a541353ab34612d80cc6b9bb4e92c59597 Component: engine Guillaume J. Charmes 2013-04-05 20:08:31 -0700
  • b2cdbb0f98 Make sure to flush buffer when setting raw mode Upstream-commit: 7e1e7d14fa257692231bc7e13e796e07607879c2 Component: engine Guillaume J. Charmes 2013-04-05 19:48:49 -0700
  • 91c3817cdd Fix run disconnect behavious in tty mode + add unit test to enforce it Upstream-commit: 99b5bec0692ea9ec8a397926df9dd545fb264ac9 Component: engine Guillaume J. Charmes 2013-04-05 19:02:35 -0700
  • 561e5a7afb Cleanup pty variable names Upstream-commit: 7d8895545e2442ea095f83c90edff64835a0d0b5 Component: engine Guillaume J. Charmes 2013-04-04 12:12:22 -0700
  • 8f7ae9e955 Make sure the process start in his own session and grabs the terminal Upstream-commit: 33a5fe3bd4cb0bd31b01da89c8c4c3321701e7a1 Component: engine Guillaume J. Charmes 2013-04-04 11:24:22 -0700
  • 0d916a930b Merge the 3 ptys in 1 Upstream-commit: 847a8f45a45dccd0574396b888670004e32762e6 Component: engine Guillaume J. Charmes 2013-04-04 11:23:51 -0700
  • 6fa32df65e Update the tests according to the "optional raw mode" changes Upstream-commit: e9a68801ba4c47581d7741989700a35521c389c4 Component: engine Louis Opter 2013-04-08 16:06:55 -0700
  • 5d32e30fa3 Add missing file Upstream-commit: f73401fb9a0993d12da9ef60f265cd0502bb3808 Component: engine Guillaume J. Charmes 2013-04-05 16:43:12 -0700
  • 8c4cdab2b2 Set the raw mode only for tty enabled containers Upstream-commit: dcf4572a6914e50ce8797503ff0c180027d28301 Component: engine Guillaume J. Charmes 2013-04-04 21:51:40 -0700
  • b7ec43b00f Make commands.go more idiomatic. Use DockerConn only when needed, keep io.Writer when not Upstream-commit: d530d581f7362aab16e9dfeee1143dd5c824e6c7 Component: engine Guillaume J. Charmes 2013-04-04 20:19:06 -0700
  • ab2b1cf277 Reenable CmdRunAttachStdin and CmdRunHostname now using the DockConn interface Upstream-commit: bdf05d8368f2d158ba051dbefeb07bc717a93774 Component: engine Guillaume J. Charmes 2013-04-04 20:08:58 -0700
  • 46d56b94a2 Improve error management (avoid unwanted output in tests) Upstream-commit: b71b226cc1a69be5ce640f07b8de9c129e478360 Component: engine Guillaume J. Charmes 2013-04-04 19:21:36 -0700
  • 7e2a370b5c Edit the tests for them to use the new command API. Disable TestRunHostname and TestAttachStdin. Upstream-commit: 80f6b4587b6ebaed30747d17b69af4d11d6389ab Component: engine Guillaume J. Charmes 2013-04-04 19:00:14 -0700
  • a479f5cbd8 Use io.WriteCloser instead of *os.File in DockerLocalConn so we can use it with standard writers and pipes Upstream-commit: e6e9c1cd62bf78e66623950a9f76ef76c6f0f792 Component: engine Guillaume J. Charmes 2013-04-04 18:52:03 -0700
  • 2c9d6a2303 Move DockerLocalConn and terminal functions form package "main" to "rcli" in order to be able to use DockerLocalConn in commands_test.go Upstream-commit: 246eed52de1038ccec462e500b942711735a7c24 Component: engine Guillaume J. Charmes 2013-04-04 18:36:34 -0700
  • e262b369bb Simplification in the goroutine that restore the terminal state on SIGINT Upstream-commit: b306a6073882e7995d74801d77d7baca4b12ec86 Component: engine Louis Opter 2013-04-03 16:32:47 -0700
  • 7815b9b259 Only set the terminal in raw mode for commands which need it Louis Opter 2013-04-03 12:25:19 -0700
  • 6d5af0ec53 Remove the unused http transport from rcli Upstream-commit: 4e5001b46a3281809db0c6402a3e077fd1bef9cd Component: engine Louis Opter 2013-04-03 12:07:22 -0700
  • 0231b887bd Merge pull request #347 from kencochrane/303_docs_fix Solomon Hykes 2013-04-08 11:50:07 -0700
  • a8b5919caf Merge pull request #356 from flavio/improve_python_web_app_example Solomon Hykes 2013-04-08 11:49:17 -0700
  • 4e538f07a8 Extend the documentation covering the web app example Flavio Castelli 2013-04-08 17:39:30 +0200
  • 36efc4e5a2 added headers to examples linking back to running the examples page Upstream-commit: 6eb8a74ff9aee90fe488de151fab6ec234b61d2a Component: engine Ken Cochrane 2013-04-07 10:23:00 -0400
  • 05821916a6 made a new running the examples page, and added a link to the top of each example to the page to show people how to run them. Upstream-commit: 81ebf4fcf6fe3521c606b5abcbe151176c51aca9 Component: engine Ken Cochrane 2013-04-07 10:21:08 -0400
  • cba4b1444c Increase the timeout in TestStart() to make sure the container has the time to die within the function Upstream-commit: 20085794f023e2e5cf7d772a67f9c3b2e3afc93f Component: engine Guillaume J. Charmes 2013-04-05 02:01:38 -0700
  • 51b0dca52e Prevent destroy() to stop twice container in TestRestore() Upstream-commit: b76b329ef05748e75224e8fd09c1c697ddfd2a50 Component: engine Guillaume J. Charmes 2013-04-04 20:40:42 -0700
  • 2bc3ef6328 Increase the timeout of TestRestore() to avoid unwanted timeout error Upstream-commit: bae6f9583060187116aa8a069d0e63abfede5de0 Component: engine Guillaume J. Charmes 2013-04-04 20:32:44 -0700
  • d8fb828ed6 Avoid unwanted warnings from destroy() in TestStart() Upstream-commit: cda9cf1539b4e3ce24ce77892b1e68ddb454f566 Component: engine Guillaume J. Charmes 2013-04-04 20:30:24 -0700
  • 329e4c0143 Changed default bridge interface do 'docker0' Upstream-commit: 8cf30395a1a338c7c34adda0ae59ba8b2f9370cd Component: engine Solomon Hykes 2013-04-05 14:16:19 -0700
  • a5a58e7b30 The flag to use a pre-existing bridge interface is '-b'. Added explanation Upstream-commit: 22adb52c0aaf4ff53d37eb45566d6aeeb907ed09 Component: engine Solomon Hykes 2013-04-05 14:16:04 -0700
  • 3bb1012d01 Merge remote-tracking branch 'origin/219-default-bridge-2' Upstream-commit: 793c1ad9909701a8b89ac6731ac266048e48ec46 Component: engine Solomon Hykes 2013-04-05 14:02:16 -0700
  • f49bdcbf33 Add tests of tcp port allocator Upstream-commit: febaeebfb8848265267213b2f6a6fc3a40ad90f1 Component: engine Solomon Hykes 2013-04-05 13:03:24 -0700
  • 4e013b9e8e Fix a race condition when running the port allocator Upstream-commit: d32f184696519f909d1db56a060b39f0a08b41c5 Component: engine Solomon Hykes 2013-04-05 13:03:04 -0700
  • 8d9a54f5f7 Bumping version to 0.1.3 Upstream-commit: a4fc52305abfcbc3976fa203898a1c3c8409a292 Component: engine Solomon Hykes 2013-04-04 23:05:03 -0700
  • e9f0c90d6d Choose which TCP frontend port to allocate with '-p :PORT' Upstream-commit: 2aad4a34785a1b0d02d910a14dbb9b0d6d3edc17 Component: engine Solomon Hykes 2013-04-04 22:58:01 -0700
  • c15214a816 Refactored PortAllocator to allow for same-frontend constraint Upstream-commit: a5fb1d6c0105bb6d93c6b6890aa33bd99115973a Component: engine Solomon Hykes 2013-04-04 22:56:12 -0700
  • cee3dd3980 Renamed PortAllocator.populate() to run() Upstream-commit: f344212b93cc1de672a6a09906b719c2e287d558 Component: engine Solomon Hykes 2013-04-04 19:49:32 -0700
  • 5140fcb35f Move the default bridge name to a constant Upstream-commit: 1b370f9d8dbd1c476db766e8587617e795570d97 Component: engine Guillaume J. Charmes 2013-04-04 05:33:28 -0700
  • ad744d80e7 If bridge does not exists, try to create it Upstream-commit: aa4bf4284b4d18874544368349cb9575d8412de8 Component: engine Guillaume J. Charmes 2013-04-03 15:57:57 -0700
  • 04e71efb01 Make LXC aware of custom bridge Upstream-commit: d9a9bfc9c7bee2e4316debcd9f393b8f2fb1e45a Component: engine Guillaume J. Charmes 2013-04-03 15:05:03 -0700
  • d25d9d9cff Add an helper function to check if two network overlaps. Also add unit tests for this function Upstream-commit: 90a6e310fe4c70b99f9fa5c8d8615e2382edba0b Component: engine Guillaume J. Charmes 2013-04-03 14:53:54 -0700
  • ae8058f403 Put the bridge interface name in the command line Upstream-commit: f39af7e05da437d6ac95b19ccfa401598d1fb5d9 Component: engine Guillaume J. Charmes 2013-04-03 14:53:09 -0700
  • 6b2f94ee3c Print a less confusing error message when lxcbr0 doesn't exist Upstream-commit: 0424998f3885b715ad0fae074170a9be19c95680 Component: engine Solomon Hykes 2013-04-04 19:14:10 -0700
  • 4b2813872d Add versioning to docker image format. IMPORTANT: the format versioning is pegged to docker's versioning, so changes to the format MUST trigger an increment in version number. Upstream-commit: 8bfbdd7afa504a1ddb09d026feb4d20eac4b4dd5 Component: engine Solomon Hykes 2013-04-04 18:38:43 -0700
  • 8bbb6b65f9 Merge branch 'master' of ssh://github.com/dotcloud/docker Upstream-commit: 3de51b7bfe27bd744470ee1e80dec8eb0c49f6de Component: engine Solomon Hykes 2013-04-04 17:00:59 -0700
  • 1b644b6e4b Merge pull request #322 from sa2ajj/port-map-nitpick Solomon Hykes 2013-04-04 16:39:54 -0700
  • b7d6bc48b8 Merge remote-tracking branch 'dominikh/minor-code-touchups' Upstream-commit: 586a79cca0c0b7f432e31807e3b8ca79d565c27e Component: engine Solomon Hykes 2013-04-04 16:20:37 -0700
  • 33d69ebc2b Merge pull request #331 from lynaghk/master Solomon Hykes 2013-04-04 16:18:27 -0700
  • 40e518a693 Merge pull request #320 from sa2ajj/cli-docs Solomon Hykes 2013-04-04 16:17:53 -0700
  • 862b5a4380 Merge remote-tracking branch 'origin/257-container_real_running_state-fix' Upstream-commit: 6b5fe8c2ec9762617cf53ee241fcb284dfa77196 Component: engine Solomon Hykes 2013-04-04 15:34:18 -0700
  • bbe5556b93 Merge remote-tracking branch 'dominikh/improve-attachopts' Upstream-commit: 26088a72b34a0b2e17701f664e38a7d0a6ecd1b8 Component: engine Solomon Hykes 2013-04-04 15:18:41 -0700
  • 7286773837 Continue cleaning up iptables rules from previous version, to avoid crashing after an upgrade Upstream-commit: ebc837957fb45c4ba4768a2344ea7b551bbb86e5 Component: engine Solomon Hykes 2013-04-04 15:16:42 -0700
  • b59512a953 Merge remote-tracking branch 'unclejack/137-fix-nat' Upstream-commit: c4d3da58710d0b84754ab9f9c27aee0771a45574 Component: engine Solomon Hykes 2013-04-04 15:06:20 -0700
  • f74f70aea0 stop looping remote:port from host to containers Upstream-commit: 32f58114766886fc38b66949bc3c0625dc225ade Component: engine unclejack 2013-04-04 22:56:37 +0300
  • 869e8630b3 Merge remote-tracking branch 'origin/328-i_o_error_uncloced_connection-fix' Upstream-commit: a7f191d51db984cdcad568f213288efdc73fe103 Component: engine Solomon Hykes 2013-04-04 11:03:39 -0700
  • 908cac785f Fix broken link in doc site. Kevin J. Lynagh 2013-04-03 22:21:57 -0700
  • d4dda83ea6 Simplified Graph.Delete() - no more garbage collecting, just atomic deregister then os.RemoveAll Upstream-commit: 5d3c0767dab1679686933a9b4cf4ddde19bc0faf Component: engine Solomon Hykes 2013-04-03 22:14:28 -0700
  • a081015e8f Bumped version to 0.1.2 Upstream-commit: dce5a06aba8e79e8e5fe5724676961319def6001 Component: engine Solomon Hykes 2013-04-03 15:35:32 -0700
  • 0e99b6b989 Fix NAT problem with ports looping back to containers Upstream-commit: 3b65be9127865fd894edea4d0b7de0ab92421018 Component: engine unclejack 2013-04-04 01:32:46 +0300
  • bb5c0135f0 Check WaitTimeout return in test, replaced lock initialization in runtime.Register() with call to initLock() Upstream-commit: ad0183e41978b3b156234f801750034912915223 Component: engine shin- 2013-04-03 10:48:02 -0700
  • da9369bbbf clean up AttachOpts type Dominik Honnef 2013-04-03 16:06:35 +0200
  • 4e81438347 change option description to reflect the semantics Mikhail Sobolev 2013-04-03 16:37:56 +0300
  • 8ee2fa2877 move each command description into a separate document Upstream-commit: cf8b8c1969daa423a1308561f3c1b2b863c64655 Component: engine Mikhail Sobolev 2013-04-02 04:52:44 +0300
  • 23a4c38130 Moved resetLock() to the Load() method ; changed resetLock() to initLock() and changed behavior to not modify the lock if it was already set (not nil) Upstream-commit: d1767bbf672355b9063099d641106dd4ea5303b3 Component: engine shin- 2013-04-03 05:39:39 -0700
  • e0353cfeee Integrated @creack's feedback on TestRestore Upstream-commit: 7b74b9cab50ecd12ca2af51116279fce97edadd8 Component: engine shin- 2013-04-03 05:37:45 -0700
  • 3025ceb6c5 remove superfluous panic Upstream-commit: 14d3880daf9bdfe52248b5b0548a5522161baf2c Component: engine Dominik Honnef 2013-04-03 11:19:48 +0200
  • d6aac87dba replace unreachable returns with panics Dominik Honnef 2013-04-03 11:18:23 +0200
  • 668c8b4472 use wg.Done() isntead of wg.Add(-1) Upstream-commit: cab31fd5128fbfcc2f1b44d3d643fe96a28c88fc Component: engine Dominik Honnef 2013-04-03 11:11:34 +0200
  • f1a2914b2e kill the right containers in runtime_test Upstream-commit: 1fc55c2bb9bce1451d6199e8aaa23ef8baa0e46c Component: engine Dominik Honnef 2013-04-03 11:10:50 +0200
  • 2aa92512ac remove dead code in CmdPush Upstream-commit: 5ecd940a594507075e6cee80aa70c258a9d850ca Component: engine Dominik Honnef 2013-04-03 11:08:32 +0200
  • ee5a6f13c1 use fmt.Fprintf instead of fmt.Fprint Dominik Honnef 2013-04-03 11:04:33 +0200
  • bfd11809a8 Discarding errors in CmdRun Upstream-commit: a19a9e3ca81880f030a7621a9e03ffb63c95b1f1 Component: engine Guillaume J. Charmes 2013-04-02 12:21:35 -0700
  • 9ff05ec38f Close the broadcaster once they are not needed anymore Upstream-commit: ad2bbe23be869e3a3287cedbf0408115e97a4a49 Component: engine Guillaume J. Charmes 2013-04-02 12:19:01 -0700
  • 20aa05fbaa Add a stdincloser to container.Attach in order to close the client connection when needed Upstream-commit: 6882c78ce447b468262b53aef2ac0577151ea98c Component: engine Guillaume J. Charmes 2013-04-02 12:18:20 -0700
  • 2dc1c74a96 Better crash simulation in TestRestore ; force state lock creation when loading a container from disk Upstream-commit: 791ca6fde47d26a96134b1715580303ea6cd17ed Component: engine shin- 2013-04-02 10:06:49 -0700
  • 44017879ad Add a TestRunExit, make sure cmdRun returns after process dies Upstream-commit: 43484e8b502be1dbf2e587524ae8ef036181b186 Component: engine Guillaume J. Charmes 2013-04-02 09:22:30 -0700
  • 36ddc7dcc6 Merged attachStdin Upstream-commit: 15c3096e8942ac31eb5611b41d08fcc31061be65 Component: engine Solomon Hykes 2013-04-02 20:46:32 -0700
  • 23aad300e5 Merge remote-tracking branch 'robryk/writebroadcaster-stuff' Upstream-commit: 22d16229264aeb176acc40db2158d9b944cb3ef1 Component: engine Solomon Hykes 2013-04-02 20:35:13 -0700
  • ca62613e60 Merged shawnsi/git-version Upstream-commit: 35c68944c7a5c7b7778c6cdb54b149e22c4c0c64 Component: engine Solomon Hykes 2013-04-02 20:26:22 -0700
  • 57e119bf13 TestRunHostname checks that 'docker run -h' correctly sets a custom hostname Upstream-commit: b1fa26bb76501c53f68de466538da1eece57d94d Component: engine Solomon Hykes 2013-04-02 19:00:05 -0700
  • b539ba53c2 Merge remote-tracking branch 'sa2ajj/hostname-parameter' Upstream-commit: d6fb2a0836de056d79f4887eabfc2d79e8518988 Component: engine Solomon Hykes 2013-04-02 18:41:14 -0700
  • 927b0fdedf Merged dhrp/docs Upstream-commit: 65aa3dda852115dae2501d65e2f4154c5a6ccf63 Component: engine Solomon Hykes 2013-04-02 18:39:39 -0700
  • 6806cbe306 Fix a bug which caused 'docker push' to fail with 411-lenght-required in Go 1.0 Upstream-commit: a05af3ebf32da594648352a30b9045c67ba9cbbb Component: engine Solomon Hykes 2013-04-02 18:37:29 -0700
  • b447b03d62 Merge remote-tracking branch 'unclejack/194-high-image-compression' Upstream-commit: 0e1781af26c3d7770ee6b50955f9f947790baf6d Component: engine Solomon Hykes 2013-04-02 18:10:07 -0700
  • 032c20ebdf Merge branch 'master' into attach-stdin Upstream-commit: 14d9f51bbec3d68522d48857e089e5c8179d805c Component: engine Solomon Hykes 2013-04-02 18:07:45 -0700
  • 7777dd857e docker run [-a [stdin|stdout|stderr] [...]]: choose which streams to attach to when running a command. Fixes #234. Upstream-commit: c04af2a330991fcd52bcce213bcb863cff95d378 Component: engine Solomon Hykes 2013-04-02 18:07:16 -0700