Commit Graph

3244 Commits

Author SHA1 Message Date
Justin Cormack
d89b06a71f slim down kernel config some more; make it support modules, but not ship with any
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-11 15:43:14 +00:00
Justin Cormack
4e6c850e7e slight hack to start up chronyd in the background as it is very slow
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-11 14:58:21 +00:00
Justin Cormack
66c349a0db advertise moby hostname not always docker.local.
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-11 14:42:37 +00:00
Justin Cormack
88858f855c fix moby ascii art
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-11 14:38:50 +00:00
Justin Cormack
4d19e8e097 fix typo
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-11 13:56:31 +00:00
Justin Cormack
91aff8050a add virtio rng device in xhyve boot
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-11 11:39:50 +00:00
Justin Cormack
8f676270a6 use findfs not blkid here
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-11 10:28:28 +00:00
Justin Cormack
7694168a7c Revert "work around busybox blkid" now we have upstream blkid
This reverts commit 6f8ecb38f1.
2015-12-11 09:54:08 +00:00
Justin Cormack
c63737bb39 Add real blkid, as it is much more functional than busybox
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-11 09:53:56 +00:00
Justin Cormack
1b5c4fc81b work around busybox blkid
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-11 09:43:22 +00:00
Justin Cormack
5e5e4b5549 fix kernel make clean
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2015-12-10 23:49:18 +00:00
Justin Cormack
69b15d551e fix process startup, now runs docker correctly
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-10 16:25:04 +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
Justin Cormack
d82559a915 add fstab for docker mac to mount 9p filesystems, harmless if fails
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-09 15:51:48 +00:00
Justin Cormack
8693ca9c64 remove -i option since pinata fixed
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-09 15:48:09 +00:00
Justin Cormack
a9b3c89290 more gitignore files
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-09 15:35:59 +00:00
Justin Cormack
7b61863705 vendor pinata specific tools for now, until they are standalone packages
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-09 15:33:50 +00:00
Justin Cormack
7858a234b7 add copy of xhyve for easy testing on Mac
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-08 16:32:19 +00:00
Justin Cormack
2b313a91b4 redo mkinitrd.sh to not use volumes
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-08 14:48:27 +00:00
Justin Cormack
47b98507e3 make chronyd start after docker as it is slow starting
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-07 19:28:52 +00:00
Justin Cormack
34d0a2610c fix docker startup
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-07 19:19:50 +00:00
Justin Cormack
ce13c65017 fix backslashes in /etc/issue and add a motd back
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-07 18:48:51 +00:00
Justin Cormack
cd0366a560 customise issue not motd
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-07 18:26:48 +00:00
Justin Cormack
a75e2b142b Moby now runs Docker
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-07 18:14:17 +00:00
Justin Cormack
62ad646081 vendor upstream sysfs init
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-07 17:14:13 +00:00
Justin Cormack
43e137457a start more services, possibly too many
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-07 17:13:06 +00:00
Justin Cormack
b51d0bf308 bring up networking
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-07 16:29:00 +00:00
Justin Cormack
717a378df9 Configure network and timezone
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-07 15:54:54 +00:00
Justin Cormack
050ee55ffa fix up files that Docker bind mounts in so they are not set to desired values
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-07 15:43:39 +00:00
Justin Cormack
8dd1a88dec create device nodes in initrd
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-06 13:33:22 +00:00
Dave Scott
603329c135 Merge pull request #3 from djs55/b2d-fix
boot2docker: use `docker run -i` to get output from tar
2015-12-04 15:17:25 +00:00
David Scott
2b5da04449 boot2docker: use docker run -i to get output from tar
Signed-off-by: David Scott <dave.scott@unikernel.com>
2015-12-04 15:06:17 +00:00
Dave Scott
5bcd028a2e Merge pull request #2 from djs55/remove-ntp
boot2docker: remove ntp, sync with host clock every hour
2015-12-03 22:08:00 +00:00
David Scott
9fb2bbecc8 boot2docker: remove ntp, sync with host clock every hour
For filesharing to work properly the VM and host clocks should be in-sync,
even if the host clock has drifted relative to a good external timesource.

This patch removes ntp from the VM and replaces it with an hourly
sync with the VM's RTC which is plumbed into `gmtime`/`localtime`
in `xhyve`.

Fixes [docker/pinata#229]

Signed-off-by: David Scott <dave.scott@unikernel.com>
2015-12-03 20:56:58 +00:00
Justin Cormack
bc24228bc3 clean up override files, add inittab
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2015-12-02 12:50:06 +00:00
Justin Cormack
c01b1a7f3a link /init so kernel will boot as initramfs
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2015-12-02 11:57:48 +00:00
Justin Cormack
33056820a4 Add a (non modular) upstream kernel build, for pinata alpha and general testing
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2015-12-02 10:17:51 +00:00
Justin Cormack
cfc5296bda busybox cpio is fine
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2015-12-01 16:12:27 +00:00
Justin Cormack
f3b16bee48 small Alpine Linux install with Docker as next step toward replacing boot2docker
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2015-12-01 15:59:10 +00:00
Justin Cormack
8fe3ead7d4 remove pinata specific build changes
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2015-11-30 15:08:48 +00:00
Dave Scott
baaed8c4f6 Merge pull request #1 from djs55/9p2000.u
boot2docker: mount the /Mac as 9p2000.u
2015-11-29 16:48:22 +00:00
David Scott
3f7be73e1c boot2docker: mount the /Mac as 9p2000.u
This is needed for symlinks to work properly.

Signed-off-by: David Scott <dave.scott@unikernel.com>
2015-11-29 16:45:37 +00:00
Justin Cormack
5b99c08596 add pinata modified boot2docker until replaced by real Moby
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2015-11-27 11:46:27 +00:00
Justin Cormack
0fa1e68dc6 Initial requirements
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2015-11-26 15:17:40 +00:00