Skip to content
This repository has been archived by the owner on Feb 8, 2021. It is now read-only.

[bug] errors about "attach api" #91

Open
YaoZengzeng opened this issue May 13, 2016 · 0 comments
Open

[bug] errors about "attach api" #91

YaoZengzeng opened this issue May 13, 2016 · 0 comments

Comments

@YaoZengzeng
Copy link
Contributor

(1) First, run a container with command "hypercli run -di busybox cat".
Then request "POST", "/containers/"+cid+"/attach?stream=1&stdin=1&stdout=1", and read from stdout which should success, but timeout.
(2) Run a container with command "hypercli run -di busybox /bin/sh -c cat >&2"
Then request "POST", "/containers/"+cid+"/attach?stream=1&stdin=1&stderr=1" , and read from stderr which should success,but timeout
Request "POST", "/containers/"+cid+"/attach?stream=1&stdin=1&stdout=1",and read from stderr which should timeout, but err is nil
(3)Run a container with command "hypercli run -dit busybox /bin/sh -c cat >&2"
Then request "POST", "/containers/"+cid+"/attach?stream=1&stdin=1&stdout=1", and read from stdout which should success but timeout

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant