Aanand Prasad
2b89494405
Fix Ubuntu check - forgot to actually inspect the distro
2014-02-04 15:31:05 -08:00
Aanand Prasad
2bac1c10b0
Show installation instructions if it looks like Docker isn't installed
2014-02-04 15:19:50 -08:00
Aanand Prasad
5126649de4
Friendlier connection error for docker-osx users
2014-02-04 14:42:55 -08:00
Aanand Prasad
e8472be6d5
Fig bug in split_buffer where input was being discarded
...
Also, write some tests for it.
2014-01-22 17:44:04 +00:00
Aanand Prasad
3e2fd6a2a1
Use DOCKER_HOST environment variable to find Docker daemon
...
Removed all "smart" connection logic. Fig either uses the DOCKER_HOST
environment variable if it's present, or passes `None` to docker-py,
which does the "right thing" (i.e. falls back to the Unix socket).
This means we no longer know at URL-deciding time whether we can connect
to the Docker daemon, so we wrap `dispatch` in a `try/except` which
catches `requests.exceptions.ConnectionError`.
2014-01-16 16:40:55 +00:00
Ben Firshman
d4000e07a9
Switch order of connection logic so TCP is tried first
2014-01-16 00:58:46 +00:00
Christopher Grebs
f600fa8bf3
More future imports for safety
2014-01-06 17:58:50 +00:00
Christopher Grebs
93b9b6fd9f
First version with python3 support.
...
* Moved requirements*.txt files to proper spec definitions in setup.py
* Added a new fig.compat module to store some compatibility code
2014-01-06 17:58:49 +00:00
Ben Firshman
36002f95ed
Try connecting to localdocker:4243
...
See https://github.com/noplay/docker-osx/pull/22
2014-01-02 20:51:35 +00:00
Aanand Prasad
9ed6538693
Extract docker URL logic, use it in tests as well
2013-12-31 12:37:17 +00:00
Aanand Prasad
0cafdc9c6c
plum -> fig
2013-12-20 20:28:24 +00:00