Commit Graph

152 Commits

Author SHA1 Message Date
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
Justin Cormack
3f00b547ac move 9pinit to packages
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-23 13:18:43 +00:00
Justin Cormack
a7cc326f1c move automount to packages
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-23 13:02:25 +00:00
Justin Cormack
635a44ab99 use standard chronyd config file, but make sure it starts after docker as it is slow
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-23 12:50:35 +00:00
Justin Cormack
24ad77edb7 clean up docker start script
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-23 11:35:31 +00:00
Justin Cormack
d809737426 fix to remove overlay fs left behind on upgrade
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-21 16:22:33 +00:00
Justin Cormack
c51b6cc299 make sure diagnostics runs after all other startup
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-21 11:14:30 +00:00
Justin Cormack
d5b9f7ec1d new initrd with diagnostics
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-21 10:57:30 +00:00
Justin Cormack
6670833de8 move config files under packages
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-18 16:41:29 +00:00
Justin Cormack
6cce9a78e9 Use official docker image instead of Alpine package; switch to aufs by default
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-18 14:13:34 +00:00
Justin Cormack
b621868d15 add upstream docker package from alpine community aports
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-17 16:02:31 +00:00
Justin Cormack
bc0288a2eb Add in startup code for the pinata specific tools. Should be split out as packages later
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-10 11:26:58 +00:00