Given a source and a destination image, invokes /images/delta and returns a
promise to a readable stream for following progress. Can also be called with a
callback as the second argument instead, similar to how Dockerode methods
support both a callback and async interface.
Callers can extract the delta image ID by parsing the stream like so:
Given a source and a destination image, invokes
/images/delta
and returns a promise to a readable stream for following progress. Can also be called with a callback as the second argument instead, similar to how Dockerode methods support both a callback and async interface.Callers can extract the delta image ID by parsing the stream like so:
Deltas are currently only available with balenaEngine, but this method makes no effort to determine whether that's the case.