Skip to content

Instantly share code, notes, and snippets.

@karlkfi
Created September 14, 2015 19:39
Show Gist options
  • Save karlkfi/a7b34c3d35df2e6a975d to your computer and use it in GitHub Desktop.
Save karlkfi/a7b34c3d35df2e6a975d to your computer and use it in GitHub Desktop.
Error: docker-compose rm -f
$ docker-compose -f "${provider_root}/docker-compose.yml rm -f
Removing docker_scheduler_1...
Removing docker_mesosslave1_1...
Removing docker_mesosslave2_1...
Removing docker_controller_1...
Removing docker_keygen_1...
Removing docker_apiserver_1...
Removing docker_mesosmaster1_1...
Removing docker_etcd_1...
Removing docker_ambassador_1...
[9A [2K
Removing docker_scheduler_1... done
[9B [5A [2K
Removing docker_keygen_1... done
[5B [1A [2K
Removing docker_ambassador_1... done
[1B [3A [2K
Removing docker_mesosmaster1_1... done
[3B [6A [2K
Removing docker_controller_1... done
[6B [4A [2K
Removing docker_apiserver_1... done
[4B [2A [2K
Removing docker_etcd_1... done
Exception in thread Thread-3:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/local/lib/python2.7/dist-packages/compose/utils.py", line 31, in inner_execute_function
result = an_callable(parameter)
File "/usr/local/lib/python2.7/dist-packages/compose/project.py", line 221, in <lambda>
obj_callable=lambda c: c.remove(**options),
File "/usr/local/lib/python2.7/dist-packages/compose/container.py", line 152, in remove
return self.client.remove_container(self.id, **options)
File "/usr/local/lib/python2.7/dist-packages/docker/utils/decorators.py", line 20, in wrapped
return f(self, resource_id, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/docker/client.py", line 695, in remove_container
params=params)
File "/usr/local/lib/python2.7/dist-packages/docker/clientbase.py", line 89, in _delete
return self.delete(url, **self._set_request_timeout(kwargs))
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 537, in delete
return self.request('DELETE', url, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 465, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 573, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 433, in send
raise ReadTimeout(e, request=request)
ReadTimeout: UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)
Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/local/lib/python2.7/dist-packages/compose/utils.py", line 31, in inner_execute_function
result = an_callable(parameter)
File "/usr/local/lib/python2.7/dist-packages/compose/project.py", line 221, in <lambda>
obj_callable=lambda c: c.remove(**options),
File "/usr/local/lib/python2.7/dist-packages/compose/container.py", line 152, in remove
return self.client.remove_container(self.id, **options)
File "/usr/local/lib/python2.7/dist-packages/docker/utils/decorators.py", line 20, in wrapped
return f(self, resource_id, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/docker/client.py", line 695, in remove_container
params=params)
File "/usr/local/lib/python2.7/dist-packages/docker/clientbase.py", line 89, in _delete
return self.delete(url, **self._set_request_timeout(kwargs))
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 537, in delete
return self.request('DELETE', url, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 465, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 573, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 433, in send
raise ReadTimeout(e, request=request)
ReadTimeout: UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment