Allow unauthorized pullImageCmd by rtimush · Pull Request #128 · docker-java/docker-java
In some scenarios it may be desired to omit X-Registry-Auth from the image pull request. PullImageCmdExec handles null authConfig well, but currently it is impossible to create such cmd.
This pull request allows to have null in the default AuthConfig while still doing null checks in the withAuthConfig method if called explicitly.