Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | | volumes_from is now a list from v.1.10 | Nicolas Delaby | 2014-04-24 | 1 | -2/+2 | |
| | | | | | ||||||
| * | | | | Warn if user is using argument that will be ignored | Nicolas Delaby | 2014-04-24 | 1 | -0/+11 | |
| | | | | | ||||||
| * | | | | raise instead of warn | Nicolas Delaby | 2014-04-24 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | because user must know its code will not behave as expected if used against version >= v1.10. | |||||
| * | | | | Do not ignore falsy values | Nicolas Delaby | 2014-04-24 | 1 | -4/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If user pass empty strings or empty lists, the deprecation policy will be ignored. Check instead if those arguments are not the default. | |||||
| * | | | | From api 1.10 dns and volumes should be transmitted to start() | Nicolas Delaby | 2014-04-11 | 1 | -1/+19 | |
| | | | | | ||||||
* | | | | | Merge pull request #211 from aanand/relative-errors-imports | Joffrey F | 2014-04-23 | 1 | -1/+1 | |
|\ \ \ \ \ | | | | | | | | | | | | | Relative 'errors' imports, for consistency | |||||
| * | | | | | Relative 'errors' imports, for consistency | Aanand Prasad | 2014-04-23 | 1 | -1/+1 | |
| | |/ / / | |/| | | | ||||||
* | | | | | Merge pull request #198 from fcoelho/fix-volumes-from | Joffrey F | 2014-04-23 | 1 | -2/+6 | |
|\ \ \ \ \ | |/ / / / |/| | | | | Sanitize create_container input for volumes_from | |||||
| * | | | | Sanitize create_container input | Felipe Bessa Coelho | 2014-04-09 | 1 | -2/+6 | |
| |/ / / | | | | | | | | | | | | | | | | | | | | | Client.create_container takes a volumes_from argument that should be: a string, a list of strings, or None. If an empty list or dict is passed instead, the docker daemon returns a 406 Client Error: Not Acceptable | |||||
* | | | | fixes #175, fix flake8 erros | Ryan Wallner | 2014-04-16 | 1 | -1/+5 | |
|/ / / | ||||||
* | | | Moved APIError exception to docker.errors module. | Evgeniy L | 2014-04-07 | 1 | -36/+2 | |
| | | | ||||||
* | | | Create scope for docker client specific errors | Evgeniy L | 2014-04-06 | 1 | -1/+1 | |
|/ / | | | | | | | | | | | | | | | | | With more granular and specific exceptions user will be able to handle errors properly. Also changed raising of Exception to more specific TypeError which python raises in case of wrong arguments. | |||||
* | | Merge branch 'volumes-from-as-list' of github.com:blackrobot/docker-py into ↵ | shin- | 2014-04-04 | 1 | -0/+3 | |
|\ \ | | | | | | | | | | blackrobot-volumes-from-as-list | |||||
| * | | Ensure that volumes_from exists | Damon Jablons | 2014-04-01 | 1 | -1/+1 | |
| | | | ||||||
| * | | Allow volumes_from to be an iterable | Damon Jablons | 2014-04-01 | 1 | -0/+3 | |
| | | | ||||||
* | | | Updated unit tests API version, flake8 fixes | shin- | 2014-04-04 | 1 | -1/+3 | |
| | | | ||||||
* | | | Make sure the build command in the client sends the auth credentials along. ↵ | Joseph Schorr | 2014-04-04 | 1 | -3/+14 | |
| | | | | | | | | | | | | Required for "FROM " lines that pull from private registries | |||||
* | | | Fixed multiplexed_socket_stream_helper | shin- | 2014-04-04 | 1 | -19/+17 | |
| | | | ||||||
* | | | Merge branch 'PY3_fixes' of github.com:macobo/docker-py into macobo-PY3_fixes | shin- | 2014-04-04 | 1 | -3/+11 | |
|\ \ \ | |/ / |/| | | ||||||
| * | | Styling as per comment, decode to utf-8, join rather concat strings | Karl-Aksel Puulmann | 2014-03-11 | 1 | -5/+7 | |
| | | | ||||||
| * | | Python 3 fixes | Karl-Aksel Puulmann | 2014-03-11 | 1 | -2/+8 | |
| | | | ||||||
* | | | don't yield blank lines | Matt Way | 2014-03-30 | 1 | -1/+2 | |
| |/ |/| | ||||||
* | | Use requests to read chunk data instead of parsing the raw stream | Darren Shepherd | 2014-03-19 | 1 | -11/+2 | |
| | | | | | | | | | | | | The previous code had a bug in which it assumed that the chunk data had no newlines in it. In 0.9.0 newlines were added to the stream results, which exposed this bug. | |||||
* | | Ensure that stream=True is passed to requests when version >= 1.8 | Darren Shepherd | 2014-03-19 | 1 | -1/+4 | |
| | | ||||||
* | | remove reference to uninitialized variable and extra parameter in function call | Daniel Graña | 2014-03-18 | 1 | -2/+2 | |
| | | ||||||
* | | Support 'Domainname' in container creation | Jens Deppe | 2014-03-10 | 1 | -3/+4 | |
|/ | ||||||
* | 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> | |||||
* | 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) | |||||
* | Support remote API v1.8 (and make it the default) | Maxime Petazzoni | 2014-02-05 | 1 | -2/+5 | |
| | | | | Signed-off-by: Maxime Petazzoni <max@signalfuse.com> | |||||
* | 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. | |||||
* | | 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 #151 from ibuildthecloud/http-unix-scheme | Joffrey F | 2014-01-27 | 1 | -3/+5 | |
|\ | | | | | Support requests >=2.1.0 | |||||
| * | Support requests >=2.1.0 | Darren Shepherd | 2014-01-26 | 1 | -3/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 1 | -0/+3 | |
|\ \ | | | | | | | 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 | 1 | -0/+3 | |
| |/ | ||||||
* | | Allow links to specified as (name, alias) tuples | Ben Firshman | 2014-01-27 | 1 | -1/+4 | |
|/ | ||||||
* | Add working_dir option to create_container | Ben Firshman | 2014-01-19 | 1 | -4/+5 | |
| | ||||||
* | Add cpu_shares option to create_container | Ben Firshman | 2014-01-19 | 1 | -4/+7 | |
| | ||||||
* | Add entrypoint option to create_container | Ben Firshman | 2014-01-19 | 1 | -4/+6 | |
| | ||||||
* | Merge branch 'master' of git://github.com/dotcloud/docker-py | shin- | 2014-01-16 | 1 | -87/+108 | |
|\ | ||||||
| * | Merge pull request #119 from ureyes84/master | Joffrey F | 2014-01-16 | 1 | -6/+6 | |
| |\ | | | | | | | Updated port function | |||||
| | * | Shortened lines | Ulises Reyes | 2013-12-14 | 1 | -5/+5 | |
| | | | ||||||
| | * | Updated the port function in order to parse the new NetworkSettings Port ↵ | Ulises Reyes | 2013-12-14 | 1 | -6/+6 | |
| | | | | | | | | | | | | dict (fixes #88) | |||||
| * | | Default to /tcp for port definitions in create_container() | Maxime Petazzoni | 2014-01-16 | 1 | -5/+2 | |
| | | | | | | | | | | | | | | | | | | 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 | 1 | -26/+26 | |
| |\ \ | | | | | | | | | container_output() method for streaming the output without logs=1 | |||||
| | * | | attach() method now parses multiplexing frames | Aanand Prasad | 2014-01-16 | 1 | -26/+26 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
| * | | | Use relative imports | Aanand Prasad | 2014-01-16 | 1 | -3/+3 | |
| | | | |