Skip to content

Instantly share code, notes, and snippets.

@AgentO3
Created October 16, 2014 16:33
Show Gist options
  • Save AgentO3/b3649ad02bd5113df819 to your computer and use it in GitHub Desktop.
Save AgentO3/b3649ad02bd5113df819 to your computer and use it in GitHub Desktop.
Error building docker image
fatal: [ec2] => failed to parse: sudo: unable to resolve host ip-10-10-13-87
sudo: unable to resolve host ip-10-10-13-87
SUDO-SUCCESS-kefkggunwgxqydlrtskqnagxkxyturbw
Traceback (most recent call last):
File "/home/ubuntu/.ansible/tmp/ansible-tmp-1413477069.2-52467766880601/docker_image", line 1598, in <module>
main()
File "/home/ubuntu/.ansible/tmp/ansible-tmp-1413477069.2-52467766880601/docker_image", line 234, in main
image_id = manager.build()
File "/home/ubuntu/.ansible/tmp/ansible-tmp-1413477069.2-52467766880601/docker_image", line 144, in build
for chunk in stream:
File "/usr/local/lib/python2.7/dist-packages/docker/client.py", line 270, in _stream_helper
socket_fp = socket_obj(_sock=self._get_raw_response_socket(response))
File "/usr/local/lib/python2.7/dist-packages/docker/client.py", line 265, in _get_raw_response_socket
sock._response = response
AttributeError: '_socket.socket' object has no attribute '_response'
FATAL: all hosts have already failed -- aborting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment