SaveImageCmd API doesn't support X-Registry-Auth header#175
SaveImageCmd API doesn't support X-Registry-Auth header#175marcuslinke merged 3 commits intodocker-java:masterfrom xfournet:pr1
Conversation
|
@xfournet Although it is not documented in the API i guess it would make sense to allow OPTIONAL authentication when working against a private repository. So I'm not sure if this an error in the API documentation... |
|
@marcuslinke so it doesn't make sense to have authentication here. The offical API documentation seems good ;) My guess is that the code of the SaveImageCmd has been done through copy/paste of PushImageCmd : in 8af3d6f the SaveImageCmdExec and SaveImageCmdImplTest loggers reference PushImageCmdImplTest and PushImageCmdExec... oups copy/paste fail detected |
|
@xfournet Thanks for detailed info! Will be merged soon. |
SaveImageCmd API doesn't support X-Registry-Auth header
As for #165 a NPE will be throw if the auth config is not complete.
However according the API documentation the X-Registry-Auth header is not part of the save image API, so I removed it