Commit Graph

63 Commits

Author SHA1 Message Date
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
Justin Cormack
be8e321a59 upgrade to 1.10.0-rc1
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-16 20:59:22 +00:00
Justin Cormack
a31db284e3 fix docker log output
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-15 16:44:33 +00:00
Justin Cormack
7be084d189 move docker logs to host, see #447. Syslog still local
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-15 15:20:04 +00:00
Justin Cormack
6a0e6545cf mount database
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-14 16:19:30 +00:00
Justin Cormack
c809a196b3 clean up 9p virtio init to check which drivers are available
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-14 11:25:34 +00:00
Justin Cormack
6a0bb2313a add binary arm docker, as official builds do not support daemon yet
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-13 15:50:26 +00:00
Justin Cormack
87dae6079b Initial arm support
Not yet working, some parts also not yet cross compiled

Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-13 15:49:38 +00:00
Justin Cormack
9b76605c24 better automount failure handling
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-11 16:40:47 +00:00
Justin Cormack
6b60f08342 tidy curl
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-11 12:17:38 +00:00
Justin Cormack
a35f04deff get docker from get.docker.com not from docker hub
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-11 12:13:57 +00:00
Justin Cormack
1d03f5011d simplify the docker-x install process
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-08 15:16:48 +00:00
Justin Cormack
0ea60c4f23 update binfmt_misc with ppc64le, mips64, mips64le
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-08 12:02:25 +00:00
Justin Cormack
76d4d05924 fix binfmat paths
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-08 10:49:13 +00:00
Justin Cormack
453f38e64a add in all the other architectures from binfmt misc and script to generate them
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-07 16:12:35 +00:00
Justin Cormack
9ea207a38e consistent naming
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-07 15:13:42 +00:00
Justin Cormack
d33f69158e rename binfmt_misc package
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-07 14:47:46 +00:00
Justin Cormack
c9b6eb3dad clean up build containers on make clean; rename for consistency
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-07 10:56:02 +00:00
Justin Cormack
34d8226a4d update to use @avsm Alpine OCaml images
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-06 15:07:39 +00:00
David Sheets
26899fa911 Include the etc/init.d/ script for 9pudfuse
This was accidentally not committed as .gitignore is not expressive enough
2016-01-06 14:46:31 +00:00
David Sheets
c91006e6e8 Add 9pudfuse and fuserun.sh for testing remote FUSE file systems 2016-01-06 14:41:47 +00:00
Justin Cormack
7b33ea49bb replace docker-x binary with a script that downloads on demand
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-04 12:19:03 +00:00
Justin Cormack
270caa071c do not need the qemu executables in moby, they need to be in container
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-31 10:32:34 +00:00
Justin Cormack
c70b432b6f add experimental package for qemu-user emulation for arm
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-31 00:25:25 +00:00
Justin Cormack
fa4beb5277 remove /etc/conf.d.docker will provide option to have that externally to override
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-30 21:04:43 +00:00
Justin Cormack
d9f3649dcf fix permissions
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-30 18:26:12 +00:00
Justin Cormack
3fc3d0fb71 initial cross compile support for arm, just for 9pudc
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-30 15:40:54 +00:00
Justin Cormack
9a3fa822db set clock periodically, as had incident when it was set to 1970 with chronyd running!
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-30 13:37:41 +00:00
Justin Cormack
8558e6e0c0 add docker-x package
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-29 16:16:06 +00:00