Commit Graph

91 Commits

Author SHA1 Message Date
Justin Cormack
dd4ac33ced upgrade to 1.10.0-rc3
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-02-02 21:29:51 -08:00
Justin Cormack
33c093b236 fix hupper killing docker on start
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-02-01 21:32:28 +00:00
Justin Cormack
ab87dabb3d fix gitignore
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-02-01 20:11:20 +00:00
Justin Cormack
a6f3772589 fix EOF in hupper
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-02-01 18:05:06 +00:00
Justin Cormack
58d2559067 missing brace
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-30 08:29:32 +01:00
Justin Cormack
59b2b66d8b upgrade to docker 1.10.0-rc2
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-28 23:26:29 +00:00
Justin Cormack
3e817dc3da Merge pull request #18 from MagnusS/fixes
Improve DHCP speed
2016-01-28 22:32:06 +00:00
Rolf Neugebauer
d89031ec6f docker: start docker daemon with network on Hyper-V for now
On Windows, for now we use DOCKER_HOST and access the docker daemon
on Moby via the network.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2016-01-28 13:52:24 -08:00
Rolf Neugebauer
02096b9e66 hvtools: Add .gitignore to ignore hvtools binaries
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2016-01-28 13:51:55 -08:00
Magnus Skjegstad
4b2e36225a mdnstool: fix if parameter, was ignored previously but default was ok
Signed-off-by: Magnus Skjegstad <magnus@skjegstad.com>
2016-01-28 21:24:37 +01:00
Rolf Neugebauer
bdd1efe043 alpine: Add Hyper-V daemons to the build
The daemons allow proper shutdown of a VM, heartbeats,
inquiring and setting the network configuratio etc etc.

They are only started with running in a Hyper-V VM

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2016-01-28 09:17:44 -08:00
Justin Cormack
c5525c8a7a add a script to move all logs to host
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-27 13:36:36 +00:00
Justin Cormack
78bd5af1ac run docker after 9p fuse
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-27 13:20:45 +00:00
Justin Cormack
5f000085ee typo
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-27 12:19:02 +00:00
Justin Cormack
3891dc0aef read initial state from watchfile, should fix #17
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-27 12:16:02 +00:00
Justin Cormack
2388a191f3 add generic database setup, and add sysctl support
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-27 11:42:52 +00:00
Justin Cormack
74a2dbd14a check if automount worked
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-27 11:14:05 +00:00
Justin Cormack
f7987a7da9 eend in binfmt_misc for tidier boot log
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-27 10:53:38 +00:00
Justin Cormack
c8b2fa4ff1 typo
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-26 17:42:45 +00:00
Justin Cormack
849df72fb5 do not set graph driver in moby, use default or get from daemon.json config
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-26 12:35:46 +00:00
Justin Cormack
c540664234 for now always restart docker daemon, not send HUP as most changes require it
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-26 11:49:04 +00:00
Justin Cormack
8b86109756 hupper does not strictly need to run after docker, just advisory
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-26 11:24:46 +00:00
Justin Cormack
c0c14ebf23 add pidfile support to hupper
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-26 11:24:10 +00:00
Justin Cormack
b24ce0d678 add diagnostics for fuse if used
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-26 10:59:09 +00:00
Justin Cormack
d5c1bbe105 make diagnostics run after all teh things it checks
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-25 23:25:25 +00:00
Justin Cormack
bdee0f1a78 fix hupper
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-25 22:40:06 +00:00
Justin Cormack
6c838d846f reorder test
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-25 22:28:02 +00:00
Justin Cormack
380c51010b Read exactly 43 bytes from watch
More and it hangs forever at present
Less and it will not read whole record

See https://github.com/docker/pinata/issues/766

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-25 21:10:13 +00:00
David Sheets
abf6d9e80d 9pudfuse: remove per-packet logging and catch write errors
Signed-off-by: David Sheets <sheets@alum.mit.edu>
2016-01-25 17:03:10 +00:00
David Sheets
2cc230ba01 9pudfuse: increase msize to 32k and move mkdir into 9pinit
Signed-off-by: David Sheets <sheets@alum.mit.edu>
2016-01-25 17:01:08 +00:00
Justin Cormack
160f5aff15 add boot2docker image compatibility
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-25 14:33:46 +00:00
Justin Cormack
70813a1d64 hostname in database moved to etc/
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-25 11:33:27 +00:00
Justin Cormack
e1e1809717 add hupper process to diagnostics
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-25 10:45:50 +00:00
Justin Cormack
999aee643c install hupper
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-22 18:22:55 +00:00
Justin Cormack
d9be62b48d update gitignore
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-22 14:16:14 +00:00
Justin Cormack
bfa1720456 force overlay for now, until -rc2
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-22 12:18:15 +00:00
Justin Cormack
d88907511b tweak gitignore
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-22 11:59:23 +00:00
Justin Cormack
b8e4dd03dd add process to send HUP signals to docker on config updates
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-22 11:58:38 +00:00
Justin Cormack
1ea4bc9cd1 remove customisation options as we will need to access pidfile elsewhere
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-21 17:16:17 +00:00
Justin Cormack
af8742eaaf fix config file
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-20 16:58:25 +00:00
Justin Cormack
4aeee48189 fix elif
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-20 16:57:47 +00:00
David Sheets
1722d38f69 9pudfuse: make sure the probable mount point exists 2016-01-20 14:58:08 +00:00
Justin Cormack
0261d732e4 some logic to choose graph driver, not just go with aufs
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-20 14:49:30 +00:00
Justin Cormack
77a5b0d032 Use a config file from the database if present
See issue https://github.com/docker/pinata/issues/690

Note there is not yet a restart mechanism.

Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-20 14:40:45 +00:00
Justin Cormack
6df16df027 fix #10 do not run dnsfix if no eth0
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-19 16:00:01 +00:00
Justin Cormack
f596bac5a7 fix hostname startup ordering
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-19 15:52:54 +00:00
Justin Cormack
9588a5e930 fix hostname setting
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-19 12:11:42 +00:00
Justin Cormack
f8254ea4dd add missing hostname file
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-18 17:24:19 +00:00
Justin Cormack
366973ea80 test localhost dns lookup as it doesnt time out slowly if no network access
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-18 17:13:31 +00:00
Justin Cormack
cfafe4f2d3 Add a dnsfix service
Test to see if we can reach the DNS server which we get via
DHCP. If not fall back to Google public DNS.

Some users on OSX seem to get this situation with xhyve,
see https://github.com/docker/pinata/issues/551

Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-18 14:33:02 +00:00