Commit Graph

88 Commits

Author SHA1 Message Date
Dave Tucker
3a02f608d5 Set proxy setting in Docker init script
Signed-off-by: Dave Tucker <dt@docker.com>
2016-05-16 12:07:01 +01:00
Justin Cormack
fc370b0c21 Revert "replace chronyd with sntpc, sync every 15s not 15m"
We should not use ntp.org this frequently, need to work out something
that uses host time mainly.

This reverts commit 382f99529d.
2016-05-10 11:29:16 +01:00
Justin Cormack
382f99529d replace chronyd with sntpc, sync every 15s not 15m
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-05-10 11:00:51 +01:00
Justin Cormack
f86f4bfae4 clean docker.git
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-05-04 18:52:22 +01:00
David Scott
a326a8b5ab docker: argument is now "--userland-proxy-path"
This was changed from "--userland-proxy-bin" in response to review
feedback.

Signed-off-by: David Scott <dave.scott@docker.com>
2016-04-29 14:56:36 +01:00
David Scott
ae3aec0522 Update docker to 1.11.1
Signed-off-by: David Scott <dave.scott@docker.com>
2016-04-29 14:00:45 +01:00
Justin Cormack
7d7ff562a7 Remove special case for insecure registry
This is now in the daemon.json config file see
https://github.com/docker/pinata/issues/2771

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-04-26 14:17:16 +01:00
Justin Cormack
2206cd8a30 remove extra copy of docker that build adds
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-04-18 16:48:37 +01:00
Justin Cormack
b152e5f20f use (old) binary build of docker arm for now as no cross build yet
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-04-18 11:17:32 +01:00
Rolf Neugebauer
242a505bc1 shutdown: use poweroff -f instead of halt -f
This is makes fast shutdown work on Hyper-V

While at it, also clean up whitespaces. The file was mixed
tabs and spaces. Now it uses spaces.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2016-04-15 15:10:28 +01:00
David Scott
29146734e5 docker: switch the branch to djs55/moby temporarily
Signed-off-by: David Scott <dave.scott@docker.com>
2016-04-13 22:50:40 +01:00
David Scott
4685b8af9e Bump docker to 1.11.0 final
Signed-off-by: David Scott <dave.scott@docker.com>
2016-04-13 21:43:17 +01:00
Justin Cormack
0d45d82b7b bump to docker 1.11.0-rc5
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-04-12 10:28:25 +01:00
Justin Cormack
178f331c66 use docker git fork for our patches version, rather than having patches here, for more transparency
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-04-11 12:32:11 +01:00
Justin Cormack
b76032f9fe clean up config options
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-04-11 11:09:55 +01:00
Justin Cormack
43c22fcffa change find to use keys, fix /etc/docker copying using find
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-04-08 14:03:43 +01:00
Justin Cormack
167123a363 add insecure registry support
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-04-08 13:47:44 +01:00
Justin Cormack
885cdd15f9 allow use of any files under /etc/docker eg /etc/docker/certs.d/
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-04-08 13:28:15 +01:00
Justin Cormack
6859c551ee more uses of moobyconfig in docker config
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-04-08 13:14:19 +01:00
Justin Cormack
6b396e200c use mobyconfig some more in docker config
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-04-08 13:06:55 +01:00
Justin Cormack
a6b0c50198 update to -rc4
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-04-07 09:55:57 +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
David Scott
edcf29c5e4 docker: if network=slirp or native/port-forwarding=true, forward ports
Signed-off-by: David Scott <dave.scott@docker.com>
2016-04-04 12:41:45 +01:00
David Scott
1d66615bc4 docker: add a patch to add --userland-proxy-bin argument
This will let us override the `docker-proxy` with the enhanced host
port-forwarding aware version.

Signed-off-by: David Scott <dave.scott@docker.com>
2016-04-04 12:41:45 +01:00
David Scott
96dd99326f docker: compile from scratch rather than download binaries
A later patch will apply a non-upstream patch to docker.

Signed-off-by: David Scott <dave.scott@docker.com>
2016-04-04 12:41:45 +01:00
Justin Cormack
f4a21e4d1f make tar more correct, by defining z
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-04-04 12:20:18 +01:00
Justin Cormack
b58f06212d fix typo in tar extract
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-04-04 12:13:45 +01:00
Justin Cormack
249151a445 Increase p and n ulimits to match boot2docker, fixes #64
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-04-04 11:44:27 +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
1e0778657c update to docker 1.11.0-rc3
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-04-02 09:12:20 +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
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
5fc48fbf70 clean up log transfer
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-03-18 11:20:28 +00:00
Justin Cormack
33d6a8adf0 fix typo properly
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-03-17 19:47:14 +00:00
Justin Cormack
2c172c040b typo
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-03-17 18:27:42 +00:00
Justin Cormack
0c75abcb3e shift logs to host before docker startup, keep old logs
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-03-17 15:27:50 +00:00
Justin Cormack
9d3c651aba add log message for starting docker
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-03-17 14:28:55 +00:00
Justin Cormack
11cf541e75 clean up download to make sure errors correctly
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-03-15 15:45:43 +00:00
Justin Cormack
09daa77e39 fix docker pidfile, may resolve #44
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-03-11 11:52:24 +00:00
Justin Cormack
6973ce71f0 update to docker 1.10.3
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-03-10 22:08:48 +00:00
Justin Cormack
d855ecc326 clean up docker init
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-03-04 11:50:28 +00:00
Justin Cormack
0e33cf80a0 Do not write ip address to database, no longer needed.
See discussion in #39.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-03-04 10:43:01 +00:00
David Scott
f2cf697cc4 Add debugging around writing the "ip" file
If writing the "ip" file doesn't happen, this should show the reason
why.

Related to #39

Signed-off-by: David Scott <dave.scott@docker.com>
2016-03-01 09:21:28 +00:00
Justin Cormack
9ed8b91027 Revert "set debug mode on docker daemon"
This reverts commit 52cce5311a.
2016-02-24 16:18:47 +00:00
Justin Cormack
52cce5311a set debug mode on docker daemon
See https://github.com/docker/pinata/issues/827

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-02-24 14:24:58 +00:00
Justin Cormack
4462a4b88d update to 1.10.2
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-02-22 23:25:06 +00:00
Justin Cormack
41ecb8ff3e output that we are shutting down docker
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-02-19 16:59:38 +00:00
Justin Cormack
e4e5356865 #35 somewhat hacky patch for fast shutdown, just sync filesystems and halt after docker shutdown
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-02-19 14:53:23 +00:00
Justin Cormack
ff917e07f7 use driverDir not groupDir
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-02-18 11:19:52 +00:00
Dave Scott
503fe76b13 Merge pull request #31 from djs55/remove-driverDir
Remove driverDir, use groupDir
2016-02-17 15:52:21 +00:00