reactphp-docker
reactphp-docker copied to clipboard
Async, event-driven access to the Docker Engine API, built on top of ReactPHP.
- Expected to fix #33 - As suggested in the Docker API documentation on https://docs.docker.com/engine/api/v1.24/#42-hijacking - Depends on https://github.com/reactphp/http/pull/382 (Not sure how `clue/reactphp-buzz` comes to play) ## Summary of changes...
Refs https://github.com/clue/reactphp-ndjson/issues/3 and https://github.com/clue/json-stream/issues/15
Quite a few of the API endpoints take advantage of _readable_ streaming APIs. In the future, we should also look into streaming outgoing data even after having received the HTTP...
https://docs.docker.com/reference/api/docker_remote_api_v1.15/#get-a-tarball-containing-all-images Streaming TAR endpoint (refs #4)
https://docs.docker.com/reference/api/docker_remote_api_v1.15/#load-a-tarball-with-a-set-of-images-and-tags-into-docker This API requires passing a valid TAR stream, so this likely depends on clue/php-tar-react#2 (see also #15) Complements #19 (imageGet).
Depends on #4 (uses JSON streaming). Also, this API requires passing a valid TAR stream, so this likely depends on https://github.com/clue/php-tar-react/issues/2