Skip to content

Instantly share code, notes, and snippets.

@akafred

akafred/log Secret

Created June 3, 2015 10:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save akafred/4d25fde90cb119b14d53 to your computer and use it in GitHub Desktop.
Save akafred/4d25fde90cb119b14d53 to your computer and use it in GitHub Desktop.
ID: busybox_docker_image
Function: docker.pulled
Name: busybox:latest
Result: False
Comment: We did not get any expected answer from docker
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/salt/modules/dockerio.py", line 1584, in pull
ret = client.pull(repo, tag=tag)
File "/usr/local/lib/python2.7/dist-packages/docker/client.py", line 876, in pull
repository, insecure=insecure_registry
File "/usr/local/lib/python2.7/dist-packages/docker/auth/auth.py", line 52, in resolve_repository_name
'Invalid repository name ({0})'.format(repo_name))
InvalidRepository: Invalid repository name (busybox:latest)
Started: 11:19:10.774310
Duration: 14.325 ms
Changes:
----------
busybox:latest:
----------
new:
busybox:latest
old:
None
Salt: 2014.7.6
Python: 2.7.6 (default, Mar 22 2014, 22:59:56)
Jinja2: 2.7.2
M2Crypto: 0.21.1
msgpack-python: 0.3.0
msgpack-pure: Not Installed
pycrypto: 2.6.1
libnacl: Not Installed
PyYAML: 3.10
ioflo: Not Installed
PyZMQ: 14.0.1
RAET: Not Installed
ZMQ: 4.0.4
Mako: Not Installed
busybox_docker_image:
docker.pulled:
- name: busybox:latest
@akafred
Copy link
Author

akafred commented Jun 3, 2015

Changing to:

- name: busybox
- tag: latest 

... makes it work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment