Closed
Description
The PushImageCmd uses an anonymous class for the default callback implementation which includes error handling. Since this is the case users of the library cannot reuse this code like they can for PullImageResultCallback and BuildImageResultCallback and hence must resort to recreating the error handling logic should exec(resultCallback) be called directly.
This can be remedied by adding a DockerPullImageCallback class to the API allowing users to extend it.