clue / reactphp-docker

Async, event-driven access to the Docker Engine API, built on top of ReactPHP.
https://clue.engineering/2019/introducing-reactphp-docker
MIT License
108 stars 16 forks source link

Support demultiplexing comand streams (Docker attach protocol) #36

Closed clue closed 8 years ago

clue commented 8 years ago

Docker uses a multiplexed stream (unless TTY is enabled), we should demultiplex this into normal stream events. Either inspect or consider looking into response headers.

Affects:

See https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/#get-container-logs

clue commented 8 years ago

FYI: Implementation is ready, I merely split this off in order to first focus on the main features here.