Commit Graph

1672 Commits

Author SHA1 Message Date
Justin Cormack
7701e2b156 Stop Docker listening on port 2375
This is a huge security hole, remove from Moby.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-16 21:55:42 +00:00
Justin Cormack
cb9a34cbee Merge pull request #745 from justincormack/1.13-test
upgrade Docker to 1.13.0-rc1
2016-11-16 16:53:21 +00:00
Justin Cormack
d45bf3d89b upgrade Docker to 1.13.0-rc1
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-16 16:48:26 +00:00
Justin Cormack
66c03d8cd5 Do not try to bind mount logs onto host on osx
This is not working well, and was binding over the logs, and losing
logs. We need a uniform approach on all platforms, planned to be
syslog.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-16 16:08:03 +00:00
Justin Cormack
57d023e0b0 Merge pull request #719 from simonferquel/boot_options_hyperv
Setting kernel boot params values as recommended by Microsoft for Azure (should avoid slow boots) and disabling efi framebuffer (should avoid hanging on efi fb setup)
2016-11-16 16:06:33 +00:00
Simon Ferquel
0f04ceaf40 Setting kernel boot parametters recommended for Azure/HyperV
Signed-off-by: Simon Ferquel <simon.ferquel@docker.com>
2016-11-16 11:01:48 -05:00
Justin Cormack
3fe2457e9e Merge pull request #738 from ijc25/master
diagnostics: Collect networking and swarm node + service info
2016-11-16 15:57:33 +00:00
Justin Cormack
52f0c4b132 Merge pull request #742 from justincormack/get-efi
Also pull the efi file when doing make get
2016-11-16 15:46:15 +00:00
Justin Cormack
a7451a2206 Disable EFI framebuffer
Azure only uses the Hyper-V framebuffer, so we should not need this.

Simplify setup for graphics options we are not using.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-16 10:42:19 -05:00
Justin Cormack
0d2e507be2 Also pull the efi file when doing make get
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-16 15:41:52 +00:00
Justin Cormack
5ad811e628 Merge pull request #741 from justincormack/get
Add a script to get current binaries from hub
2016-11-16 15:29:37 +00:00
Justin Cormack
d0f7337014 Add a script to get current binaries
If these have been pushed you can fetch them rather than doing a build. For
use in CI.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-16 15:22:04 +00:00
Justin Cormack
89f47709dc Merge pull request #740 from justincormack/vsudd-win
always wait for vsudd pidfile
2016-11-16 13:17:42 +00:00
Justin Cormack
32020f01f6 always wait for vsudd pidfile
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-16 13:07:32 +00:00
Ian Campbell
f8eca9f52e diagnostics: Collect networking and swarm node + service info
Signed-off-by: Ian Campbell <ian.campbell@docker.com>
2016-11-15 17:21:03 +00:00
Justin Cormack
06c4325294 Merge pull request #734 from justincormack/diagnostic-fixes
Fixes to diagnostics
2016-11-15 11:53:10 +00:00
Justin Cormack
b646642194 Fixes and improvements to diagnostics
- We now only have nslookup not dig.
- Use curl not wget.
- add /proc/cpuinfo

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-15 11:45:29 +00:00
Justin Cormack
3563f60c0f Merge pull request #733 from ijc25/master
diagnostics: Collect "docker info"
2016-11-15 11:43:55 +00:00
Ian Campbell
b4db1822e4 diagnostics: Collect "docker version"
Signed-off-by: Ian Campbell <ian.campbell@docker.com>
2016-11-15 11:35:12 +00:00
Ian Campbell
dea80af9b1 diagnostics: Collect "docker info"
Signed-off-by: Ian Campbell <ian.campbell@docker.com>
2016-11-15 11:33:25 +00:00
Justin Cormack
a3243e0bce Merge pull request #732 from justincormack/kernelup
Update to Linux 4.4.32
2016-11-15 11:24:05 +00:00
Justin Cormack
40202381f2 Update to Linux 4.4.32
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-15 10:27:18 +00:00
Justin Cormack
b9e6df264f Merge pull request #731 from justincormack/re-revert
Rework moving automount earlier in boot sequence
2016-11-15 10:22:02 +00:00
Justin Cormack
23415c038b Rework moving automount earlier in boot sequence
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-15 09:54:07 +00:00
Justin Cormack
ae10c5d46a Merge pull request #729 from justincormack/vsudd-bootmisc
vsudd needs bootmisc too for /run symlink
2016-11-15 00:25:45 +00:00
Justin Cormack
49511ba5ba vsudd needs bootmisc too for /run symlink
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-15 00:19:21 +00:00
Justin Cormack
6529d9f48f Merge pull request #728 from justincormack/var-dirs
add additional directories on newly created /var
2016-11-14 23:36:48 +00:00
Justin Cormack
300ded1ed9 add additional directories on newly created /var
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-14 23:15:46 +00:00
Justin Cormack
bbe778f0d2 Merge pull request #722 from justincormack/fsck-ret
Correctly handle return codes of fsck
2016-11-14 22:30:24 +00:00
Justin Cormack
fc6585df75 Correctly handle return codes of fsck
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-14 22:14:25 +00:00
Justin Cormack
6cb4f046c4 Merge pull request #727 from justincormack/var-run-link
Fix /run symlink issues
2016-11-14 22:13:17 +00:00
Justin Cormack
bd800943d9 Fix /run symlink issues
- run bootmisc before sysklogd so symlinks from /var/run to
  /run are created
- recreate symlinks that bootmisc created when we remount /var
  until this gets moved earlier

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-14 22:00:12 +00:00
Justin Cormack
01e1d43fe7 Merge pull request #726 from justincormack/moby-script-reboot
improve restart of osx script
2016-11-14 20:48:06 +00:00
Justin Cormack
784d8eacca Merge pull request #725 from justincormack/revert-run
Revert "Use /run for pidfiles for sysklogd"
2016-11-14 20:35:41 +00:00
Justin Cormack
8a5f15a6bd improve restart of osx script
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-14 20:34:57 +00:00
Justin Cormack
dc10cff096 Revert "Use /run for pidfiles for sysklogd"
This reverts commit b8ff787239.

syslogd always uses /var/run internally, need to fix symlinks.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-14 19:55:07 +00:00
Justin Cormack
396bb8f4e8 Merge pull request #723 from justincormack/syslog-run-not-var-run
Use /run for pidfiles for sysklogd
2016-11-14 18:44:57 +00:00
Justin Cormack
29df1f9f7b Use /run for pidfiles for sysklogd
This is the real location, and /var may be overmounted.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-14 18:38:37 +00:00
Justin Cormack
f81abe7a39 Merge pull request #721 from justincormack/vsudd-before-syslog
Always start vsudd before syslog
2016-11-14 17:22:32 +00:00
Justin Cormack
9d81e2efef Always start vsudd before syslog
If we are using vsudd to forward syslog to the host, as on osx,
we need to start it before syslog starts, and make sure it has
created its socket.

Add a pidfile to vsudd to make startup more reliable.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-14 17:08:37 +00:00
Justin Cormack
49aee29e9c Merge pull request #718 from justincormack/diagnose-test
Make diagnostics program return exit code
2016-11-14 11:38:42 +00:00
Justin Cormack
4d4f0dd141 Merge pull request #717 from justincormack/more-space
Docker 1.13 needs more disk space
2016-11-14 11:30:48 +00:00
Justin Cormack
a494a39142 Make diagnostics program return exit code
Add running diagnostics to test script.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-14 11:30:09 +00:00
Justin Cormack
bf72303a95 Merge pull request #716 from justincormack/completion-deletion
remove completion directory from newer docker downloads
2016-11-14 11:21:12 +00:00
Justin Cormack
b4f2d92bd6 Docker 1.13 needs more disk space
Swarm mode now `fallocate`s a whole lot of space, so give it more so
test passes.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-14 11:20:09 +00:00
Justin Cormack
b356364777 remove completion directory from newer docker downloads
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-14 11:00:28 +00:00
Justin Cormack
afc48d581d Merge pull request #711 from justincormack/kernelup
update Linux to 4.4.31
2016-11-12 16:44:25 +00:00
Justin Cormack
ab5a4b580c update Linux to 4.4.31
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-12 16:30:44 +00:00
Justin Cormack
9f65ddda59 Merge pull request #712 from justincormack/revert-disk-format-change
Revert "Format filesystems earlier, before syslog"
2016-11-12 15:41:11 +00:00
Justin Cormack
b042b5127f Revert "Format filesystems earlier, before syslog"
This reverts commit 4dd5dca106.

Fix #710 where system hangs after klogd startup on AWS. Possibly
also affects Windows too. Still unclear why but lets revert and
continue investif=gating.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-12 15:29:27 +00:00