Commit Graph

48 Commits

Author SHA1 Message Date
Justin Cormack
7117c7c541 fix runlevel for hupper
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-22 18:29:20 +00:00
Justin Cormack
66eac01bc7 install hupper
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-22 18:22:55 +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
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
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
1001747eca fix service name
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-07 16:04:27 +00:00
Justin Cormack
3cb59a5797 consistent naming
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-07 15:13:42 +00:00
Justin Cormack
5eb42b080f rename binfmt_misc package
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-07 14:47:46 +00:00
David Sheets
9c49e0b5b5 Add 9pudfuse and fuserun.sh for testing remote FUSE file systems 2016-01-06 14:41:47 +00:00
Justin Cormack
3224fe4554 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
b0ae15c776 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
b9fca74c01 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
76d8a3618d 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
e78fe99dca 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
4cad52cbaf 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
6408fc7b5d add docker-x package
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-29 16:16:06 +00:00
Justin Cormack
013bd04036 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
8f01f93550 Upgrade to alpine 3.3
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2015-12-24 20:08:12 +00:00
Justin Cormack
a5b39d2ef9 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
3e946f91aa 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
ad06459f8a 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
c43dd60a39 move 9pinit to packages
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-23 13:18:43 +00:00
Justin Cormack
364d6f5aa1 move automount to packages
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-23 13:02:25 +00:00
Justin Cormack
010382b4a3 new initrd with diagnostics
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-21 10:57:30 +00:00
Justin Cormack
bb2fd04e2a move config files under packages
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-18 16:41:29 +00:00
Justin Cormack
4af10a3026 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
fca32a3b72 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
ae91272345 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
55c1ae689c 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
fedc7238ca 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
9e7a213777 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
6ed205ccc4 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
e293a06eda 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
e4d19c90dc 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
39de916e54 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
d104845bbd 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
4a5528a0cc 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
aaf77645b8 fix docker startup
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-07 19:19:50 +00:00
Justin Cormack
5d013ba4b3 Moby now runs Docker
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-07 18:14:17 +00:00
Justin Cormack
337490aba6 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
64077e4e0a bring up networking
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-07 16:29:00 +00:00
Justin Cormack
02dbabaec4 Configure network and timezone
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-07 15:54:54 +00:00
Justin Cormack
4b626fdd41 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
d4419dd94c 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
7e5df28c43 busybox cpio is fine
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2015-12-01 16:12:27 +00:00
Justin Cormack
e235d035a5 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