It exists public registries where auth is not required.

This commit is contained in:
Nicolas Delaby 2016-02-19 16:57:52 +01:00
parent 98a14f8090
commit 4a9f661d66

View file

@ -921,8 +921,6 @@ def _image_wrapper(attr, *args, **kwargs):
'execution module documentation for information on how to '
'configure authentication.'
)
if not registry_auth_config:
raise SaltInvocationError(err.format('Missing', ''))
try:
for registry, creds in six.iteritems(registry_auth_config):
__context__['docker.client'].login(