Justin Cormack
28baa22239
Use daemon version in diagnostics
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-11-24 12:23:27 +00:00
Justin Cormack
59353f78c0
Update Docker init script for 1.13
...
- never update root filesystem see #583
- remove tests for earlier docker versions
- only use iptables override on desktop
fix #753
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-11-21 21:15:24 +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
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
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
a7d223768c
Improve matching of mounted drive in diagnostics
...
Was failing on AWS as drive did not match patter that was too precise.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-11-04 14:09:12 +00:00
Justin Cormack
d435d5115b
Update to Go 1.7.3
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-10-20 13:17:16 +01:00
Justin Cormack
db0376cb88
add git to Go build package
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-10-16 13:49:28 +01:00
Justin Cormack
cfbdc7d067
do not remove build containers
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-10-11 16:12:40 +01:00
Justin Cormack
0ac6beff82
Do not create latest tags for base images
...
As we never use these, do not create them.
Also update images where applicable.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-10-10 14:55:48 +01:00
Justin Cormack
fa19d3259b
Use build container id rather than tagging builds
...
This means that multiple builds will not conflict, so we can
remove the lock from the CI. Also quieter when no errors.
Some still left to do, only done the ones used in build and CI
initially. Some of the others will be cleaned up anyway later.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-29 20:21:17 +01:00
Justin Cormack
9a96f5da8c
Add support for running a development bundle of Docker
...
Add a database key `bundle` that contains a path to a Docker dev
bundle eg `/.../docker/bundles/1.13.0-dev` where the docker
binaries to run can be found. This will be paired with a script
in `docker/docker` to set this key, so users can easily help
contribute to Docker development.
The change will be permanent until the key is removed or a factory
reset is done, or the bundle cannot be found.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-13 22:46:27 +01:00
Justin Cormack
206dfe0950
simplify vendor tar
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-12 16:36:01 +01:00
Justin Cormack
43ab6520cf
update to latest alpine base images
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:02:07 +01:00
Justin Cormack
5c634808df
simplify tar for vendor directory
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:02:07 +01:00
Justin Cormack
276157a769
Move all output to the directories it will be in eventually
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:02:07 +01:00
Justin Cormack
d00ed9ce6e
run with no network
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 15:59:19 +01:00
Justin Cormack
168fdedace
clean up diagnostics server build
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 15:59:19 +01:00
Justin Cormack
28afc72a97
move vendor directory directly under packages
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 15:59:19 +01:00
Justin Cormack
089c592873
Include the Go binary in the hash of the go build base
...
As this is not installed via apk it was not being included in the
checksum.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-09 15:46:23 +01:00
Justin Cormack
4e2a2db5c7
set a timeout for database capture
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-08 22:18:04 +01:00
Justin Cormack
7daf4563e5
Merge pull request #380 from nathanleclaire/diagnostix
...
[WIP] Add ability for diagnostics to upload to S3 bucket
2016-09-08 09:41:03 +01:00
Justin Cormack
d4b5fc07c9
Closer to reproducible builds
...
Make an alpine base image for C and Go builds.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-06 13:18:11 +01:00
Justin Cormack
30d4cf9675
more specific golang alpine base package
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-05 15:05:52 +01:00
Nathan LeClaire
0a7634fbd3
Use additional parent (global) context
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2016-09-02 16:45:05 -07:00
Nathan LeClaire
5d4b7a6f86
Fix race condition(s) in command collection code
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2016-09-02 16:40:38 -07:00
Justin Cormack
bf397574cc
diagnostics program fix up output
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-02 16:30:37 +01:00
David Scott
7e58c70929
diagnostics: no need to collect /var/log/service-port-opener.log
...
This log file has been removed and the contents are now in /var/log/messages
which we already collect.
Signed-off-by: David Scott <dave.scott@docker.com >
2016-09-01 11:28:43 +01:00
Nathan LeClaire
d7c2f7aed5
Add a few command capture tweaks
...
- Human readable df output
- Dramatically more history from Docker and syslog
- brctl doesn't output anything without 'show'
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2016-08-29 16:10:31 -07:00
Nathan LeClaire
970bc31977
Add ability to upload diagnostics to S3
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2016-08-29 16:03:27 -07:00
Justin Cormack
a4878c37d1
Fix for util-linux, no lsblk
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-08-22 19:08:26 +01:00
Rolf Neugebauer
c36072713a
diagnostics: fix diagnostics for local/desktop editions
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2016-07-29 16:28:34 +01:00
Justin Cormack
32aa36439a
allow for args for servers in diagnostics
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-07-21 18:38:38 +01:00
Justin Cormack
6a6f924283
fix typo
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-07-21 17:35:11 +01:00
Justin Cormack
7682ed2503
Tweak disk detection diagnostics to match what is going on better
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-07-21 15:48:24 +01:00
Rolf Neugebauer
423b3c2765
Merge pull request #309 from justincormack/tapvsockvmbus
...
Use mobyplatform not vmbus for tap-vsock
2016-07-21 10:34:57 +01:00
Nathan LeClaire
afb9b91b60
Remove unused file
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2016-07-20 13:48:52 -07:00
Nathan LeClaire
9ecf003a33
Fix error in diagnostic server init code
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2016-07-20 13:48:21 -07:00
Justin Cormack
c475121074
Use mobyplatform not vmbus for tap-vsock
...
Plus cleanup for less indentation. No functional change.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-07-20 12:30:59 +01:00
Justin Cormack
093a81064b
Only run transfused on mac platform
...
See #301
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-07-20 12:11:39 +01:00
Justin Cormack
2bf06aab05
Remove rawtcp from diagnostics server
...
See https://github.com/docker/moby/pull/303
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-07-20 11:46:54 +01:00
Nathan LeClaire
1e0dfd4798
Re-write diagnostic server to support cloud/HTTP
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2016-07-19 17:40:15 -07:00
Justin Cormack
498c481700
Wait for docker to finish starting up before terminateing init script
...
This means dependent services can rely on docker being up.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-07-15 11:29:32 +01:00
Justin Cormack
220f3df37a
Add a system containerd
...
This adds an independent system containerd for running internal
containers.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-07-14 12:28:44 +01:00
Rolf Neugebauer
1977888b18
diagnostics: Don't check for transfused on Windows
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2016-07-12 14:28:11 +01:00
Ian Campbell
dd41c21021
diagnostics: Only log connection failure if not EAFNOTSUPPORT
...
EAFNOTSUPPORT likely means we are running on a hypervisor which doesn't support
that particular socket type.
Signed-off-by: Ian Campbell <ian.campbell@docker.com >
2016-07-01 15:35:27 +01:00
Ian Campbell
d9288f5bba
diagnostics: Log over syslog
...
Instead of spamming the console.
Signed-off-by: Ian Campbell <ian.campbell@docker.com >
2016-07-01 15:35:27 +01:00