Commit Graph

51 Commits

Author SHA1 Message Date
Rolf Neugebauer
bdd1efe043 alpine: Add Hyper-V daemons to the build
The daemons allow proper shutdown of a VM, heartbeats,
inquiring and setting the network configuratio etc etc.

They are only started with running in a Hyper-V VM

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2016-01-28 09:17:44 -08:00
Justin Cormack
c5525c8a7a add a script to move all logs to host
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-27 13:36:36 +00:00
Justin Cormack
2388a191f3 add generic database setup, and add sysctl support
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-27 11:42:52 +00:00
Justin Cormack
7913dac16d fix runlevel for hupper
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-22 18:29:20 +00:00
Justin Cormack
999aee643c install hupper
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-22 18:22:55 +00:00
Justin Cormack
5acf36affa 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
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
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
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
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
David Sheets
c91006e6e8 Add 9pudfuse and fuserun.sh for testing remote FUSE file systems 2016-01-06 14:41:47 +00:00
Justin Cormack
7e8edd35cb add strace to default image for debugging
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-05 15:01:01 +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
644b733bbc do not add docker-x, as it is rather large and will not be updated often; will add another way to do this
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-04 11:41:28 +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
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
f3a8404411 need alpine-conf repo now for disk-setup tool
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2015-12-28 12:38:18 +00:00
Justin Cormack
058ada1150 Upgrade to alpine 3.3
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2015-12-24 20:08:12 +00:00
Justin Cormack
7527a4da71 lock down alpine to exact hash until 3.3 is out
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2015-12-24 10:15:40 +00:00
Justin Cormack
0693f6a715 update to work with latest alpine:edge
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2015-12-23 23:44:51 +00:00
Justin Cormack
f6eb32c2c1 UTC is default, do not need to set
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2015-12-23 21:01:56 +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
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
70d8143e48 move kernel under rest of build and pull through aufs tools
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-17 15:26:42 +00:00
Justin Cormack
d543f287ce give docker user a login shell
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-16 14:50:26 +00:00
Justin Cormack
0bb657c627 add a docker user, with the standard uid, gid used to mount 9p fs, as that is what some scripts expect
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-14 18:16:45 +00:00
Justin Cormack
db56b320a4 use the standard alpine tool to setup disk instead
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-14 15:40:58 +00:00
Justin Cormack
deb0043f9d replace automount script with a more rebust one, will later replace with alpine setup-disk. fix #378
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-14 14:56:23 +00:00
Richard Mortier
f157682d80 add trailing / to COPY
else I seem to get errors of the form `stat /mnt/sda1/var/lib/docker/aufs/mnt/e2729aae6cfdd93d3b2581a6cc403ccd198cdc21d063b66a362a6fde35e51618/etc/apk/repositories: not a directory`
2015-12-14 14:19:55 +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
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
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
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
34d0a2610c fix docker startup
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-07 19:19:50 +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
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
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
cfc5296bda busybox cpio is fine
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2015-12-01 16:12:27 +00:00