Commit Graph

  • 4e013b9e8e Fix a race condition when running the port allocator Upstream-commit: d32f184696519f909d1db56a060b39f0a08b41c5 Component: engine Solomon Hykes 2013-04-05 13:03:04 -07:00
  • 8d9a54f5f7 Bumping version to 0.1.3 Upstream-commit: a4fc52305abfcbc3976fa203898a1c3c8409a292 Component: engine Solomon Hykes 2013-04-04 23:05:03 -07:00
  • e9f0c90d6d Choose which TCP frontend port to allocate with '-p :PORT' Upstream-commit: 2aad4a34785a1b0d02d910a14dbb9b0d6d3edc17 Component: engine Solomon Hykes 2013-04-04 22:58:01 -07:00
  • c15214a816 Refactored PortAllocator to allow for same-frontend constraint Upstream-commit: a5fb1d6c0105bb6d93c6b6890aa33bd99115973a Component: engine Solomon Hykes 2013-04-04 22:56:12 -07:00
  • cee3dd3980 Renamed PortAllocator.populate() to run() Upstream-commit: f344212b93cc1de672a6a09906b719c2e287d558 Component: engine Solomon Hykes 2013-04-04 19:49:32 -07:00
  • 5140fcb35f Move the default bridge name to a constant Upstream-commit: 1b370f9d8dbd1c476db766e8587617e795570d97 Component: engine Guillaume J. Charmes 2013-04-04 05:33:28 -07:00
  • ad744d80e7 If bridge does not exists, try to create it Upstream-commit: aa4bf4284b4d18874544368349cb9575d8412de8 Component: engine Guillaume J. Charmes 2013-04-03 15:57:57 -07:00
  • 04e71efb01 Make LXC aware of custom bridge Upstream-commit: d9a9bfc9c7bee2e4316debcd9f393b8f2fb1e45a Component: engine Guillaume J. Charmes 2013-04-03 15:05:03 -07:00
  • 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 -07:00
  • ae8058f403 Put the bridge interface name in the command line Upstream-commit: f39af7e05da437d6ac95b19ccfa401598d1fb5d9 Component: engine Guillaume J. Charmes 2013-04-03 14:53:09 -07:00
  • 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 -07:00
  • 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 -07:00
  • 8bbb6b65f9 Merge branch 'master' of ssh://github.com/dotcloud/docker Upstream-commit: 3de51b7bfe27bd744470ee1e80dec8eb0c49f6de Component: engine Solomon Hykes 2013-04-04 17:00:59 -07:00
  • 1b644b6e4b Merge pull request #322 from sa2ajj/port-map-nitpick Solomon Hykes 2013-04-04 16:39:54 -07:00
  • b7d6bc48b8 Merge remote-tracking branch 'dominikh/minor-code-touchups' Upstream-commit: 586a79cca0c0b7f432e31807e3b8ca79d565c27e Component: engine Solomon Hykes 2013-04-04 16:20:37 -07:00
  • 33d69ebc2b Merge pull request #331 from lynaghk/master Solomon Hykes 2013-04-04 16:18:27 -07:00
  • 40e518a693 Merge pull request #320 from sa2ajj/cli-docs Solomon Hykes 2013-04-04 16:17:53 -07:00
  • 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 -07:00
  • bbe5556b93 Merge remote-tracking branch 'dominikh/improve-attachopts' Upstream-commit: 26088a72b34a0b2e17701f664e38a7d0a6ecd1b8 Component: engine Solomon Hykes 2013-04-04 15:18:41 -07:00
  • 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 -07:00
  • b59512a953 Merge remote-tracking branch 'unclejack/137-fix-nat' Upstream-commit: c4d3da58710d0b84754ab9f9c27aee0771a45574 Component: engine Solomon Hykes 2013-04-04 15:06:20 -07:00
  • f74f70aea0 stop looping remote:port from host to containers Upstream-commit: 32f58114766886fc38b66949bc3c0625dc225ade Component: engine unclejack 2013-04-04 22:56:37 +03:00
  • 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 -07:00
  • 908cac785f Fix broken link in doc site. Kevin J. Lynagh 2013-04-03 22:21:57 -07:00
  • 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 -07:00
  • a081015e8f Bumped version to 0.1.2 Upstream-commit: dce5a06aba8e79e8e5fe5724676961319def6001 Component: engine Solomon Hykes 2013-04-03 15:35:32 -07:00
  • 0e99b6b989 Fix NAT problem with ports looping back to containers Upstream-commit: 3b65be9127865fd894edea4d0b7de0ab92421018 Component: engine unclejack 2013-04-04 01:32:46 +03:00
  • 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 -07:00
  • da9369bbbf clean up AttachOpts type Dominik Honnef 2013-04-03 16:06:35 +02:00
  • 4e81438347 change option description to reflect the semantics Mikhail Sobolev 2013-04-03 16:37:56 +03:00
  • 8ee2fa2877 move each command description into a separate document Upstream-commit: cf8b8c1969daa423a1308561f3c1b2b863c64655 Component: engine Mikhail Sobolev 2013-04-02 04:52:44 +03:00
  • 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 -07:00
  • e0353cfeee Integrated @creack's feedback on TestRestore Upstream-commit: 7b74b9cab50ecd12ca2af51116279fce97edadd8 Component: engine shin- 2013-04-03 05:37:45 -07:00
  • 3025ceb6c5 remove superfluous panic Upstream-commit: 14d3880daf9bdfe52248b5b0548a5522161baf2c Component: engine Dominik Honnef 2013-04-03 11:19:48 +02:00
  • d6aac87dba replace unreachable returns with panics Dominik Honnef 2013-04-03 11:18:23 +02:00
  • 668c8b4472 use wg.Done() isntead of wg.Add(-1) Upstream-commit: cab31fd5128fbfcc2f1b44d3d643fe96a28c88fc Component: engine Dominik Honnef 2013-04-03 11:11:34 +02:00
  • f1a2914b2e kill the right containers in runtime_test Upstream-commit: 1fc55c2bb9bce1451d6199e8aaa23ef8baa0e46c Component: engine Dominik Honnef 2013-04-03 11:10:50 +02:00
  • 2aa92512ac remove dead code in CmdPush Upstream-commit: 5ecd940a594507075e6cee80aa70c258a9d850ca Component: engine Dominik Honnef 2013-04-03 11:08:32 +02:00
  • ee5a6f13c1 use fmt.Fprintf instead of fmt.Fprint Dominik Honnef 2013-04-03 11:04:33 +02:00
  • bfd11809a8 Discarding errors in CmdRun Upstream-commit: a19a9e3ca81880f030a7621a9e03ffb63c95b1f1 Component: engine Guillaume J. Charmes 2013-04-02 12:21:35 -07:00
  • 9ff05ec38f Close the broadcaster once they are not needed anymore Upstream-commit: ad2bbe23be869e3a3287cedbf0408115e97a4a49 Component: engine Guillaume J. Charmes 2013-04-02 12:19:01 -07:00
  • 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 -07:00
  • 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 -07:00
  • 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 -07:00
  • 36ddc7dcc6 Merged attachStdin Upstream-commit: 15c3096e8942ac31eb5611b41d08fcc31061be65 Component: engine Solomon Hykes 2013-04-02 20:46:32 -07:00
  • 23aad300e5 Merge remote-tracking branch 'robryk/writebroadcaster-stuff' Upstream-commit: 22d16229264aeb176acc40db2158d9b944cb3ef1 Component: engine Solomon Hykes 2013-04-02 20:35:13 -07:00
  • ca62613e60 Merged shawnsi/git-version Upstream-commit: 35c68944c7a5c7b7778c6cdb54b149e22c4c0c64 Component: engine Solomon Hykes 2013-04-02 20:26:22 -07:00
  • 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 -07:00
  • b539ba53c2 Merge remote-tracking branch 'sa2ajj/hostname-parameter' Upstream-commit: d6fb2a0836de056d79f4887eabfc2d79e8518988 Component: engine Solomon Hykes 2013-04-02 18:41:14 -07:00
  • 927b0fdedf Merged dhrp/docs Upstream-commit: 65aa3dda852115dae2501d65e2f4154c5a6ccf63 Component: engine Solomon Hykes 2013-04-02 18:39:39 -07:00
  • 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 -07:00
  • b447b03d62 Merge remote-tracking branch 'unclejack/194-high-image-compression' Upstream-commit: 0e1781af26c3d7770ee6b50955f9f947790baf6d Component: engine Solomon Hykes 2013-04-02 18:10:07 -07:00
  • 032c20ebdf Merge branch 'master' into attach-stdin Upstream-commit: 14d9f51bbec3d68522d48857e089e5c8179d805c Component: engine Solomon Hykes 2013-04-02 18:07:45 -07:00
  • 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 -07:00
  • 506ecddd21 Add test for attaching only stdin at run with 'docker run -i -a=stdin' Upstream-commit: c77063afcd00f97c6922c41e509090dd4f8c2b95 Component: engine Solomon Hykes 2013-04-02 18:05:19 -07:00
  • 5597e432af 'docker run' in attached mode no longer waits for the process to exit. Take this into account in the tests. Upstream-commit: 2db358146f8bc0f63d840c8e0227bcbe7a8e3063 Component: engine Solomon Hykes 2013-04-02 11:07:49 -07:00
  • 8a9e7f42f0 When simulating disconnects in the tests, make sure that the command returns - but don't check for a specific return value Upstream-commit: 1cc1cb099ed8fb0e4fc47debe38a33d17e211a65 Component: engine Solomon Hykes 2013-04-02 11:06:42 -07:00
  • cd9062641b Activate Config.StdinOnce at argument parsing Upstream-commit: aea2675f7b2e4aa8bf63c8472af40bc059bd5d14 Component: engine Solomon Hykes 2013-04-02 11:02:19 -07:00
  • 138633b4ab [unit tests] Cleanly kill all containers before nuking a temporary runtime Upstream-commit: 8f9e4542417421ee62ac952d1e04268520a75d8f Component: engine Solomon Hykes 2013-04-02 11:00:14 -07:00
  • 96ec0e911c Use an environment variable to activate debug mode, instead of a package-specific flag Upstream-commit: 76663079312bb501f545823d9650df9eeda2c882 Component: engine Solomon Hykes 2013-04-02 10:58:16 -07:00
  • 693692b24b Implementing dirty git checkout indicator Upstream-commit: 5471f5b2ee4bd637147a1ea1dce716670b50796d Component: engine Shawn Siefkas 2013-04-02 09:38:08 -05:00
  • 7e0b5d8ac6 variable names Upstream-commit: 02c211a0dca91bb3744b6c1301e372799189881f Component: engine shin- 2013-04-02 07:13:42 -07:00
  • 5e064a959a More thorough test case, use container.Stop() instead of lxc-kill, use setStopped() during the restore step Upstream-commit: c780ff5ae726bc8acd30b9ef476cd111c477ec35 Component: engine shin- 2013-04-02 07:01:43 -07:00
  • 058965deb1 Merge branch 'master' into 257-container_real_running_state-fix Upstream-commit: 8edf0ca7f35c54ed0184ed0b7e086f1bd8ce5e63 Component: engine shin- 2013-04-02 06:37:50 -07:00
  • e2ff0716cb Merge pull request #317 from dotcloud/307-loginfix Joffrey F 2013-04-02 03:01:23 -07:00
  • 3421949564 Fix for #307 Upstream-commit: 8fed600077d5b8d976adec27dfb822166ca7baa5 Component: engine shin- 2013-04-02 03:00:21 -07:00
  • 450827385c Renamed writeBroadcaster.Close() to CloseWriters(). Upstream-commit: a83d87abd442dda5f2d67a2701aae9c7b891e68a Component: engine Robert Obryk 2013-04-02 10:45:17 +02:00
  • f7fc21bc5d Refactored CmdRun and CmdAttach to use Container.Attach Upstream-commit: c808940c041ca8c7f9f9c5e0fa93e37ebfdd412a Component: engine Solomon Hykes 2013-04-01 23:52:20 -07:00
  • 38ad5f3006 Fixed a lot of language and small things. Upstream-commit: 81874ad4425ed1a3520944bfcced271041e7b0f4 Component: engine Thatcher Peskens 2013-04-01 19:11:09 -07:00
  • e2d87791af Merge pull request #288 from titanous/expand-contributing Solomon Hykes 2013-04-01 18:45:18 -07:00
  • 97cc7d17c5 Merge pull request #312 from sa2ajj/devenv-doc-fix Solomon Hykes 2013-04-01 18:40:29 -07:00
  • cadfddb770 fix code block formatting Upstream-commit: 90db9e751750e62ea701843491774323ef20ab06 Component: engine Mikhail Sobolev 2013-04-02 04:26:00 +03:00
  • 7a184f8e80 Merge remote-tracking branch 'dotcloud/master' into dhrp/docs Upstream-commit: f15889461d6aeebfb06835823ed67266a6d9042f Component: engine Thatcher Peskens 2013-04-01 18:11:46 -07:00
  • 57d6ae86a7 Merge pull request #286 from titanous/285-close-bodies Guillaume J. Charmes 2013-04-01 17:59:22 -07:00
  • cab6cd5ccd Merge pull request #305 from fsouza/master Solomon Hykes 2013-04-01 16:28:29 -07:00
  • a700cb8847 use xz compression when pushing images to the registry unclejack 2013-04-02 02:19:34 +03:00
  • c1d869bdb5 add support for xz compression unclejack 2013-04-02 02:16:28 +03:00
  • 45a54423e7 Images can be removed by short-hand ID. Solves #306. Upstream-commit: ff5cb8e864b87d3976b368ae544010f5736d1da2 Component: engine Solomon Hykes 2013-04-01 16:04:44 -07:00
  • 9c0eadc435 Add test to reproduce issue #306 Upstream-commit: 7ad2e022fb737286b5803066bde6919e2d544c4e Component: engine Solomon Hykes 2013-04-01 16:02:02 -07:00
  • 21d5e7b3d6 add host name parameter to "run" command Mikhail Sobolev 2013-04-01 23:03:24 +03:00
  • 21949938ee make complex options to stand out Upstream-commit: dcc9dfb27d49c7e7f58e04bf5656656f69e76fe1 Component: engine Mikhail Sobolev 2013-03-28 07:50:33 +02:00
  • 4c1daebf6d makefile: simplify "fmt" target, and include -s flag Upstream-commit: 650dff73bdd48058ec0186cbda90683ff2287df0 Component: engine Francisco Souza 2013-04-01 18:50:25 -03:00
  • 45293ca626 Merge pull request #304 from paulhammond/mkimage-busybox-fixes Solomon Hykes 2013-04-01 14:38:00 -07:00
  • 75a146bba9 Fix mkimage-busybox Upstream-commit: cc2558bf10817b086fcb9783474d47db24d2cb3a Component: engine Paul Hammond 2013-04-01 14:34:12 -07:00
  • a9b7db02e4 Shortening the git commit used in the version command Upstream-commit: e566b89a5f13f36fad2e2bb37faf9079e06e051e Component: engine Shawn Siefkas 2013-04-01 16:31:33 -05:00
  • c43539098b Merge remote-tracking branch 'origin/progress_bar_push_pull' Upstream-commit: 47c4c2abd42d06d14d28f894b4ba980d61f94f5c Component: engine Solomon Hykes 2013-04-01 13:49:07 -07:00
  • 5d71af1ed4 Merge branch 'master' of ssh://github.com/dotcloud/docker Upstream-commit: fa5bb5acf1ed847f8645284b48faa311162ddce1 Component: engine Solomon Hykes 2013-04-01 13:44:19 -07:00
  • 464ac2f144 Merge pull request #300 from cespare/make-fmt Solomon Hykes 2013-04-01 13:41:53 -07:00
  • 91936db4ba Merge pull request #301 from dotcloud/container_test_improvment-1 Guillaume J. Charmes 2013-04-01 13:36:02 -07:00
  • 741a443d40 Add a 'fmt' target to the Makefile. Caleb Spare 2013-04-01 13:05:00 -07:00
  • 5f6e565b52 Adding git commit to the version output Shawn Siefkas 2013-04-01 13:12:56 -05:00
  • 819ad2b9f0 Expand the contributing guidelines Upstream-commit: 321d94b17e0b23754cb8c5858c11bef554ec8279 Component: engine Jonathan Rudenberg 2013-04-01 12:28:54 -04:00
  • 953809e9d0 Close HTTP response bodies Jonathan Rudenberg 2013-04-01 09:49:51 -04:00
  • 875003ed92 Avoid destroy() timeout by closing stdin in TestStart() Upstream-commit: 91b1f9eee9729fc9845eaecdad88a7a5050a33de Component: engine Guillaume J. Charmes 2013-03-31 22:42:10 -07:00
  • 8d2e25b6d1 Merge pull request #298 from cespare/cleanup-1 Guillaume J. Charmes 2013-04-01 13:26:40 -07:00
  • 4d479797e6 Don't use an interface{} where a string will do. Upstream-commit: 887f509d1dd2a5e34fbfb19ccd2c4b1eb3127dbd Component: engine Caleb Spare 2013-03-30 00:36:27 -07:00
  • c5d25049cd A few spelling/grammar corrections. Upstream-commit: 13d2b086386196e9f4f03e4a18d508a65f6fc5ff Component: engine Caleb Spare 2013-03-30 00:22:24 -07:00
  • 2ac307781e Use a *println or *print function instead of *printf where appropriate. Upstream-commit: c298a91f95dafb056cede9036f5e81f259b8f3e9 Component: engine Caleb Spare 2013-03-30 00:23:12 -07:00
  • 1ceba2a123 Don't convert []byte to string unnecessarily. Upstream-commit: 15b30881570369564bde3f7d8faf4491b2ebfaab Component: engine Caleb Spare 2013-03-30 00:22:56 -07:00
  • 70d73b8c8b Don't use a strings.Reader where a bytes.Reader will do. Caleb Spare 2013-03-30 00:20:40 -07:00