Commit Graph

  • f344212b93 Renamed PortAllocator.populate() to run() Solomon Hykes 2013-04-04 19:49:32 -07:00
  • 1b370f9d8d Move the default bridge name to a constant Guillaume J. Charmes 2013-04-04 05:33:28 -07:00
  • aa4bf4284b If bridge does not exists, try to create it Guillaume J. Charmes 2013-04-03 15:57:57 -07:00
  • d9a9bfc9c7 Make LXC aware of custom bridge Guillaume J. Charmes 2013-04-03 15:05:03 -07:00
  • 90a6e310fe Add an helper function to check if two network overlaps. Also add unit tests for this function Guillaume J. Charmes 2013-04-03 14:53:54 -07:00
  • f39af7e05d Put the bridge interface name in the command line Guillaume J. Charmes 2013-04-03 14:53:09 -07:00
  • 0424998f38 Print a less confusing error message when lxcbr0 doesn't exist Solomon Hykes 2013-04-04 19:14:10 -07:00
  • 8bfbdd7afa 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. Solomon Hykes 2013-04-04 18:38:43 -07:00
  • 3de51b7bfe Merge branch 'master' of ssh://github.com/dotcloud/docker Solomon Hykes 2013-04-04 17:00:59 -07:00
  • a58cd8c616 Merge pull request #322 from sa2ajj/port-map-nitpick Solomon Hykes 2013-04-04 16:39:54 -07:00
  • 586a79cca0 Merge remote-tracking branch 'dominikh/minor-code-touchups' Solomon Hykes 2013-04-04 16:20:37 -07:00
  • 349edf1bea Merge pull request #331 from lynaghk/master Solomon Hykes 2013-04-04 16:18:27 -07:00
  • 677908910c Merge pull request #320 from sa2ajj/cli-docs Solomon Hykes 2013-04-04 16:17:53 -07:00
  • 6b5fe8c2ec Merge remote-tracking branch 'origin/257-container_real_running_state-fix' Solomon Hykes 2013-04-04 15:34:18 -07:00
  • 26088a72b3 Merge remote-tracking branch 'dominikh/improve-attachopts' Solomon Hykes 2013-04-04 15:18:41 -07:00
  • ebc837957f Continue cleaning up iptables rules from previous version, to avoid crashing after an upgrade Solomon Hykes 2013-04-04 15:16:42 -07:00
  • c4d3da5871 Merge remote-tracking branch 'unclejack/137-fix-nat' Solomon Hykes 2013-04-04 15:06:20 -07:00
  • 32f5811476 stop looping remote:port from host to containers unclejack 2013-04-04 22:56:37 +03:00
  • a7f191d51d Merge remote-tracking branch 'origin/328-i_o_error_uncloced_connection-fix' Solomon Hykes 2013-04-04 11:03:39 -07:00
  • 92186d7cf7 Fix broken link in doc site. Kevin J. Lynagh 2013-04-03 22:21:57 -07:00
  • 5d3c0767da Simplified Graph.Delete() - no more garbage collecting, just atomic deregister then os.RemoveAll Solomon Hykes 2013-04-03 22:14:28 -07:00
  • dce5a06aba Bumped version to 0.1.2 v0.1.2 Solomon Hykes 2013-04-03 15:35:32 -07:00
  • 3b65be9127 Fix NAT problem with ports looping back to containers unclejack 2013-04-04 01:32:46 +03:00
  • ad0183e419 Check WaitTimeout return in test, replaced lock initialization in runtime.Register() with call to initLock() shin- 2013-04-03 10:48:02 -07:00
  • 4f36039e7b clean up AttachOpts type Dominik Honnef 2013-04-03 16:06:35 +02:00
  • b74d1c9247 change option description to reflect the semantics Mikhail Sobolev 2013-04-03 16:37:56 +03:00
  • cf8b8c1969 move each command description into a separate document Mikhail Sobolev 2013-04-02 04:52:44 +03:00
  • d1767bbf67 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) shin- 2013-04-03 05:39:39 -07:00
  • 7b74b9cab5 Integrated @creack's feedback on TestRestore shin- 2013-04-03 05:37:45 -07:00
  • 14d3880daf remove superfluous panic Dominik Honnef 2013-04-03 11:19:48 +02:00
  • 22f1cc955d replace unreachable returns with panics Dominik Honnef 2013-04-03 11:18:23 +02:00
  • cab31fd512 use wg.Done() isntead of wg.Add(-1) Dominik Honnef 2013-04-03 11:11:34 +02:00
  • 1fc55c2bb9 kill the right containers in runtime_test Dominik Honnef 2013-04-03 11:10:50 +02:00
  • 5ecd940a59 remove dead code in CmdPush Dominik Honnef 2013-04-03 11:08:32 +02:00
  • 3b8c2417fb use fmt.Fprintf instead of fmt.Fprint Dominik Honnef 2013-04-03 11:04:33 +02:00
  • a19a9e3ca8 Discarding errors in CmdRun Guillaume J. Charmes 2013-04-02 12:21:35 -07:00
  • ad2bbe23be Close the broadcaster once they are not needed anymore Guillaume J. Charmes 2013-04-02 12:19:01 -07:00
  • 6882c78ce4 Add a stdincloser to container.Attach in order to close the client connection when needed Guillaume J. Charmes 2013-04-02 12:18:20 -07:00
  • 791ca6fde4 Better crash simulation in TestRestore ; force state lock creation when loading a container from disk shin- 2013-04-02 10:06:49 -07:00
  • 43484e8b50 Add a TestRunExit, make sure cmdRun returns after process dies Guillaume J. Charmes 2013-04-02 09:22:30 -07:00
  • 15c3096e89 Merged attachStdin Solomon Hykes 2013-04-02 20:46:32 -07:00
  • 22d1622926 Merge remote-tracking branch 'robryk/writebroadcaster-stuff' Solomon Hykes 2013-04-02 20:35:13 -07:00
  • 35c68944c7 Merged shawnsi/git-version Solomon Hykes 2013-04-02 20:26:22 -07:00
  • b1fa26bb76 TestRunHostname checks that 'docker run -h' correctly sets a custom hostname Solomon Hykes 2013-04-02 19:00:05 -07:00
  • d6fb2a0836 Merge remote-tracking branch 'sa2ajj/hostname-parameter' Solomon Hykes 2013-04-02 18:41:14 -07:00
  • 65aa3dda85 Merged dhrp/docs Solomon Hykes 2013-04-02 18:39:39 -07:00
  • a05af3ebf3 Fix a bug which caused 'docker push' to fail with 411-lenght-required in Go 1.0 Solomon Hykes 2013-04-02 18:37:29 -07:00
  • 0e1781af26 Merge remote-tracking branch 'unclejack/194-high-image-compression' Solomon Hykes 2013-04-02 18:10:07 -07:00
  • 14d9f51bbe Merge branch 'master' into attach-stdin Solomon Hykes 2013-04-02 18:07:45 -07:00
  • c04af2a330 docker run [-a [stdin|stdout|stderr] [...]]: choose which streams to attach to when running a command. Fixes #234. Solomon Hykes 2013-04-02 18:07:16 -07:00
  • c77063afcd Add test for attaching only stdin at run with 'docker run -i -a=stdin' Solomon Hykes 2013-04-02 18:05:19 -07:00
  • 2db358146f 'docker run' in attached mode no longer waits for the process to exit. Take this into account in the tests. Solomon Hykes 2013-04-02 11:07:49 -07:00
  • 1cc1cb099e When simulating disconnects in the tests, make sure that the command returns - but don't check for a specific return value Solomon Hykes 2013-04-02 11:06:42 -07:00
  • aea2675f7b Activate Config.StdinOnce at argument parsing Solomon Hykes 2013-04-02 11:02:19 -07:00
  • 8f9e454241 [unit tests] Cleanly kill all containers before nuking a temporary runtime Solomon Hykes 2013-04-02 11:00:14 -07:00
  • 7666307931 Use an environment variable to activate debug mode, instead of a package-specific flag Solomon Hykes 2013-04-02 10:58:16 -07:00
  • 5471f5b2ee Implementing dirty git checkout indicator Shawn Siefkas 2013-04-02 09:38:08 -05:00
  • 02c211a0dc variable names shin- 2013-04-02 07:13:42 -07:00
  • c780ff5ae7 More thorough test case, use container.Stop() instead of lxc-kill, use setStopped() during the restore step shin- 2013-04-02 07:01:43 -07:00
  • 8edf0ca7f3 Merge branch 'master' into 257-container_real_running_state-fix shin- 2013-04-02 06:37:50 -07:00
  • 927308cfd9 Merge pull request #317 from dotcloud/307-loginfix Joffrey F 2013-04-02 03:01:23 -07:00
  • 8fed600077 Fix for #307 shin- 2013-04-02 03:00:21 -07:00
  • a83d87abd4 Renamed writeBroadcaster.Close() to CloseWriters(). Robert Obryk 2013-04-02 10:45:17 +02:00
  • c808940c04 Refactored CmdRun and CmdAttach to use Container.Attach Solomon Hykes 2013-04-01 23:52:20 -07:00
  • 81874ad442 Fixed a lot of language and small things. Thatcher Peskens 2013-04-01 19:11:09 -07:00
  • 3478d6f706 Merge pull request #288 from titanous/expand-contributing Solomon Hykes 2013-04-01 18:45:18 -07:00
  • 13b6309138 Merge pull request #312 from sa2ajj/devenv-doc-fix Solomon Hykes 2013-04-01 18:40:29 -07:00
  • 90db9e7517 fix code block formatting Mikhail Sobolev 2013-04-02 04:26:00 +03:00
  • f15889461d Merge remote-tracking branch 'dotcloud/master' into dhrp/docs Thatcher Peskens 2013-04-01 18:11:46 -07:00
  • dea4194f8b Merge pull request #286 from titanous/285-close-bodies Guillaume J. Charmes 2013-04-01 17:59:22 -07:00
  • e331f1ee0e Merge pull request #305 from fsouza/master Solomon Hykes 2013-04-01 16:28:29 -07:00
  • 0ddc6867fb use xz compression when pushing images to the registry unclejack 2013-04-02 02:19:34 +03:00
  • 3c5d2e4661 add support for xz compression unclejack 2013-04-02 02:16:28 +03:00
  • ff5cb8e864 Images can be removed by short-hand ID. Solves #306. Solomon Hykes 2013-04-01 16:04:44 -07:00
  • 7ad2e022fb Add test to reproduce issue #306 Solomon Hykes 2013-04-01 16:02:02 -07:00
  • f65fc1e766 add host name parameter to "run" command Mikhail Sobolev 2013-04-01 23:03:24 +03:00
  • dcc9dfb27d make complex options to stand out Mikhail Sobolev 2013-03-28 07:50:33 +02:00
  • 650dff73bd makefile: simplify "fmt" target, and include -s flag Francisco Souza 2013-04-01 18:50:25 -03:00
  • 6d00145076 Merge pull request #304 from paulhammond/mkimage-busybox-fixes Solomon Hykes 2013-04-01 14:38:00 -07:00
  • cc2558bf10 Fix mkimage-busybox Paul Hammond 2013-04-01 14:34:12 -07:00
  • e566b89a5f Shortening the git commit used in the version command Shawn Siefkas 2013-04-01 16:31:33 -05:00
  • 47c4c2abd4 Merge remote-tracking branch 'origin/progress_bar_push_pull' Solomon Hykes 2013-04-01 13:49:07 -07:00
  • fa5bb5acf1 Merge branch 'master' of ssh://github.com/dotcloud/docker Solomon Hykes 2013-04-01 13:44:19 -07:00
  • 50500cfcb6 Merge pull request #300 from cespare/make-fmt Solomon Hykes 2013-04-01 13:41:53 -07:00
  • 9e81ab65cb Merge pull request #301 from dotcloud/container_test_improvment-1 Guillaume J. Charmes 2013-04-01 13:36:02 -07:00
  • 9b13d21fc9 Add a 'fmt' target to the Makefile. Caleb Spare 2013-04-01 13:05:00 -07:00
  • 37a78902db Adding git commit to the version output Shawn Siefkas 2013-04-01 13:12:56 -05:00
  • 321d94b17e Expand the contributing guidelines Jonathan Rudenberg 2013-04-01 12:28:54 -04:00
  • 6b59cc8a10 Close HTTP response bodies Jonathan Rudenberg 2013-04-01 09:49:51 -04:00
  • 91b1f9eee9 Avoid destroy() timeout by closing stdin in TestStart() Guillaume J. Charmes 2013-03-31 22:42:10 -07:00
  • ff26493fd5 Merge pull request #298 from cespare/cleanup-1 Guillaume J. Charmes 2013-04-01 13:26:40 -07:00
  • 887f509d1d Don't use an interface{} where a string will do. Caleb Spare 2013-03-30 00:36:27 -07:00
  • 13d2b08638 A few spelling/grammar corrections. Caleb Spare 2013-03-30 00:22:24 -07:00
  • c298a91f95 Use a *println or *print function instead of *printf where appropriate. Caleb Spare 2013-03-30 00:23:12 -07:00
  • 15b3088157 Don't convert []byte to string unnecessarily. Caleb Spare 2013-03-30 00:22:56 -07:00
  • 7830cf9166 Don't use a strings.Reader where a bytes.Reader will do. Caleb Spare 2013-03-30 00:20:40 -07:00
  • ad1e8a9b0f Add unit test for CmdAttach Guillaume J. Charmes 2013-03-31 21:48:18 -07:00
  • cfeed391d7 Change the commands unit tests in order to reflect the proper behaviour of CmdRun Guillaume J. Charmes 2013-03-31 20:52:35 -07:00
  • c9a13147fe Merge pull request #238 from johncosta/42-contribution-guidelines Solomon Hykes 2013-03-31 22:14:18 -07:00
  • 1632566ecb Show shorthand image IDs for convenience. Shorthand IDs (or any non-conflicting prefix) can be used to lookup images Solomon Hykes 2013-03-31 22:11:55 -07:00