4e013b9e8eFix a race condition when running the port allocator Upstream-commit: d32f184696519f909d1db56a060b39f0a08b41c5 Component: engine
Solomon Hykes
2013-04-05 13:03:04 -07:00
8d9a54f5f7Bumping version to 0.1.3 Upstream-commit: a4fc52305abfcbc3976fa203898a1c3c8409a292 Component: engine
Solomon Hykes
2013-04-04 23:05:03 -07:00
e9f0c90d6dChoose which TCP frontend port to allocate with '-p :PORT' Upstream-commit: 2aad4a34785a1b0d02d910a14dbb9b0d6d3edc17 Component: engine
Solomon Hykes
2013-04-04 22:58:01 -07:00
c15214a816Refactored PortAllocator to allow for same-frontend constraint Upstream-commit: a5fb1d6c0105bb6d93c6b6890aa33bd99115973a Component: engine
Solomon Hykes
2013-04-04 22:56:12 -07:00
5140fcb35fMove the default bridge name to a constant Upstream-commit: 1b370f9d8dbd1c476db766e8587617e795570d97 Component: engine
Guillaume J. Charmes
2013-04-04 05:33:28 -07:00
ad744d80e7If bridge does not exists, try to create it Upstream-commit: aa4bf4284b4d18874544368349cb9575d8412de8 Component: engine
Guillaume J. Charmes
2013-04-03 15:57:57 -07:00
04e71efb01Make LXC aware of custom bridge Upstream-commit: d9a9bfc9c7bee2e4316debcd9f393b8f2fb1e45a Component: engine
Guillaume J. Charmes
2013-04-03 15:05:03 -07:00
d25d9d9cffAdd 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
ae8058f403Put the bridge interface name in the command line Upstream-commit: f39af7e05da437d6ac95b19ccfa401598d1fb5d9 Component: engine
Guillaume J. Charmes
2013-04-03 14:53:09 -07:00
6b2f94ee3cPrint 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
4b2813872dAdd 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
7286773837Continue 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
908cac785fFix broken link in doc site.
Kevin J. Lynagh
2013-04-03 22:21:57 -07:00
d4dda83ea6Simplified 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
a081015e8fBumped version to 0.1.2 Upstream-commit: dce5a06aba8e79e8e5fe5724676961319def6001 Component: engine
Solomon Hykes
2013-04-03 15:35:32 -07:00
0e99b6b989Fix NAT problem with ports looping back to containers Upstream-commit: 3b65be9127865fd894edea4d0b7de0ab92421018 Component: engine
unclejack
2013-04-04 01:32:46 +03:00
bb5c0135f0Check 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
da9369bbbfclean up AttachOpts type
Dominik Honnef
2013-04-03 16:06:35 +02:00
4e81438347change option description to reflect the semantics
Mikhail Sobolev
2013-04-03 16:37:56 +03:00
8ee2fa2877move each command description into a separate document Upstream-commit: cf8b8c1969daa423a1308561f3c1b2b863c64655 Component: engine
Mikhail Sobolev
2013-04-02 04:52:44 +03:00
23a4c38130Moved 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
f1a2914b2ekill the right containers in runtime_test Upstream-commit: 1fc55c2bb9bce1451d6199e8aaa23ef8baa0e46c Component: engine
Dominik Honnef
2013-04-03 11:10:50 +02:00
2aa92512acremove dead code in CmdPush Upstream-commit: 5ecd940a594507075e6cee80aa70c258a9d850ca Component: engine
Dominik Honnef
2013-04-03 11:08:32 +02:00
ee5a6f13c1use fmt.Fprintf instead of fmt.Fprint
Dominik Honnef
2013-04-03 11:04:33 +02:00
bfd11809a8Discarding errors in CmdRun Upstream-commit: a19a9e3ca81880f030a7621a9e03ffb63c95b1f1 Component: engine
Guillaume J. Charmes
2013-04-02 12:21:35 -07:00
9ff05ec38fClose the broadcaster once they are not needed anymore Upstream-commit: ad2bbe23be869e3a3287cedbf0408115e97a4a49 Component: engine
Guillaume J. Charmes
2013-04-02 12:19:01 -07:00
20aa05fbaaAdd 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
2dc1c74a96Better 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
44017879adAdd 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
6806cbe306Fix 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
7777dd857edocker 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
506ecddd21Add 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
8a9e7f42f0When 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
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
96ec0e911cUse 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
5e064a959aMore 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
450827385cRenamed writeBroadcaster.Close() to CloseWriters(). Upstream-commit: a83d87abd442dda5f2d67a2701aae9c7b891e68a Component: engine
Robert Obryk
2013-04-02 10:45:17 +02:00
f7fc21bc5dRefactored CmdRun and CmdAttach to use Container.Attach Upstream-commit: c808940c041ca8c7f9f9c5e0fa93e37ebfdd412a Component: engine
Solomon Hykes
2013-04-01 23:52:20 -07:00
38ad5f3006Fixed a lot of language and small things. Upstream-commit: 81874ad4425ed1a3520944bfcced271041e7b0f4 Component: engine
Thatcher Peskens
2013-04-01 19:11:09 -07:00
a700cb8847use xz compression when pushing images to the registry
unclejack
2013-04-02 02:19:34 +03:00
c1d869bdb5add support for xz compression
unclejack
2013-04-02 02:16:28 +03:00
45a54423e7Images can be removed by short-hand ID. Solves #306. Upstream-commit: ff5cb8e864b87d3976b368ae544010f5736d1da2 Component: engine
Solomon Hykes
2013-04-01 16:04:44 -07:00
9c0eadc435Add test to reproduce issue #306 Upstream-commit: 7ad2e022fb737286b5803066bde6919e2d544c4e Component: engine
Solomon Hykes
2013-04-01 16:02:02 -07:00
21d5e7b3d6add host name parameter to "run" command
Mikhail Sobolev
2013-04-01 23:03:24 +03:00
21949938eemake complex options to stand out Upstream-commit: dcc9dfb27d49c7e7f58e04bf5656656f69e76fe1 Component: engine
Mikhail Sobolev
2013-03-28 07:50:33 +02:00
4c1daebf6dmakefile: simplify "fmt" target, and include -s flag Upstream-commit: 650dff73bdd48058ec0186cbda90683ff2287df0 Component: engine
Francisco Souza
2013-04-01 18:50:25 -03:00
a9b7db02e4Shortening the git commit used in the version command Upstream-commit: e566b89a5f13f36fad2e2bb37faf9079e06e051e Component: engine
Shawn Siefkas
2013-04-01 16:31:33 -05:00
91936db4baMerge pull request #301 from dotcloud/container_test_improvment-1
Guillaume J. Charmes
2013-04-01 13:36:02 -07:00
741a443d40Add a 'fmt' target to the Makefile.
Caleb Spare
2013-04-01 13:05:00 -07:00
5f6e565b52Adding git commit to the version output
Shawn Siefkas
2013-04-01 13:12:56 -05:00
819ad2b9f0Expand the contributing guidelines Upstream-commit: 321d94b17e0b23754cb8c5858c11bef554ec8279 Component: engine
Jonathan Rudenberg
2013-04-01 12:28:54 -04:00
953809e9d0Close HTTP response bodies
Jonathan Rudenberg
2013-04-01 09:49:51 -04:00
875003ed92Avoid destroy() timeout by closing stdin in TestStart() Upstream-commit: 91b1f9eee9729fc9845eaecdad88a7a5050a33de Component: engine
Guillaume J. Charmes
2013-03-31 22:42:10 -07:00
8d2e25b6d1Merge pull request #298 from cespare/cleanup-1
Guillaume J. Charmes
2013-04-01 13:26:40 -07:00
4d479797e6Don't use an interface{} where a string will do. Upstream-commit: 887f509d1dd2a5e34fbfb19ccd2c4b1eb3127dbd Component: engine
Caleb Spare
2013-03-30 00:36:27 -07:00
2ac307781eUse 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