controller: Close attach conn when client disconnects

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
controller: Send exit event in log tail SSE stream

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
Godeps: Bump docker and libcontainer packages

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
host: Remove unused docker-specific interface in attach.go.

Signed-off-by: Blaž Hrastnik <blaz.hrast@gmail.com>
host: Use upstream go-dockerclient.

Signed-off-by: Blaž Hrastnik <blaz.hrast@gmail.com>
host: Dont start new jobs if shutting down

Signed-off-by: Lewis Marshall <lewis@lmars.net>
host: Cleanup containers concurrently

Signed-off-by: Lewis Marshall <lewis@lmars.net>
script: Give the host more time to cleanup jobs

Signed-off-by: Lewis Marshall <lewis@lmars.net>
script: Use unique log file when bootstrapping

Signed-off-by: Lewis Marshall <lewis@lmars.net>
script: Symlink /tmp/flynn-host.log to latest log

Signed-off-by: Lewis Marshall <lewis@lmars.net>
host: Don't remove the state file on exit

Signed-off-by: Lewis Marshall <lewis@lmars.net>
host: Ignore existing symlinks when watching containers

Closes #143

Signed-off-by: Lewis Marshall <lewis@lmars.net>
script: Use a state file when bootstrapping

Signed-off-by: Lewis Marshall <lewis@lmars.net>
script: Support bootstrapping docker backend

Signed-off-by: Lewis Marshall <lewis@lmars.net>
cli: Write trailing newline to config

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
pkg/cluster: Attach EOF is an error unless streams are closed

Fixes #151

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
host: Send attach stream EOF after log output ends

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
controller: Fix attach test

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
test: Give the basic test more time to pass

Signed-off-by: Lewis Marshall <lewis@lmars.net>
test: Fix caching bug

Signed-off-by: Lewis Marshall <lewis@lmars.net>