instacart / ahab Goto Github PK
View Code? Open in Web Editor NEWDocker event handling with Python
License: ISC License
Docker event handling with Python
License: ISC License
And is then pushed into Python pypi repo?
I've tried to run ahab on mac os x along with docker toolbox with the following command: ahab --console debug $DOCKER_HOST
.
Docker host resolves to:
echo $DOCKER_HOST
tcp://192.168.99.100:2376
I've got the following error:
โ ~ ahab --console debug $DOCKER_HOST
17:21:48.430 INFO ahab
Under weigh.
17:21:48.442 ERROR ahab
It wasn't unexpected!
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/ahab/__main__.py", line 20, in ahab
Ahab(connection).listen()
File "/Library/Python/2.7/site-packages/ahab/__init__.py", line 21, in listen
for event in client.events(decode=True):
File "/Library/Python/2.7/site-packages/docker/api/daemon.py", line 28, in events
self.get(self._url('/events'), params=params, stream=True),
File "/Library/Python/2.7/site-packages/requests/sessions.py", line 480, in get
return self.request('GET', url, **kwargs)
File "/Library/Python/2.7/site-packages/requests/sessions.py", line 468, in request
resp = self.send(prep, **send_kwargs)
File "/Library/Python/2.7/site-packages/requests/sessions.py", line 576, in send
r = adapter.send(request, **kwargs)
File "/Library/Python/2.7/site-packages/requests/adapters.py", line 412, in send
raise ConnectionError(err, request=request)
ConnectionError: ('Connection aborted.', BadStatusLine('\x15\x03\x01\x00\x02\x02\n',))
Additional info:
docker -v
Docker version 1.9.0, build 76d6bc9
I'm missing something or Docker Toolbox is not supported currently?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.