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
107 stars 16 forks source link

Add `containerArchive()` and `containerArchiveStream()` methods and deprecate `containerCopy()` and `containerCopyStream()` #48

Closed clue closed 5 years ago

clue commented 5 years ago
// old: deprecated
$promise = $client->containerCopy($container, $path);
$stream = $client->containerCopyStream($container, $path);

// new
$promise = $client->containerArchive($container, $path);
$stream = $client->containerArchiveStream($container, $path);

Builds on top of #47 and #42 Resolves #41