Commit Graph

158 Commits

Author SHA1 Message Date
Justin Cormack
7bc1c77482 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
74aa597409 revert to 32k transfers for next beta
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-03-15 15:20:56 +00:00
Justin Cormack
18ad2f95e9 also set OS for arm builds
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-03-14 20:00:39 +00:00
Justin Cormack
7000440afd explicitly set OS=linux as Windows sets OS env var
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-03-14 19:57:15 +00:00
Justin Cormack
5aac58d322 256k transfers working now on pinata
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-03-14 15:26:48 +00:00
Justin Cormack
6efb24b599 revert max 9p transfer size to 64k
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-03-14 14:41:56 +00:00
Justin Cormack
263bb8030d increase max 9p transfer size to 256k
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-03-14 13:57:28 +00:00
Justin Cormack
5d6f234057 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
ae984a50a1 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
3033747de6 move ntp cron job to correct directory, fix timekeeping drift better
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-03-10 11:15:01 +00:00
Justin Cormack
e003a56326 clean up docker init
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-03-04 11:50:28 +00:00
Justin Cormack
e9216cc716 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
Justin Cormack
c9ba063c7d somehow networking is resetting hostname, get mdnstool to fix for now
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-03-01 16:50:30 +00:00
David Scott
076fcce176 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
928667ca57 clean up transfused startup scripts
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-02-26 13:46:26 +00:00
Justin Cormack
5dd093656f Revert "set debug mode on docker daemon"
This reverts commit 52cce5311a.
2016-02-24 16:18:47 +00:00
Justin Cormack
12389cd8cc 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
d0ec243663 update to 1.10.2
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-02-22 23:25:06 +00:00
Justin Cormack
d1081e6b6e 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
42e85b9776 Merge pull request #36 from dave-tucker/dtb
Clean up ARM builds
2016-02-19 15:15:27 +00:00
Dave Tucker
2b5b1e64fa Clean up ARM builds
- Check in dtbs and give them their own directory
- Add cubieboard dtbs :)
- Remove hyper-v tools from arm Dockerfile

Signed-off-by: Dave Tucker <dt@docker.com>
2016-02-19 14:59:55 +00:00
Justin Cormack
f0afaf3074 #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
d054f4392d use driverDir not groupDir
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-02-18 11:19:52 +00:00
Dave Tucker
c26bfdc275 Fix ARM Builds
Signed-off-by: Dave Tucker <dt@docker.com>
2016-02-17 17:59:21 +00:00
Dave Scott
fe94f5992a Merge pull request #31 from djs55/remove-driverDir
Remove driverDir, use groupDir
2016-02-17 15:52:21 +00:00
Justin Cormack
e2659a8131 remove bind mounts from 9pinit
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-02-17 14:22:55 +00:00
Justin Cormack
d23dada888 bind mount at docker start
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-02-17 14:17:40 +00:00
Justin Cormack
4980c1a80e typo
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-02-17 14:11:13 +00:00
Justin Cormack
41c1689ab4 also bind mount when using fuse
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-02-17 13:56:08 +00:00
David Scott
a049d233d2 Bind mount ${groupDir}/log as /var/log
Before this patch we would bind mount ${groupDir} as /var/log,
but we wish to put data files in the group dir, so we should move
the logs to a subdirectory.

Signed-off-by: David Scott <dave.scott@docker.com>
2016-02-17 13:50:54 +00:00
David Scott
5da9891c8b 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
1d2e9cacb0 bind mount Mac directories to top level
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-02-17 11:51:52 +00:00
Justin Cormack
2b959f22c6 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
9c5470ca87 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
b1d3101846 transfused: if the pidfile exists, make sure to truncate it 2016-02-12 14:08:11 +00:00
David Sheets
cbd5ca5991 transfused: it is ok if the pidfile does not yet exist 2016-02-12 14:08:11 +00:00
David Sheets
eb199ca9d7 transfused: init with a pidfile 2016-02-12 14:08:11 +00:00
David Sheets
7f088f9008 transfused: fix the 9p socket root name 2016-02-12 14:08:10 +00:00
David Sheets
94c3143c76 transfused: introduce command line arguments for pidfile, fusermount, 9p 2016-02-12 14:08:10 +00:00
David Sheets
d69b402584 transfused: improve some error message output and fix an fd mixup 2016-02-12 14:08:10 +00:00
David Sheets
c830c22335 transfused: add trace logging error checking 2016-02-12 14:08:10 +00:00
David Sheets
71fa8711ec transfused: do not check return of close
on advice from @justincormack
2016-02-12 14:08:10 +00:00
David Sheets
fee789baf1 transfused: hook debug into HUP-toggled run-time debug system 2016-02-12 14:08:10 +00:00
David Sheets
2fec071a41 transfused: clean up equal sign spacing 2016-02-12 14:08:10 +00:00
David Sheets
f949e737e8 transfused: clean up comma spacing 2016-02-12 14:08:10 +00:00
David Sheets
c8b9013ed3 transfused: use an absolute path for fusermount
Gets rid of non-portable execvpe for execve and prevents diversion.
Explicit diversion will be introduced as a command-line option later.
2016-02-12 14:08:10 +00:00
David Sheets
7ab2f3816c transfused: address @yallop's comments 2016-02-12 14:08:10 +00:00
David Sheets
1efc36a38c 9pudfuse: remove in favor of transfused 2016-02-12 14:08:09 +00:00
David Sheets
6384fbe0dc transfused: fix .gitignore 2016-02-12 14:07:43 +00:00
David Sheets
192c90b0a7 Replace 9pudfuse with transfused 2016-02-12 14:07:43 +00:00