shykes/docker — pull request #99 by aanand (2014-11-21 19:05:21+00:00)
Title: Fixes for buildability

Sits on top of #98. Contains further workarounds in `daemon.go` which @lk4d4/@icecrime will eventually obsolete, as I understand it.

Not yet in a functional state - here's the new thing that breaks:

```
root@0204489c1c37:/go/src/github.com/docker/docker# docker run busybox echo hello world
INFO[0002] POST /v1.16/containers/create
INFO[0002] +job create()
INFO[0002] +job log(create, d6d48e17886aae3d6d327651da57e0b44f1a6f4214e29b05d35a1557a7d61131, busybox:latest)
INFO[0002] -job log(create, d6d48e17886aae3d6d327651da57e0b44f1a6f4214e29b05d35a1557a7d61131, busybox:latest) = OK (0)
INFO[0002] -job create() = OK (0)
INFO[0002] POST /v1.16/containers/d6d48e17886aae3d6d327651da57e0b44f1a6f4214e29b05d35a1557a7d61131/attach?stderr=1&stdout=1&stream=1
INFO[0002] +job container_inspect(d6d48e17886aae3d6d327651da57e0b44f1a6f4214e29b05d35a1557a7d61131)
INFO[0002] -job container_inspect(d6d48e17886aae3d6d327651da57e0b44f1a6f4214e29b05d35a1557a7d61131) = OK (0)
INFO[0002] +job attach(d6d48e17886aae3d6d327651da57e0b44f1a6f4214e29b05d35a1557a7d61131)
INFO[0002] POST /v1.16/containers/d6d48e17886aae3d6d327651da57e0b44f1a6f4214e29b05d35a1557a7d61131/start
INFO[0002] +job start(d6d48e17886aae3d6d327651da57e0b44f1a6f4214e29b05d35a1557a7d61131)
INFO[0002] +job allocate_interface(d6d48e17886aae3d6d327651da57e0b44f1a6f4214e29b05d35a1557a7d61131)
INFO[0002] -job allocate_interface(d6d48e17886aae3d6d327651da57e0b44f1a6f4214e29b05d35a1557a7d61131) = OK (0)
INFO[0002] +job release_interface(d6d48e17886aae3d6d327651da57e0b44f1a6f4214e29b05d35a1557a7d61131)
INFO[0002] -job release_interface(d6d48e17886aae3d6d327651da57e0b44f1a6f4214e29b05d35a1557a7d61131) = OK (0)
INFO[0002] +job log(die, d6d48e17886aae3d6d327651da57e0b44f1a6f4214e29b05d35a1557a7d61131, busybox:latest)
INFO[0002] -job log(die, d6d48e17886aae3d6d327651da57e0b44f1a6f4214e29b05d35a1557a7d61131, busybox:latest) = OK (0)
Cannot start container d6d48e17886aae3d6d327651da57e0b44f1a6f4214e29b05d35a1557a7d61131: Cannot find child for /THIS FIELD IS DEPRECATED AND YOU SHOULD NOT SEE IT
INFO[0002] -job start(d6d48e17886aae3d6d327651da57e0b44f1a6f4214e29b05d35a1557a7d61131) = ERR (1)
ERRO[0002] Handler for POST /containers/{name:.*}/start returned error: Cannot start container d6d48e17886aae3d6d327651da57e0b44f1a6f4214e29b05d35a1557a7d61131: Cannot find child for /THIS FIELD IS DEPRECATED AND YOU SHOULD NOT SEE IT
ERRO[0002] HTTP Error: statusCode=500 Cannot start container d6d48e17886aae3d6d327651da57e0b44f1a6f4214e29b05d35a1557a7d61131: Cannot find child for /THIS FIELD IS DEPRECATED AND YOU SHOULD NOT SEE IT
FATA[0000] Error response from daemon: Cannot start container d6d48e17886aae3d6d327651da57e0b44f1a6f4214e29b05d35a1557a7d61131: Cannot find child for /THIS FIELD IS DEPRECATED AND YOU SHOULD NOT SEE IT
```