Commit Graph

773 Commits

Author SHA1 Message Date
Mikhail Sobolev 4e81438347 change option description to reflect the semantics
At least, for me, 'map' means that there are two values and one is "mapped" to
another.

In this case, just one value is provided (container's port), the other value is
automatically obtained (host's port) and the actual mapping can be seen using
``docker port`` command.
Upstream-commit: b74d1c92479bc6df61e7283f7639b02837bfb5f3
Component: engine
2013-04-03 16:37:56 +03:00
Solomon Hykes 36ddc7dcc6 Merged attachStdin
Upstream-commit: 15c3096e8942ac31eb5611b41d08fcc31061be65
Component: engine
2013-04-02 20:46:32 -07:00
Solomon Hykes 23aad300e5 Merge remote-tracking branch 'robryk/writebroadcaster-stuff'
Upstream-commit: 22d16229264aeb176acc40db2158d9b944cb3ef1
Component: engine
2013-04-02 20:35:13 -07:00
Solomon Hykes ca62613e60 Merged shawnsi/git-version
Upstream-commit: 35c68944c7a5c7b7778c6cdb54b149e22c4c0c64
Component: engine
2013-04-02 20:26:22 -07:00
Solomon Hykes 57e119bf13 TestRunHostname checks that 'docker run -h' correctly sets a custom hostname
Upstream-commit: b1fa26bb76501c53f68de466538da1eece57d94d
Component: engine
2013-04-02 19:00:05 -07:00
Solomon Hykes b539ba53c2 Merge remote-tracking branch 'sa2ajj/hostname-parameter'
Upstream-commit: d6fb2a0836de056d79f4887eabfc2d79e8518988
Component: engine
2013-04-02 18:41:14 -07:00
Solomon Hykes 927b0fdedf Merged dhrp/docs
Upstream-commit: 65aa3dda852115dae2501d65e2f4154c5a6ccf63
Component: engine
2013-04-02 18:39:39 -07:00
Solomon Hykes 6806cbe306 Fix a bug which caused 'docker push' to fail with 411-lenght-required in Go 1.0
Upstream-commit: a05af3ebf32da594648352a30b9045c67ba9cbbb
Component: engine
2013-04-02 18:37:29 -07:00
Solomon Hykes b447b03d62 Merge remote-tracking branch 'unclejack/194-high-image-compression'
Upstream-commit: 0e1781af26c3d7770ee6b50955f9f947790baf6d
Component: engine
2013-04-02 18:10:07 -07:00
Solomon Hykes 032c20ebdf Merge branch 'master' into attach-stdin
Upstream-commit: 14d9f51bbec3d68522d48857e089e5c8179d805c
Component: engine
2013-04-02 18:07:45 -07:00
Solomon Hykes 7777dd857e docker run [-a [stdin|stdout|stderr] [...]]: choose which streams to attach to when running a command. Fixes #234.
Upstream-commit: c04af2a330991fcd52bcce213bcb863cff95d378
Component: engine
2013-04-02 18:07:16 -07:00
Solomon Hykes 506ecddd21 Add test for attaching only stdin at run with 'docker run -i -a=stdin'
Upstream-commit: c77063afcd00f97c6922c41e509090dd4f8c2b95
Component: engine
2013-04-02 18:05:19 -07:00
Solomon Hykes 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
2013-04-02 11:07:49 -07:00
Solomon Hykes 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
2013-04-02 11:06:42 -07:00
Solomon Hykes cd9062641b Activate Config.StdinOnce at argument parsing
Upstream-commit: aea2675f7b2e4aa8bf63c8472af40bc059bd5d14
Component: engine
2013-04-02 11:02:19 -07:00
Solomon Hykes 138633b4ab [unit tests] Cleanly kill all containers before nuking a temporary runtime
Upstream-commit: 8f9e4542417421ee62ac952d1e04268520a75d8f
Component: engine
2013-04-02 11:00:14 -07:00
Solomon Hykes 96ec0e911c Use an environment variable to activate debug mode, instead of a package-specific flag
Upstream-commit: 76663079312bb501f545823d9650df9eeda2c882
Component: engine
2013-04-02 10:58:16 -07:00
Shawn Siefkas 693692b24b Implementing dirty git checkout indicator
Upstream-commit: 5471f5b2ee4bd637147a1ea1dce716670b50796d
Component: engine
2013-04-02 09:58:19 -05:00
shin- 3421949564 Fix for #307
Upstream-commit: 8fed600077d5b8d976adec27dfb822166ca7baa5
Component: engine
2013-04-02 03:00:21 -07:00
Robert Obryk 450827385c Renamed writeBroadcaster.Close() to CloseWriters().
Upstream-commit: a83d87abd442dda5f2d67a2701aae9c7b891e68a
Component: engine
2013-04-02 10:45:17 +02:00
Solomon Hykes f7fc21bc5d Refactored CmdRun and CmdAttach to use Container.Attach
Upstream-commit: c808940c041ca8c7f9f9c5e0fa93e37ebfdd412a
Component: engine
2013-04-01 23:52:20 -07:00
Thatcher Peskens 38ad5f3006 Fixed a lot of language and small things.
Upstream-commit: 81874ad4425ed1a3520944bfcced271041e7b0f4
Component: engine
2013-04-01 19:11:09 -07:00
Solomon Hykes e2d87791af Merge pull request #288 from titanous/expand-contributing
Expand the contributing guidelines
Upstream-commit: 3478d6f7061e0d71c040fd8f7ba9b51bf00907c3
Component: engine
2013-04-01 18:45:18 -07:00
Solomon Hykes 97cc7d17c5 Merge pull request #312 from sa2ajj/devenv-doc-fix
fix code block formatting
Upstream-commit: 13b63091385262a595be011890c6a196c91125a4
Component: engine
2013-04-01 18:40:29 -07:00
Mikhail Sobolev cadfddb770 fix code block formatting
Upstream-commit: 90db9e751750e62ea701843491774323ef20ab06
Component: engine
2013-04-02 04:35:54 +03:00
Thatcher Peskens 7a184f8e80 Merge remote-tracking branch 'dotcloud/master' into dhrp/docs
Upstream-commit: f15889461d6aeebfb06835823ed67266a6d9042f
Component: engine
2013-04-01 18:11:46 -07:00
Guillaume J. Charmes 57d6ae86a7 Merge pull request #286 from titanous/285-close-bodies
Close HTTP response bodies
Upstream-commit: dea4194f8b3f93d5806f5fbe34f8839f49ede0ef
Component: engine
2013-04-01 17:59:22 -07:00
Solomon Hykes cab6cd5ccd Merge pull request #305 from fsouza/master
Makefile: simplify "fmt" target
Upstream-commit: e331f1ee0e3333c62f9e04e9deac060e8ea01953
Component: engine
2013-04-01 16:28:29 -07:00
unclejack a700cb8847 use xz compression when pushing images to the registry
This makes the xz compression the default.
Upstream-commit: 0ddc6867fb86d2539bb19034844ac8c2369060c1
Component: engine
2013-04-02 02:19:34 +03:00
unclejack c1d869bdb5 add support for xz compression
This adds xz as a compression option.
xz is alread supported by bsdtar without the external xz program.
Upstream-commit: 3c5d2e4661e76e83e35637561153578ddd87f249
Component: engine
2013-04-02 02:16:28 +03:00
Solomon Hykes 45a54423e7 Images can be removed by short-hand ID. Solves #306.
Upstream-commit: ff5cb8e864b87d3976b368ae544010f5736d1da2
Component: engine
2013-04-01 16:04:44 -07:00
Solomon Hykes 9c0eadc435 Add test to reproduce issue #306
Upstream-commit: 7ad2e022fb737286b5803066bde6919e2d544c4e
Component: engine
2013-04-01 16:02:02 -07:00
Mikhail Sobolev 21d5e7b3d6 add host name parameter to "run" command
fixes #243
Upstream-commit: f65fc1e766cefed06131acf1ede6bb1f25f75fff
Component: engine
2013-04-02 01:26:17 +03:00
Mikhail Sobolev 21949938ee make complex options to stand out
Upstream-commit: dcc9dfb27d49c7e7f58e04bf5656656f69e76fe1
Component: engine
2013-04-02 01:26:17 +03:00
Francisco Souza 4c1daebf6d makefile: simplify "fmt" target, and include -s flag
Upstream-commit: 650dff73bdd48058ec0186cbda90683ff2287df0
Component: engine
2013-04-01 18:50:25 -03:00
Paul Hammond 75a146bba9 Fix mkimage-busybox
Upstream-commit: cc2558bf10817b086fcb9783474d47db24d2cb3a
Component: engine
2013-04-01 14:34:12 -07:00
Shawn Siefkas a9b7db02e4 Shortening the git commit used in the version command
Upstream-commit: e566b89a5f13f36fad2e2bb37faf9079e06e051e
Component: engine
2013-04-01 16:31:33 -05:00
Solomon Hykes c43539098b Merge remote-tracking branch 'origin/progress_bar_push_pull'
Upstream-commit: 47c4c2abd42d06d14d28f894b4ba980d61f94f5c
Component: engine
2013-04-01 13:49:07 -07:00
Solomon Hykes 5d71af1ed4 Merge branch 'master' of ssh://github.com/dotcloud/docker
Upstream-commit: fa5bb5acf1ed847f8645284b48faa311162ddce1
Component: engine
2013-04-01 13:44:19 -07:00
Solomon Hykes 464ac2f144 Merge pull request #300 from cespare/make-fmt
Add a 'fmt' target to the Makefile.
Upstream-commit: 50500cfcb6824286e43b5f5f2b7b58399f083138
Component: engine
2013-04-01 13:41:53 -07:00
Caleb Spare 741a443d40 Add a 'fmt' target to the Makefile.
A convenience for gofmting all the code, including subpackages.
Upstream-commit: 9b13d21fc980b5ac12e035d9c8cbe3ef2c36a079
Component: engine
2013-04-01 13:05:00 -07:00
Shawn Siefkas 5f6e565b52 Adding git commit to the version output
The Makefile must be used in order to inject the git commit
via -ldflags.
Upstream-commit: 37a78902db9e968d307d0c0325612e8bef20bc69
Component: engine
2013-04-01 13:52:45 -05:00
Jonathan Rudenberg 819ad2b9f0 Expand the contributing guidelines
Upstream-commit: 321d94b17e0b23754cb8c5858c11bef554ec8279
Component: engine
2013-04-01 12:35:04 -04:00
Jonathan Rudenberg 953809e9d0 Close HTTP response bodies
Fixes #285.
Upstream-commit: 6b59cc8a1031d78530efb7582c936ba8221da847
Component: engine
2013-04-01 09:51:56 -04:00
Guillaume J. Charmes 875003ed92 Avoid destroy() timeout by closing stdin in TestStart()
Upstream-commit: 91b1f9eee9729fc9845eaecdad88a7a5050a33de
Component: engine
2013-03-31 22:42:10 -07:00
Caleb Spare 4d479797e6 Don't use an interface{} where a string will do.
Upstream-commit: 887f509d1dd2a5e34fbfb19ccd2c4b1eb3127dbd
Component: engine
2013-04-01 12:56:59 -07:00
Caleb Spare c5d25049cd A few spelling/grammar corrections.
Upstream-commit: 13d2b086386196e9f4f03e4a18d508a65f6fc5ff
Component: engine
2013-04-01 12:56:50 -07:00
Caleb Spare 2ac307781e Use a *println or *print function instead of *printf where appropriate.
Upstream-commit: c298a91f95dafb056cede9036f5e81f259b8f3e9
Component: engine
2013-04-01 12:17:00 -07:00
Caleb Spare 1ceba2a123 Don't convert []byte to string unnecessarily.
Upstream-commit: 15b30881570369564bde3f7d8faf4491b2ebfaab
Component: engine
2013-04-01 11:15:40 -07:00
Caleb Spare 70d73b8c8b Don't use a strings.Reader where a bytes.Reader will do.
There are several places where a []byte is converted to a string
and then fed into strings.NewReader().
Upstream-commit: 7830cf91663f071315c3d0406bc3de0f8a58c2b6
Component: engine
2013-04-01 11:15:10 -07:00