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

[bug] errors about "attach api" #91

Open

Description

@YaoZengzeng

(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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions