Justin Cormack
6b00a34abc
add --rm for transfused
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-03-29 18:31:55 +01:00
Justin Cormack
394ee652a4
Merge pull request #58 from yallop/free-con
...
Transfused: free connection objects when read returns 0.
2016-03-29 16:54:13 +01:00
Jeremy Yallop
d521bcfcd9
Transfused: free connection objects when read returns 0.
2016-03-29 16:37:51 +01:00
Justin Cormack
e5716a634b
No need to add git to golang:alpine now we have vendored all code
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-03-28 22:12:51 +01:00
Justin Cormack
f51deb84d4
use build-base not alpine-sdk as smaller and we do not need rest
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-03-28 18:18:48 +01:00
Justin Cormack
9ff6413077
remove all uses of go get as everything vendored in #56
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-03-23 12:24:21 +00:00
Justin Cormack
82ea2a6404
fix #56 by vendoring mdns libraries
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-03-23 12:19:01 +00:00
Justin Cormack
a5e06cf3b3
add make vendor for #56
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-03-23 12:18:19 +00:00
Justin Cormack
f555595664
add Makefile for licensing container
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-03-22 11:58:16 +00:00
Justin Cormack
3917e918c4
include all source not just GPL
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-03-22 11:23:55 +00:00
Justin Cormack
1a9ae94017
include aufs in GPL download container
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-03-21 11:51:08 +00:00
Justin Cormack
6832d7c99b
add kernel source, fix subpackages
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-03-21 11:31:48 +00:00
David Sheets
67d7eb301f
Merge pull request #55 from dsheets/transfused-events
...
transfused: add chmod event syscall
2016-03-20 22:02:47 +00:00
David Sheets
b8660ad77b
transfused: add chmod event syscall
...
Signed-off-by: David Sheets <dsheets@docker.com>
2016-03-20 22:01:22 +00:00
David Sheets
36f9eac695
Merge pull request #54 from dsheets/transfused-events
...
transfused: work-around 9p bug, fix logging bugs
2016-03-20 12:26:19 +00:00
David Sheets
7861ecc474
transfused: create threads already detached
...
Signed-off-by: David Sheets <david.sheets@docker.com>
2016-03-20 11:20:00 +00:00
David Sheets
f7f3690453
transfused: move logging off of the event actuation thread
...
Signed-off-by: David Sheets <david.sheets@docker.com>
2016-03-20 11:08:57 +00:00
David Sheets
f358faf440
transfused: fix run-time log non-append bug
...
Signed-off-by: David Sheets <david.sheets@docker.com>
2016-03-20 11:04:01 +00:00
David Sheets
56215fc7da
transfused: work-around virtio-9p/v9fs zero-copy bug
...
Signed-off-by: David Sheets <david.sheets@docker.com>
2016-03-20 11:03:24 +00:00
Justin Cormack
16f296a247
initial program to extract GPL source from running Moby for #45
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-03-18 15:19:56 +00:00
Justin Cormack
af7777c832
store source info for kernel and kernel patches in image for #45
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-03-18 13:53:26 +00:00
Justin Cormack
9254ff8c7a
Merge pull request #48 from dsheets/transfused-events
...
transfused: change protocol to support events, add syslog logging
2016-03-18 11:42:48 +00:00
David Sheets
58f7e6f32e
transfused: add start-up log, self-log trigger, and run-time log flags
...
During start-up, logs are sent to syslog and stderr and the console if
syslog is not available. -l logfile will also send the logs to logfile but
only prior to any log trigger events. -m mount_trigger lets the user
specify the mount point to watch for to begin sending logs to
-t triggered_log file which may be on the newly mounted file system. Log
concatenation and rollover are not implemented, yet. Logging functionality
has been separated into transfused_log.c. Locks have been placed around
shared fds. The writer thread is now symmetric to the reader thread instead
of inheriting the parent's thread in order to trigger log switchover after
the file system proxy has started. The coredump size rlimit has been lifted.
Signed-off-by: David Sheets <david.sheets@docker.com>
2016-03-18 11:21:42 +00: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
David Sheets
ad4ca2795d
transfused: fix usage msg, remove syslog, use start-stop-daemon logging
...
Signed-off-by: David Sheets <david.sheets@docker.com>
2016-03-18 09:33:41 +00:00
David Sheets
dbadd16989
transfused: change protocol to support events, add syslog logging
...
The event string in the 9p socket file system now contains a 1 byte
channel type immediately preceding the connection ID. This channel type
determines which protocol will be used on the channel -- m for FUSE
protocol, e for events. The event messages are host-initiated and have
the following structure:
2 bytes for total length
2 bytes for path length + NUL (x)
x bytes for path
1 byte for syscall
stderr logging was also changed to syslog-based logging in this patch.
Signed-off-by: David Sheets <david.sheets@docker.com>
2016-03-18 09:33:41 +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
1ed23add2b
too early to log here, fuse not up
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-03-17 14:49:35 +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
8326f389ab
fix typo
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-03-17 14:06:39 +00:00
Justin Cormack
396407dd7e
make sure transfused is logging
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-03-17 12:30:18 +00:00
Justin Cormack
ab6a41551f
move hostlog into 9pinit so it happens early enough to capture logs
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-03-17 12:27:20 +00:00
Justin Cormack
f5edf03a6c
docker download needs Linux not linux, sigh
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-03-15 16:00:28 +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
19e4a1bbdd
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
90b270b186
Debian unstable cannot currently compile Linux without segfaulting, revert to Ubuntu
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-03-15 10:32:17 +00:00
Justin Cormack
5107100739
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
ac03f3ab4d
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
46d5aef0ad
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
697f251af3
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
19bbdc8ad2
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
c2ea7f7e82
more memory
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-03-11 14:13:12 +00:00
Justin Cormack
7521720d22
fix sha256 commit for arm
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-03-11 14:09:16 +00:00
Justin Cormack
fbc8112acb
fix exact commit for arm
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-03-11 13:54:55 +00:00
Justin Cormack
373375569a
fix arm build, dtb files now checked in
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-03-11 13:48:59 +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
a17aa0bcbd
exact commit for alpine to help match source
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-03-10 20:41:28 +00:00