Justin Cormack
8cc82ba98b
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
Justin Cormack
6ee7b22152
remove temporary containers
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-02-10 14:31:37 -08:00
Justin Cormack
b08e5baddd
Merge pull request #25 from dsheets/socket-msize
...
Improve docker socket I/O by 30-70% each way
2016-02-09 10:18:04 -08:00
David Sheets
7197f35b5e
Improve docker socket I/O by 30-70% each way
...
Upload into a container was 10MiB/s now 17MiB/s.
Download from a container was 16MiB/s now 21MiB/s.
2016-02-09 18:12:17 +00:00
Justin Cormack
0167549645
Merge pull request #24 from dsheets/9p-msize
...
In conjunction with mirage/ocaml-9p#58 , speeds up seq read 13x + seq write 11x
2016-02-09 09:42:50 -08:00
David Sheets
03ad9781ad
In conjunction with mirage/ocaml-9p#58 , speeds up seq read 13x + seq write 11x
2016-02-09 17:40:56 +00:00
Justin Cormack
1f9bf7c321
fix 9pudc startup
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-02-08 18:30:30 -08:00
Justin Cormack
fd8ac2fb83
logging for 9pudc
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-02-08 15:22:10 -08:00
Justin Cormack
31cf8d0c0d
Merge pull request #23 from rneugeba/win-cleanup
...
Win cleanup
2016-02-05 17:04:22 -08:00
Rolf Neugebauer
b037de72b1
win: remove PS script and documentation. They live elsewhere now
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2016-02-05 16:58:59 -08:00
Rolf Neugebauer
4189cffeee
dnsfix: don't run it in a Hyper-V VM
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2016-02-05 16:57:47 -08:00
Rolf Neugebauer
68af3a7c22
hvtools: Force down the interface is config changes
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2016-02-05 16:57:47 -08:00
Rolf Neugebauer
7f7abf722e
docker: also listen to local unix socket when running on Hyper-V
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2016-02-05 16:57:47 -08:00
Rolf Neugebauer
ad95c77f90
hvtools: fix script to configure the IP address from the host
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2016-02-05 16:57:47 -08:00
Rolf Neugebauer
8d96529820
mdnstool: don't start when running as a Hyper-V VM
...
Windows doesn't grok mDNS by default. No need to start mdnstool
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2016-02-05 15:49:02 -08:00
Michel Courtine
4805f56846
added the -force switch to silence the powershell unrestricted access request
2016-02-05 14:33:06 -08:00
Justin Cormack
e9dc319b85
update to docker 1.10.0
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-02-04 12:03:05 -08:00
Justin Cormack
2faff22893
Merge pull request #22 from dsheets/fix-docker-log
...
Fix the docker.log output filename
2016-02-04 07:05:52 -08:00
David Sheets
48a8bc87f6
Fix the docker.log output filename
2016-02-04 11:04:18 +00:00
Justin Cormack
d4ab304c67
update to rc4
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-02-03 17:38:17 -08:00
Justin Cormack
dd4ac33ced
upgrade to 1.10.0-rc3
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-02-02 21:29:51 -08:00
Justin Cormack
33c093b236
fix hupper killing docker on start
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-02-01 21:32:28 +00:00
Justin Cormack
ab87dabb3d
fix gitignore
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-02-01 20:11:20 +00:00
Justin Cormack
a6f3772589
fix EOF in hupper
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-02-01 18:05:06 +00:00
Justin Cormack
58d2559067
missing brace
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-30 08:29:32 +01:00
Justin Cormack
59b2b66d8b
upgrade to docker 1.10.0-rc2
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-28 23:26:29 +00:00
Rolf Neugebauer
7055885b8d
Merge pull request #20 from rneugeba/win-docker
...
doc: Add notes on how to run docker against MobyLinux
2016-01-28 15:11:18 -08:00
Rolf Neugebauer
cd61eff2f4
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
0c760aa3c7
doc: clarified the windows-notes
2016-01-28 14:51:24 -08:00
Justin Cormack
3e817dc3da
Merge pull request #18 from MagnusS/fixes
...
Improve DHCP speed
2016-01-28 22:32:06 +00:00
Justin Cormack
dd0cd8c760
Merge pull request #19 from rneugeba/docker-win
...
Docker win
2016-01-28 22:26:14 +00:00
Rolf Neugebauer
d89031ec6f
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
02096b9e66
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
4b2e36225a
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
b084fc0301
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
ab0cc13a43
Merge pull request #16 from rneugeba/hvtools
...
Hvtools
2016-01-28 10:21:59 -08:00
Rolf Neugebauer
b47f280302
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
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
Rolf Neugebauer
b8b9126323
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
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
78bd5af1ac
run docker after 9p fuse
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-27 13:20:45 +00:00
Justin Cormack
5f000085ee
typo
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-27 12:19:02 +00:00
Justin Cormack
3891dc0aef
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
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
74a2dbd14a
check if automount worked
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-27 11:14:05 +00:00
Justin Cormack
f7987a7da9
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
c8b2fa4ff1
typo
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-26 17:42:45 +00:00
Justin Cormack
849df72fb5
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
c540664234
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
8b86109756
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