Commit Graph

2443 Commits

Author SHA1 Message Date
Justin Cormack
1bdf9b9603 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
7f57ee0b88 tweak gitignore
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-22 11:59:23 +00:00
Justin Cormack
889febc25b 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
e4e316791f kernel config: enable group scheduling in CFQ
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-21 21:52:58 +00:00
Justin Cormack
11b8a294b6 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
cb1252492f fix config file
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-20 16:58:25 +00:00
Justin Cormack
c9a5b5ae56 fix elif
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-20 16:57:47 +00:00
Justin Cormack
8fa3bd0bfa Merge pull request #11 from dsheets/transfuse
Small transfuse fixes
2016-01-20 15:02:50 +00:00
David Sheets
97e3ac80f8 9pudfuse: make sure the probable mount point exists 2016-01-20 14:58:08 +00:00
David Sheets
9be49c730d Fix xhyve/fuserun.sh kernel path 2016-01-20 14:57:37 +00:00
Justin Cormack
184529edbf 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
cafc757917 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
d74c4fb039 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
c82d098b9c fix hostname startup ordering
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-19 15:52:54 +00:00
Justin Cormack
eedf4f3636 force clean docker images
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-19 12:14:30 +00:00
Justin Cormack
7d2e0bb6ec fix hostname setting
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-19 12:11:42 +00:00
Justin Cormack
5207fb4b71 rename top level Dockerfiles
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-19 12:11:26 +00:00
Justin Cormack
e57aaa9b11 update README for qemu, arm support
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-19 10:44:03 +00:00
Justin Cormack
9f8f7812bc add kexec support
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-18 22:25:58 +00:00
Justin Cormack
dd0cd99c4d switch to Ubuntu for stable release with cross compilers as Debian broke
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-18 17:46:19 +00:00
Justin Cormack
431ef161c1 add missing hostname file
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-18 17:24:19 +00:00
Justin Cormack
d0254fe21e 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
cdf02ffe7f set hostname from database if available
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-18 17:09:23 +00:00
Justin Cormack
1238340091 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
8e0a1bf006 add bind-tools for dig as busybox nslookup is a bit broken
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-18 14:33:02 +00:00
Justin Cormack
3488788004 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
ff6dbacce9 fix docker log output
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-15 16:44:33 +00:00
Justin Cormack
9346c2f687 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
56d8773080 mount database
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-14 16:19:30 +00:00
Justin Cormack
74100f85a4 add networking for qemu arm
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-14 16:06:03 +00:00
Justin Cormack
87f4d74e0e split arm build from qemu
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-14 15:47:18 +00:00
Justin Cormack
af6719c82d use image with qemu in, so as not to build every time as it is slow
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-14 15:43:43 +00:00
Justin Cormack
b441a16f2b add arm console to securetty
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-14 15:21:15 +00:00
Justin Cormack
f00e396175 update gitignore
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-14 15:18:37 +00:00
Justin Cormack
871db27eca remove binfmt_misc on arm for now
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-14 15:18:01 +00:00
Justin Cormack
226b982d0f Merge pull request #9 from yomimono/build-dtb
fix qemu invocation for arm kernel
2016-01-14 14:30:43 +00:00
Mindy Preston
55bfabc8f2 fix qemu invocation for arm kernel
Download the correct dtb from debian when making a kernel and use it
when invoking qemu-system-arm.  Also, provide additional serial
parameters.
2016-01-14 14:23:57 +00:00
Justin Cormack
c29135c18a 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
b04caed5e6 fix make dependencies
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-14 11:04:52 +00:00
Justin Cormack
42e141986a cut down serial port options on arm
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-14 10:45:18 +00:00
Justin Cormack
7ce5afc2d9 more arm fixes
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-13 17:48:42 +00:00
Justin Cormack
a4844ad52a simplify inittab
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-13 16:01:36 +00:00
Justin Cormack
3cfe7604c5 change qemu arm emulation
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-13 15:59:59 +00:00
Justin Cormack
15c23a54ea 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
658ac6145f 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
5b3188cd0c Update kernel to 4.1.15
Add fix for https://github.com/docker/docker/issues/18180 with
aufs update.

Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-12 14:11:05 +00:00
Justin Cormack
aa7dbc0205 qemu build in Makefile
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-12 14:10:51 +00:00
Justin Cormack
da956a443d remove maintainer line, not needed
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-12 11:50:48 +00:00
Justin Cormack
c7cccda155 better automount failure handling
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-11 16:40:47 +00:00
Justin Cormack
f596767fea boot with noapic, to avoid kernel panic on some systems
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-11 16:24:39 +00:00