Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Updated changelog, bumped version to 0.3.00.3.0 | shin- | 2014-02-24 | 2 | -1/+35 |
| | |||||
* | Merge pull request #167 from mpetazzoni/build-output | Joffrey F | 2014-02-24 | 1 | -30/+20 |
|\ | | | | | Fix build() and events() streaming | ||||
| * | Fix events() streaming by using _stream_helper() | Maxime Petazzoni | 2014-02-21 | 1 | -14/+1 |
| | | | | | | | | Signed-off-by: Maxime Petazzoni <max@signalfuse.com> | ||||
| * | Fix build() streaming and stream methods cleanup | Maxime Petazzoni | 2014-02-21 | 1 | -19/+22 |
|/ | | | | Signed-off-by: Maxime Petazzoni <max@signalfuse.com> | ||||
* | Clarify port bindings documentation for non-TCP port bindings | Maxime Petazzoni | 2014-02-18 | 1 | -6/+8 |
| | | | | Signed-off-by: Maxime Petazzoni <max@signalfuse.com> | ||||
* | Updated integration tests | shin- | 2014-02-18 | 1 | -27/+15 |
| | |||||
* | Merge pull request #165 from stpierre/fix-http-error | Joffrey F | 2014-02-10 | 1 | -1/+4 |
|\ | | | | | Fix APIError for requests 1.1 | ||||
| * | Fix APIError for requests 1.1 | Chris St. Pierre | 2014-02-10 | 1 | -1/+4 |
|/ | | | | | | | | requests 1.1, which is what's available on CentOS 6, doesn't support passing the response code as a keyword argument. It can be set after the fact on both requests 1.1 and 1.2. Docker-DCO-1.1-Signed-off-by: Chris St. Pierre <chris.a.st.pierre@gmail.com> (github: stpierre) | ||||
* | Merge pull request #161 from mpetazzoni/api-1.8 | Joffrey F | 2014-02-06 | 3 | -7/+21 |
|\ | | | | | Support remote API v1.8 (and make it the default) | ||||
| * | Support remote API v1.8 (and make it the default) | Maxime Petazzoni | 2014-02-05 | 3 | -7/+21 |
|/ | | | | Signed-off-by: Maxime Petazzoni <max@signalfuse.com> | ||||
* | Merge pull request #158 from a-ba/master | Maxime Petazzoni | 2014-02-05 | 1 | -2/+2 |
|\ | | | | | Fixed malformatted request when using empty list in create_container() | ||||
| * | Fixed malformatted request when using empty list in create_container() | Anthony Baire | 2014-02-04 | 1 | -2/+2 |
|/ | | | | | | | | create_container() sends a malformatted request when volumes==[] or ports==[], causing error 500 "create: ExportEnv json: cannot unmarshal array into Go value of type map" The empty lists must be converted into a dict (or removed) | ||||
* | Merge pull request #156 from dmiyakawa/master | Joffrey F | 2014-01-31 | 1 | -0/+2 |
|\ | | | | | Allow copy() to accept dictionary like diff() | ||||
| * | Allow copy() to accept dictionary like diff() | Daisuke Miyakawa | 2014-01-31 | 1 | -0/+2 |
| | | | | | | | | | | | | | | Client.diff() silently convert container as a dictionary to container['Id'] while Client.copy() does not. This change makes copy() do the same job. | ||||
* | | Merge pull request #155 from bfirsh/fix-concat-string-with-bytes | Joffrey F | 2014-01-31 | 1 | -1/+1 |
|\ \ | | | | | | | Fix _stream_result concatenating bytes with str | ||||
| * | | Fix _stream_result concatenating bytes with str | Ben Firshman | 2014-01-28 | 1 | -1/+1 |
| |/ | | | | | | | | | Without this option, requests returns lines as bytes on Python 3 which can't be concatenated with the str '\n' in the yield. | ||||
* | | Merge pull request #157 from ticosax/ping-fixes | Joffrey F | 2014-01-31 | 1 | -1/+2 |
|\ \ | |/ |/| | Ping fixes | ||||
| * | A ping should be successful if status_code is less than 400 | Nicolas Delaby | 2014-01-31 | 1 | -1/+1 |
| | | |||||
| * | replace status with status_code as defined by requests API | Nicolas Delaby | 2014-01-31 | 1 | -1/+2 |
|/ | | | | | Move this statement in `else` clause to make sure the try except block doesn't catch coding errors. | ||||
* | Merge pull request #154 from ibuildthecloud/fix-post-http-unix-merge-tests | Maxime Petazzoni | 2014-01-27 | 1 | -2/+2 |
|\ | | | | | Fix unit tests broken by PR #151 | ||||
| * | Fix unit tests broken by PR #151 | Darren Shepherd | 2014-01-27 | 1 | -2/+2 |
|/ | | | | Updates newer unit tests to use the http+unix scheme. | ||||
* | Merge pull request #151 from ibuildthecloud/http-unix-scheme | Joffrey F | 2014-01-27 | 5 | -68/+98 |
|\ | | | | | Support requests >=2.1.0 | ||||
| * | Update to requests==2.2.1 | Darren Shepherd | 2014-01-27 | 1 | -1/+1 |
| | | |||||
| * | flake8 fixes | Darren Shepherd | 2014-01-26 | 1 | -62/+63 |
| | | | | | | | | Additionally this change should make moving to /v1.8 slightly less painful | ||||
| * | Support requests >=2.1.0 | Darren Shepherd | 2014-01-26 | 4 | -64/+93 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Starting with requests 2.1.0 non-HTTP scheme URLs are not parsed anymore. The net effect of this is that when using the unix socket in docker-py no query string params are passed in the URL. This change makes docker-py internally use the scheme http+unix to indicate to requests that this is still a HTTP URL and should be parsed. Users of docker-py can still specify 'unix:' as the base_url. The following forms of base_url are accepted. http+unix://var/run/docker.sock unix://var/run/docker.sock unix:///var/run/docker.sock http://hostname tcp://hostname | ||||
* | | Merge pull request #145 from aanand/set-stdinonce | Joffrey F | 2014-01-27 | 2 | -0/+29 |
|\ \ | | | | | | | If attaching to stdin, set StdinOnce, as per the docker CLI. | ||||
| * | | If attaching to stdin, set StdinOnce, as per the docker CLI. | Aanand Prasad | 2014-01-20 | 2 | -0/+29 |
| | | | |||||
* | | | Merge pull request #153 from bfirsh/links-as-tuples | Joffrey F | 2014-01-27 | 3 | -1/+34 |
|\ \ \ | |_|/ |/| | | Allow links to specified as (name, alias) tuples | ||||
| * | | Allow links to specified as (name, alias) tuples | Ben Firshman | 2014-01-27 | 3 | -1/+34 |
|/ / | |||||
* | | Merge pull request #146 from felixhummel/fix-readme-binds | Joffrey F | 2014-01-25 | 1 | -2/+2 |
|\ \ | |/ |/| | fix "binds" docs: { host_dir: docker_dir } | ||||
| * | fix "binds" docs: { host_dir: docker_dir } | Felix Hummel | 2014-01-25 | 1 | -2/+2 |
|/ | | | | Not the other way around. | ||||
* | Merge pull request #144 from bfirsh/add-missing-create-container-options | Joffrey F | 2014-01-20 | 3 | -5/+78 |
|\ | | | | | Add entrypoint, cpu_shares and working_dir options to create_container | ||||
| * | Add working_dir option to create_container | Ben Firshman | 2014-01-19 | 3 | -5/+28 |
| | | |||||
| * | Add cpu_shares option to create_container | Ben Firshman | 2014-01-19 | 3 | -5/+30 |
| | | |||||
| * | Add entrypoint option to create_container | Ben Firshman | 2014-01-19 | 3 | -5/+30 |
|/ | |||||
* | Merge branch 'master' of git://github.com/dotcloud/docker-py | shin- | 2014-01-16 | 7 | -162/+296 |
|\ | |||||
| * | Merge pull request #119 from ureyes84/master | Joffrey F | 2014-01-16 | 4 | -10/+75 |
| |\ | | | | | | | Updated port function | ||||
| | * | Improves code style | Ulises Reyes | 2013-12-15 | 3 | -66/+34 |
| | | | |||||
| | * | Refactored test. It now makes 2 calls to port | Ulises Reyes | 2013-12-15 | 1 | -17/+20 |
| | | | |||||
| | * | Shortened lines | Ulises Reyes | 2013-12-14 | 2 | -6/+7 |
| | | | |||||
| | * | Improved assertions in the port test | Ulises Reyes | 2013-12-14 | 1 | -2/+7 |
| | | | |||||
| | * | Updated the port function in order to parse the new NetworkSettings Port ↵ | Ulises Reyes | 2013-12-14 | 4 | -11/+99 |
| | | | | | | | | | | | | dict (fixes #88) | ||||
| * | | Merge pull request #143 from mpetazzoni/tcp-default-proto | Joffrey F | 2014-01-16 | 2 | -7/+4 |
| |\ \ | | | | | | | | | Default to /tcp for port definitions in create_container() | ||||
| | * | | Default to /tcp for port definitions in create_container() | Maxime Petazzoni | 2014-01-16 | 2 | -7/+4 |
| |/ / | | | | | | | | | | | | | | | | Fixes #141. Signed-off-by: Maxime Petazzoni <max@signalfuse.com> | ||||
| * | | Merge pull request #138 from aanand/container-output-without-logs | Maxime Petazzoni | 2014-01-16 | 2 | -26/+34 |
| |\ \ | | | | | | | | | container_output() method for streaming the output without logs=1 | ||||
| | * | | attach() method now parses multiplexing frames | Aanand Prasad | 2014-01-16 | 2 | -26/+34 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous version of `attach` didn't look like it was doing anything useful, as it just yielded 4096-byte chunks of raw /attach output, without doing any frame parsing. Now `attach` is identical to `logs`, except that by default it doesn't show historical output. `logs` is now a wrapper around `attach` which sets `logs=True`, and its behaviour is unchanged. | ||||
| * | | | Merge pull request #142 from aanand/use-relative-imports | Maxime Petazzoni | 2014-01-16 | 2 | -4/+4 |
| |\ \ \ | | | | | | | | | | | Use relative imports | ||||
| | * | | | Use relative imports | Aanand Prasad | 2014-01-16 | 2 | -4/+4 |
| |/ / / | |||||
| * | | | Merge pull request #140 from aanand/sensible-url-handling | Maxime Petazzoni | 2014-01-14 | 1 | -1/+5 |
| |\ \ \ | | | | | | | | | | | Sensible url handling | ||||
| | * | | | Accept base_url of None | Aanand Prasad | 2014-01-14 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes it very simple to get identical behaviour to the CLI: client = Client(os.environ.get('DOCKER_HOST')) |