Commit Graph

2443 Commits

Author SHA1 Message Date
Rolf Neugebauer
74d832b4f4 doc: Add notes on how to run docker against MobyLinux
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2016-01-28 15:09:48 -08:00
Michel Courtine
d1d4d3d8bb doc: clarified the windows-notes 2016-01-28 14:51:24 -08:00
Justin Cormack
2514627c3f Merge pull request #18 from MagnusS/fixes
Improve DHCP speed
2016-01-28 22:32:06 +00:00
Justin Cormack
2a42e646cd Merge pull request #19 from rneugeba/docker-win
Docker win
2016-01-28 22:26:14 +00:00
Rolf Neugebauer
031869f371 docker: start docker daemon with network on Hyper-V for now
On Windows, for now we use DOCKER_HOST and access the docker daemon
on Moby via the network.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2016-01-28 13:52:24 -08:00
Rolf Neugebauer
f37d7fe1af hvtools: Add .gitignore to ignore hvtools binaries
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2016-01-28 13:51:55 -08:00
Magnus Skjegstad
45b789dc39 mdnstool: fix if parameter, was ignored previously but default was ok
Signed-off-by: Magnus Skjegstad <magnus@skjegstad.com>
2016-01-28 21:24:37 +01:00
Magnus Skjegstad
32c86c9822 udhcpc: set retransmission timeout to 1 sec (was 3 sec), retry if no offer after 3 sec (was 20 sec)
Signed-off-by: Magnus Skjegstad <magnus@skjegstad.com>
2016-01-28 21:24:37 +01:00
Rolf Neugebauer
7a9cee40ab Merge pull request #16 from rneugeba/hvtools
Hvtools
2016-01-28 10:21:59 -08:00
Rolf Neugebauer
95509ea04e Hyper-V: remove the force stop now that the Hyper-V deamons are running
Also, minor, unrelated tweak to the documentation

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2016-01-28 09:17:44 -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
Rolf Neugebauer
7cdecdd2e2 kernel: enable CONNECTOR and netlink MMAP access
Used by the Hyper-V daemons

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2016-01-28 09:14:11 -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
01227dc6f6 run docker after 9p fuse
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-27 13:20:45 +00:00
Justin Cormack
a327c706fe typo
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-27 12:19:02 +00:00
Justin Cormack
b7987a8ced read initial state from watchfile, should fix #17
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-27 12:16:02 +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
e41843a69c check if automount worked
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-27 11:14:05 +00:00
Justin Cormack
8a0899b069 eend in binfmt_misc for tidier boot log
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-27 10:53:38 +00:00
Justin Cormack
67fb87a8f6 typo
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-26 17:42:45 +00:00
Justin Cormack
de3ee7832c do not set graph driver in moby, use default or get from daemon.json config
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-26 12:35:46 +00:00
Justin Cormack
5ab15b564b for now always restart docker daemon, not send HUP as most changes require it
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-26 11:49:04 +00:00
Justin Cormack
bae12144e6 hupper does not strictly need to run after docker, just advisory
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-26 11:24:46 +00:00
Justin Cormack
e143f32816 add pidfile support to hupper
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-26 11:24:10 +00:00
Justin Cormack
34150463e5 add diagnostics for fuse if used
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-26 10:59:09 +00:00
Justin Cormack
bc3f3f005a make diagnostics run after all teh things it checks
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-25 23:25:25 +00:00
Justin Cormack
8f08cebf3b fix hupper
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-25 22:40:06 +00:00
Justin Cormack
af71eb1098 reorder test
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-25 22:28:02 +00:00
Justin Cormack
48239cdbdd Read exactly 43 bytes from watch
More and it hangs forever at present
Less and it will not read whole record

See https://github.com/docker/pinata/issues/766

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-25 21:10:13 +00:00
Justin Cormack
0f866c1e72 Merge pull request #15 from rneugeba/windows-scripts
hyperv: Add script and notes on how to boot Moby on Hyper-V
2016-01-25 17:50:51 +00:00
Rolf Neugebauer
9bf3fec8af hyperv: Add script and notes on how to boot Moby on Hyper-V
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2016-01-25 17:46:45 +00:00
Justin Cormack
79bbb3d841 Merge pull request #14 from dsheets/9pudfuse
9pudfuse updates
2016-01-25 17:19:41 +00:00
David Sheets
cb5e0d6865 9pudfuse: remove per-packet logging and catch write errors
Signed-off-by: David Sheets <sheets@alum.mit.edu>
2016-01-25 17:03:10 +00:00
David Sheets
c54d179146 9pudfuse: increase msize to 32k and move mkdir into 9pinit
Signed-off-by: David Sheets <sheets@alum.mit.edu>
2016-01-25 17:01:08 +00:00
Justin Cormack
3d95131a77 add boot2docker image compatibility
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-25 14:33:46 +00:00
Justin Cormack
569758a789 inline some config files
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-25 11:47:35 +00:00
Justin Cormack
d04724c828 hostname in database moved to etc/
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-25 11:33:27 +00:00
Justin Cormack
a1283877fe add hupper process to diagnostics
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-25 10:45:50 +00:00
Justin Cormack
675beb6809 Merge pull request #13 from rneugeba/scsi-disk-support
kernel: enable SCSI disk support
2016-01-24 17:43:40 +00:00
Rolf Neugebauer
923490d6c3 kernel: enable SCSI disk support
This is needed the get HD access in a Hyper-V VM
2016-01-24 17:40:09 +00:00
Justin Cormack
6bb7c8edbf improve script
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-22 18:36:34 +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
6c2e5cd4b0 WIP kexec script for testing on different hardware
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-22 17:37:27 +00:00
Justin Cormack
01fcef3fe9 script to restart docker4mac
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-22 17:37:27 +00:00
Justin Cormack
6b03655d09 Merge pull request #12 from rneugeba/iso-build-for-win
WIP: Boot Moby on Hyper-V
2016-01-22 17:27:02 +00:00
Rolf Neugebauer
659590379c moby: add support for building an ISO image for Moby
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2016-01-22 17:25:43 +00:00
Rolf Neugebauer
a8803a738a kernel: add Hyper-V para-virtual device drivers to the kernel
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2016-01-22 17:12:00 +00:00
Justin Cormack
85ebc8413e update gitignore
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-22 14:16:14 +00:00
Justin Cormack
a106d4ecda revert to debian - this is aufs issue and affects both anyway
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-22 14:15:59 +00:00