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

Add `containerAttach()` and `containerAttachStream()` API methods #61

Closed clue closed 4 years ago

clue commented 4 years ago

For the reference, here's one of the latest runs on my laptop:

$ php examples/benchmark-attach.php busybox dd if=/dev/zero bs=1M count=4k status=none
Received 4294967296 bytes in 4.6s => 935.5 MB/s

Resolves / closes #13 Builds on top of #56 and #60 Refs #33 for future API to expose STDIN stream.