Dan Hirsch
dd9f4524d1
Make /events API send headers immediately
...
Go's net/http API does not send headers until the first call to
ResponseWriter.Write(). Ordinarily, this is fine, because in most
cases, responses are returned immediately. However, for the events
API, nothing is written until some event is sent, which causes
timeouts and/or hangs in some HTTP client APIs, which wait for headers
before returning from the "make request" call.
2013-10-28 21:39:21 -04:00
Andy Rothfusz
76afb6e73d
Merge pull request #2421 from dudebout/patch-1
...
Fixes the flags for nc in example
2013-10-28 17:01:53 -07:00
Nicolas Dudebout
50bb4a1636
Fixes the flags for nc
...
The `-p` flag for `nc` should not be used with `-l`.
2013-10-28 15:48:18 -04:00
Andy Rothfusz
3c0c75bbf9
Merge pull request #2413 from rutsky/patch-1
...
Fix typo
2013-10-28 12:08:04 -07:00
Andy Rothfusz
7f95c7aeec
Merge pull request #2417 from rutsky/patch-2
...
fix typo
2013-10-28 12:07:46 -07:00
Vladimir Rutsky
395a24ffd5
fix typo
2013-10-28 09:35:09 +03:00
Vladimir Rutsky
45d94944f3
Fix typo
2013-10-28 02:45:12 +03:00
Victor Vieux
54d3b4dd28
Merge pull request #2400 from dotcloud/remove_newline_debugf
...
Removes \n from debugf calls
2013-10-25 18:01:19 -07:00
Victor Vieux
8f39f0b57d
Removes \\n from debugf calls
2013-10-25 17:50:40 -07:00
Michael Crosby
110b944f45
Merge pull request #2399 from dotcloud/fix_race_stdin_cli
...
Only pass stdin to hijack when needed
2013-10-25 17:32:36 -07:00
Victor Vieux
13c521526d
only pass stdin to hijack when needed
2013-10-25 17:17:33 -07:00
Michael Crosby
ff567f8729
Merge pull request #2385 from dotcloud/suppress_even_more_warnings_test
...
Improve tests again, remove warnings and prevent some mount issues
2013-10-25 15:04:56 -07:00
Jérôme Petazzoni
279791bc74
Merge pull request #2378 from tianon/linkify-github-ids
...
Linkify @github references in the infrastructure README.md
2013-10-25 11:30:25 -07:00
Andy Rothfusz
1e704a4ddc
Merge pull request #2355 from xdissent/patch-1
...
Typo in host integration docs
2013-10-24 19:05:22 -07:00
Victor Vieux
31111f61e0
Merge pull request #1963 from rogpeppe/master
...
Client: Use less reflection in command-line method invocation
2013-10-24 18:03:20 -07:00
Michael Crosby
217b6070f0
Merge pull request #2383 from jpetazzo/cleanup-errclosedpipe-for-stdin
...
Ignore ErrClosedPipe for stdin in Container.Attach.
2013-10-24 17:18:28 -07:00
Michael Crosby
36c26a0f0f
Merge pull request #2384 from dotcloud/suppress_warning_tty_tests
...
Change logic for tty resize to avoid warning in tests
2013-10-24 16:59:13 -07:00
Victor Vieux
a675e249b1
fix workdir, hostname tests and a bunch on mount issue
2013-10-24 16:57:35 -07:00
Victor Vieux
acc2aec988
remove log
2013-10-24 15:13:47 -07:00
Victor Vieux
0e021ed470
swap cat by top to prevent 2 warnings
2013-10-24 15:06:10 -07:00
Jérôme Petazzoni
b9eb5e04ae
Ignore ErrClosedPipe for stdin in Container.Attach.
...
But pass `err` in the error channel anyway; don't ignore it anymore.
2013-10-24 15:04:58 -07:00
Victor Vieux
0e44864b66
change logic for tty resize to avoid warning in tests
2013-10-24 14:54:04 -07:00
Michael Crosby
e661473bcd
Merge pull request #2379 from dotcloud/2377-remove_resize_race-fix
...
Monitor the tty after starting the container
2013-10-24 12:31:31 -07:00
Tianon Gravi
98c94dd4db
Merge pull request #2364 from tianon/sudo-modprobe
...
Fix install.sh with $sh_c to get sudo/su for modprobe
2013-10-24 11:24:23 -07:00
Victor Vieux
656b66e51b
monitor the tty after starting the container
2013-10-24 11:19:06 -07:00
Tianon Gravi
c9375d14fc
Linkify @github references in the infrastructure README.md
2013-10-24 11:54:06 -06:00
Michael Crosby
489c370fcc
Merge pull request #2367 from dotcloud/remove_useless_exit
...
Remove useless os.Exit() after log.Fatalf
2013-10-24 09:18:45 -07:00
Tianon Gravi
aa6c99aff6
Merge pull request #2363 from tianon/mkimage-numeric-owner
...
Update all the mkimage scripts to use --numeric-owner as a tar argument
2013-10-24 06:42:52 -07:00
Victor Vieux
92384649cf
remove useless os.Exit() after log.Fatalf
2013-10-24 00:25:55 -07:00
Victor Vieux
c2413889bb
Merge pull request #2354 from hamo/refac_parsehost
...
refactor utils.ParseHost with switch-case, so we can add other proto support easily
2013-10-24 00:22:50 -07:00
Yang Bai
e81da876df
let utils.ParseHost return err when errors happen
2013-10-24 13:23:02 +08:00
Tianon Gravi
f0dbdba5c0
Merge pull request #2263 from tianon/hack-release
...
Update hack/release.sh process to automatically invoke hack/make.sh and bail on building/testing issues
2013-10-23 15:31:16 -07:00
Tianon Gravi
0324e567ad
Fix install.sh with $sh_c to get sudo/su for modprobe
2013-10-23 15:48:30 -06:00
Tianon Gravi
ef5cf6c1ec
Merge pull request #2226 from tianon/init
...
Add initial init scripts library and better/safer Ubuntu packaging that works for Debian, too
2013-10-23 14:29:41 -07:00
Tianon Gravi
afaddd04f7
Merge pull request #2306 from tianon/fix-ubuntu-install-aufs
...
Update hack/install.sh with some more Ubuntu-specific installation stuff...
2013-10-23 14:22:55 -07:00
Tianon Gravi
8e43db95f2
Update all the mkimage scripts to use --numeric-owner as a tar argument to properly preserve ownership
2013-10-23 14:08:16 -06:00
Victor Vieux
7a116220e7
Merge pull request #2327 from dotcloud/2325_fix_untag_rmi
...
fix wrong untag while docker rmi
2013-10-23 10:24:20 -07:00
Victor Vieux
894a68d2ee
Merge pull request #2349 from shykes/runtime-cleanup
...
Runtime: remove unused field kernelVersion
2013-10-23 09:54:00 -07:00
Tianon Gravi
dc57d4ca26
Merge pull request #2353 from wrouesnel/mkimage-debootstrap-improvements
...
mkimage-debootstrap.sh: Add -p option to invoke debootstrap with http_proxy
2013-10-23 09:26:45 -07:00
Will Rouesnel
bc8a1081b0
mkimage-debootstrap.sh: Add -p option to invoke debootstrap with http_proxy.
...
This patch allows debootstrap to be run with the http_proxy environment
variable. This is principally useful when you're using apt-cacher and
apt-cacher-ng locally.
2013-10-24 03:21:10 +11:00
Greg Thornton
33ccd29ae7
Typo in host integration docs
2013-10-23 10:19:12 -05:00
Tianon Gravi
2aaaf90320
Update hack/make/ubuntu to make less ubuntu-centric packages, to fix the issue of deleting the docker group on every upgrade, to use the new init library scripts for upstart and sysvinit, and to include the dependency on iptables
2013-10-23 07:38:12 -06:00
Yang Bai
99f1675566
refactor utils.ParseHost with switch-case, so we can add other proto support easily
2013-10-23 18:29:35 +08:00
Solomon Hykes
7e4d008403
Runtime: remove unused field kernelVersion
2013-10-23 00:44:57 -06:00
Victor Vieux
b0515a7016
Merge pull request #2279 from dotcloud/fix_docker_inspect
...
Client: improve docker inspect
2013-10-22 17:17:35 -07:00
Victor Vieux
8ff7b70c91
Merge pull request #2341 from dotcloud/1327-race_build_verbose-fix
...
fix race condition in docker build with verbose + cleanup hostIntegration debug
2013-10-22 16:46:36 -07:00
Victor Vieux
01284cbf73
fix status code
2013-10-22 15:39:51 -07:00
Victor Vieux
10e10c9573
fix race condition in docker build with verbose + cleanup hostIntegration debug
2013-10-22 15:01:06 -07:00
Michael Crosby
b73065ab33
Merge pull request #2338 from proppy/patch-1
...
Registry: Fix content-type for PushImageJSONIndex
2013-10-22 14:48:12 -07:00
Johan Euphrosine
d93023daa9
registry: fix content-type for PushImageJSONIndex
2013-10-22 11:56:48 -07:00