Commit Graph

2529 Commits

Author SHA1 Message Date
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
Justin Cormack
306635da8e add virtio scsi support
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-11 15:28:03 +00:00
Justin Cormack
0f6316a38b 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
4b504b91b8 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
d07c846967 tidy curl
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-11 12:17:38 +00:00
Justin Cormack
a5e7c22a05 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
7d75415555 initially just test building
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-11 11:57:36 +00:00
Justin Cormack
9e4bed1d2b initial circleci config
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-11 11:54:13 +00:00
Justin Cormack
53f046fcf4 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
e65e393cb5 Need -serial stdio. 2016-01-09 01:09:10 +00:00
Mindy Preston
f088832c40 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
4d92a7ca83 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
d880e59c37 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
9b90cf4760 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
23af8f1fed fix binfmat paths
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-08 10:49:13 +00:00