Commit Graph

44 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Justin Cormack
1bbaceaf84 bind mount at docker start
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-02-17 14:17:40 +00:00
David Scott
3a8c5d77c0 docker: write ip in groupDir, not driverDir
Signed-off-by: David Scott <dave.scott@docker.com>
2016-02-17 13:49:41 +00:00
Justin Cormack
2b28fd5124 Merge pull request #30 from djs55/avoid-socket9p
Use IP rather than socket9p for the docker socket
2016-02-15 15:15:25 +00:00
David Scott
6e20f932c3 Use IP rather than socket9p for the docker socket
Before this patch, docker would only listen on 0.0.0.0:2375 if running
on Hyper-V. This patch makes it listen there on all hypervisors.

In the case of xhyve, it will listen on the host internal vmnet network
or the virtual slirp network. We should aim to replace this with a socket-
based transport instead.

Signed-off-by: David Scott <dave.scott@docker.com>
2016-02-15 15:10:20 +00:00
David Sheets
726650a126 Replace 9pudfuse with transfused 2016-02-12 14:07:43 +00:00
Rolf Neugebauer
205fd57f0c 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
David Sheets
e98073c81e Fix the docker.log output filename 2016-02-04 11:04:18 +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
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
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
1bdf9b9603 force overlay for now, until -rc2
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-22 12:18:15 +00:00
Justin Cormack
11b8a294b6 remove customisation options as we will need to access pidfile elsewhere
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-21 17:16:17 +00:00
Justin Cormack
cb1252492f fix config file
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-20 16:58:25 +00:00
Justin Cormack
c9a5b5ae56 fix elif
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-20 16:57:47 +00:00
Justin Cormack
184529edbf some logic to choose graph driver, not just go with aufs
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-20 14:49:30 +00:00
Justin Cormack
cafc757917 Use a config file from the database if present
See issue https://github.com/docker/pinata/issues/690

Note there is not yet a restart mechanism.

Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-20 14:40:45 +00:00
Justin Cormack
ff6dbacce9 fix docker log output
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-15 16:44:33 +00:00
Justin Cormack
9346c2f687 move docker logs to host, see #447. Syslog still local
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-15 15:20:04 +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
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
ffc70fab8d remove /etc/conf.d.docker will provide option to have that externally to override
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-30 21:04:43 +00:00
Justin Cormack
4165acdd88 use standard chronyd config file, but make sure it starts after docker as it is slow
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-23 12:50:35 +00:00
Justin Cormack
aecec4c4e2 clean up docker start script
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-23 11:35:31 +00:00
Justin Cormack
670bcd330e fix to remove overlay fs left behind on upgrade
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-21 16:22:33 +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