Commit Graph

8506 Commits

Author SHA1 Message Date
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
5e7809d0ad 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
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
ab7995ef37 add networking for qemu arm
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-14 16:06:03 +00:00
Justin Cormack
e919cb9dec split arm build from qemu
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-14 15:47:18 +00:00
Justin Cormack
b49fbfd1cf 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
86bf66dc25 add arm console to securetty
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-14 15:21:15 +00:00
Justin Cormack
26c09b70df update gitignore
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-14 15:18:37 +00:00
Justin Cormack
53e5561d79 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
bfffcd13ee Merge pull request #9 from yomimono/build-dtb
fix qemu invocation for arm kernel
2016-01-14 14:30:43 +00:00
Mindy Preston
554eb6ba26 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
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
8db1056b36 fix make dependencies
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-14 11:04:52 +00:00
Justin Cormack
572d705e9a 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
49b696967e more arm fixes
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-13 17:48:42 +00:00
Justin Cormack
478677a809 simplify inittab
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-13 16:01:36 +00:00
Justin Cormack
f517609a62 change qemu arm emulation
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-13 15:59:59 +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
b20efa4991 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
0c026b8e47 qemu build in Makefile
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-12 14:10:51 +00:00
Justin Cormack
2bea264d1a remove maintainer line, not needed
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-12 11:50:48 +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
a7943a360c 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
Justin Cormack
1002ae2921 add virtio scsi support
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-11 15:28:03 +00:00
Justin Cormack
7bb26b2eb9 switch to leaseweb mirror for now
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-11 14:24:30 +00:00
Justin Cormack
2aea0186c1 remove circlrci config for now as does not use recent enough version of docker to build
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-11 14:20:08 +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
74bae5bfe5 initially just test building
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-11 11:57:36 +00:00
Justin Cormack
0187e3e72f initial circleci config
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-11 11:54:13 +00:00
Justin Cormack
d94573e8b3 Merge pull request #7 from yomimono/more_memory
run qemu-system-x86_64 with 256M of memory
2016-01-09 13:08:53 +00:00
Mindy Preston
ff5b33cc01 Need -serial stdio. 2016-01-09 01:09:10 +00:00
Mindy Preston
cbd5c61592 Run qemu-system-x86_64 with more memory.
With the default 128M of memory, the ramfs (which currently has a decompressed
size of ~82M) can't be completely written with the kernel and the compressed ramfs
also in memory, resulting in missing chunks of filesystem (notably /etc and /sbin for
me) on the emulated machine.  This makes for a dramatically broken moby.  Asking for 256M at least
gets us to some nice whale ASCII art and a console we can interact with.
2016-01-09 01:08:16 +00:00
Justin Cormack
4b46a8631b switch qemu Dockerfile to using alpine
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-08 16:09:52 +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
e50c7317cb fix service name
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-07 16:04:27 +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
94555847cf fix tag name for initrd build
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-07 11:08:38 +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
defd322215 initial Dockerfile for running qemu, however interactive serial console not working
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-06 16:28:45 +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