Justin Cormack
3c9c67bb16
remove 9pinit package, work now done by appropriate packages or mobyconfig tool
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-04-07 16:40:54 +01:00
Justin Cormack
793265c48d
rename database to hostsettings
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-04-07 15:11:20 +01:00
Justin Cormack
20e6da1cc3
add mobyconfig tool for simpler config
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-04-07 14:58:12 +01:00
Justin Cormack
b1cbf3e96f
move proxy 9p mounting into its own init file
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-04-07 10:31:08 +01:00
Ian Campbell
be7a9a4cda
vsudd: New daemon to proxy vsock to Unix domain sock
...
Used to proxy vsock 2376 <-> /var/run/docker.sock in the Moby VM.
Signed-off-by: Ian Campbell <ian.campbell@docker.com >
2016-04-05 13:50:06 +01:00
Ian Campbell
a887fb110c
Add VSOCK patches
...
These are WIP taken from git@github.com:stefanha/linux.git#vsock
(==4c9d2a6be1c6, using "cherry-pick -x") and correspond to RFC v5 of the
frontend patches posted in
http://thread.gmane.org/gmane.linux.kernel.virtualization/27455
There is no corresponding spec proposal update yet, but this set of patches
correspond (roughly) to addressing the feedback on v4 of the spec proposal
http://thread.gmane.org/gmane.comp.emulators.virtio.devel/1062 .
kernel_config.arm modifications copied from x86, not tested.
Added /etc/kernel-patches/ directory to the image to be consumed by the
licensing.
Signed-off-by: Ian Campbell <ian.campbell@docker.com >
2016-04-05 13:40:36 +01:00
Ian Campbell
f065ec7fdb
Add nc-vsock utility (for testing AF_VSOCK)
...
Signed-off-by: Ian Campbell <ian.campbell@docker.com >
2016-04-05 13:39:44 +01:00
Justin Cormack
09a98bf3e2
remove 9pudc, unused and not being fixed
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-04-04 18:21:01 +01:00
Justin Cormack
a65b7eff5a
Do not pin alpine 3.3 version, we do apk upgrade anyway
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-04-04 15:56:51 +01:00
David Scott
dc9b79f116
Add skeleton /sbin/proxy program
...
This will eventually contain the `docker-proxy` replacement.
Signed-off-by: David Scott <dave.scott@docker.com >
2016-04-04 12:41:02 +01:00
Justin Cormack
4b0c50a779
Remove docker-x for now as no longer working, and was not possible to enable. Will rework when strategy for supporting multiple dockers decided
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-04-04 11:47:48 +01:00
Justin Cormack
fac0264ecf
clean up unpacking docker rc3 bundle
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-04-03 09:34:01 +01:00
Justin Cormack
e891d65e97
Support for 1.11.0-rc2, fix #57
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-03-31 18:54:05 +01:00
Justin Cormack
ad8e6c39e7
Merge pull request #59 from djs55/diagnostics-server
...
Allow diagnostics to be downloaded on port 62374
2016-03-31 12:16:00 +01:00
David Scott
d842e1b5dc
Allow diagnostics to be downloaded on port 62374
...
A client like `pinata diagnose` can do the equivalent of:
nc 192.168.64.2 62374 > foo.tar
and find `foo.tar` contains
- the output of `/usr/bin/diagnostics`
- `iptables -L`
- `netstat -an`
- `ps uax`
- `docker ps`
- `dig docker.com`
- `wget http://docker.com `
This will allow us to diagnose various in-VM faults, without having
to ask the user to access the console and run commands.
Signed-off-by: David Scott <dave.scott@docker.com >
2016-03-30 10:31:55 +01:00
Justin Cormack
6d890f007b
switch root to a tmpfs filesystem, so pivot_root works, should make #57 work now
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-03-29 22:09:23 +01:00
Justin Cormack
af7777c832
store source info for kernel and kernel patches in image for #45
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-03-18 13:53:26 +00:00
Justin Cormack
ab6a41551f
move hostlog into 9pinit so it happens early enough to capture logs
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-03-17 12:27:20 +00:00
Justin Cormack
a17aa0bcbd
exact commit for alpine to help match source
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-03-10 20:41:28 +00:00
Justin Cormack
3ff475520c
add openssh client, as docker needs it for ssh based git clones
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-02-17 09:15:11 +00:00
David Sheets
726650a126
Replace 9pudfuse with transfused
2016-02-12 14:07:43 +00:00
Justin Cormack
0afaff2c4a
Add some wrappers to support at least the default uid mapping
...
The busybox adduser and addgroup commands are ignored by docker,
as it avoids symlinks, but they are not compatible so this is
kind of a good idea.
See https://github.com/docker/docker/blob/master/pkg/idtools/usergroupadd_linux.go
However, these do not yet deal with creating mapping ranges in /etc/subuid and
/etc/subgid, so initially we provide a set that match the default docker name
so at least docker daemon --userns-remap=default should work.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-02-10 15:47:37 -08:00
Rolf Neugebauer
69f5cb301c
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
f47531f2a9
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
c15bff5cfe
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
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