TritonDataCenter / sdc-docker

Docker Engine for Triton
Mozilla Public License 2.0
182 stars 49 forks source link

/wait timeout at 2 minutes #113

Open geek opened 7 years ago

geek commented 7 years ago

The endpoint will timeout at 2 minutes, the default no activity node socket timeout.

$ time docker wait 4af396e4a86a
error during connect: Post https://us-sw-1.docker.joyent.com:2376/v1.24/containers/4af396e4a86a/wait: EOF

real    2m0.896s
jclulow commented 7 years ago

Does the Docker engine really just leave a connection open without sending any data until the wait condition is met?!

geek commented 7 years ago

@jclulow it appears that way. https://github.com/docker/cli/blob/master/client/container_wait.go#L11