Open wpjunior opened 7 years ago
is this meant in the sense of the invoker using API calls instead of CLI?
Looking at recent optimizations in the Invoker (introducing Future
s and more typing) this could make a lot of sense to encapsulate the docker
commands naturally, without the need to think about managing resources for the blocking docker
calls.
Call commands are less safe than call the docker API. In long time docker-cli may change contract and should broken the app, the API of docker is versioned and avoid break changes.
References:
https://docs.docker.com/engine/reference/api/docker_remote_api/ https://github.com/softprops/tugboat