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>
Merge pull request #156 from flynn/sse-exit

controller: Send exit event to log tail SSE stream
Merge pull request #161 from flynn/docker-fixes

go-dockerclient from upstream
host: Dont start new jobs if shutting down

Signed-off-by: Lewis Marshall <lewis@lmars.net>
Merge pull request #157 from flynn/host-shutdown-no-new-jobs

host: Dont start new jobs if shutting down
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>
Merge pull request #165 from flynn/bootstrap-script-updates

Bootstrap script updates
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>