Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | read_only parameterread_only_rootfs | Joffrey F | 2015-02-10 | 1 | -2/+8 | |
|/ / | ||||||
* | | Merge pull request #482 from docker/rename_container | Joffrey F | 2015-02-10 | 1 | -12/+28 | |
|\ \ | | | | | | | New Client.rename() method | |||||
| * | | Bumped default API version, fixed rename() | Joffrey F | 2015-02-10 | 1 | -4/+12 | |
| | | | ||||||
| * | | Added rename method | Joffrey F | 2015-02-10 | 1 | -9/+17 | |
| | | | ||||||
* | | | Merge pull request #474 from gierschv/fix-build-remote | Joffrey F | 2015-02-10 | 1 | -0/+2 | |
|\ \ \ | |/ / |/| | | Fix crash when building from remote sources | |||||
| * | | Fix crash when building from remote sources | Vincent Giersch | 2015-02-04 | 1 | -0/+2 | |
| | | | | | | | | | | | | | | | | | | | | | Avoid crashing when the Docker python client is able to load registry credentials when building using a remote source Signed-off-by: Vincent Giersch <vincent.giersch@ovh.net> | |||||
* | | | Rename Client._timeout to timeout. | Greg Taylor | 2015-02-04 | 1 | -3/+3 | |
|/ / | ||||||
* | | Fix #458 | Joffrey F | 2015-02-01 | 1 | -1/+1 | |
| | | ||||||
* | | Fix #466 | Joffrey F | 2015-02-01 | 1 | -4/+6 | |
| | | ||||||
* | | Merge pull request #441 from dims/fix-log-streams | Joffrey F | 2015-02-01 | 1 | -28/+14 | |
|\ \ | | | | | | | Fix to enable streaming container logs reliably | |||||
| * | | Fix to enable streaming container logs reliably | Davanum Srinivas | 2015-01-19 | 1 | -28/+14 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Started a ubuntu container that just runs "ping 8.8.8.8" and tried the sample code in https://gist.github.com/dims/c3327f633c526847c8e5 to recreate the problem mentioned in: https://github.com/docker/docker-py/issues/300 To debug the problem i printed the byte array read in recvall when reading STREAM_HEADER_SIZE_BYTES and realized that the data being read was far ahead of the actual start of the header documented in the vnd.docker.raw-stream of the docker remote api. This is possibly because the requests/urllib3 is reading ahead a bit more and we shouldn't be trying to hack the internals of those projects. So just using the documented file-like response.raw is good enough for us to get the functionality we need which is being able to read for exactly where the stream header starts. With this change i can reliably stream the logs just like "docker logs --follow". Note that we still need to access the underlying socket to set the timeout to prevent read time outs. The original fix was for client.logs() only but on further review it made sense to replace all occurances of _multiplexed_socket_stream_helper with the new method. | |||||
* | | | Add Support for Mac Address | James Harris | 2015-01-21 | 1 | -4/+6 | |
|/ / | | | | | | | | | | | The new docker api allows specifing mac address for containers. This change is to allow docker py the same functionality. Signed-off-by: James Harris <james@rancher.com> | |||||
* | | Revert noop change | Joffrey F | 2015-01-08 | 1 | -10/+9 | |
| | | ||||||
* | | Merge branch 'master' of https://github.com/rmohr/docker-py into rmohr-master | Joffrey F | 2015-01-08 | 1 | -12/+19 | |
|\ \ | ||||||
| * | | Keep unix socket alive with python3 | Roman Mohr | 2014-12-21 | 1 | -12/+19 | |
| |/ | ||||||
* | | Fix for issue #443 | Joffrey F | 2015-01-08 | 1 | -10/+14 | |
|/ | ||||||
* | Use create_host_config in start (unifying parameter processing)0.7.0-release | Joffrey F | 2014-12-18 | 1 | -72/+11 | |
| | ||||||
* | Fix create_container environment parameter for python3 | Joffrey F | 2014-12-18 | 1 | -2/+2 | |
| | ||||||
* | Merge pull request #427 from abanna/adding_multiple_dockercfg_support | Joffrey F | 2014-12-18 | 1 | -2/+6 | |
|\ | | | | | adding the ability to login with different dockercfg files. | |||||
| * | adding the ability to login with different dockercfg files. | Alex Banna | 2014-12-18 | 1 | -2/+6 | |
| | | ||||||
* | | flake8 fails with F821 for unicode under python 3.4.2 | Davanum Srinivas | 2014-12-18 | 1 | -1/+2 | |
|/ | ||||||
* | Merge branch 'master' of https://github.com/leth/docker-py into leth-master | Joffrey F | 2014-12-17 | 1 | -24/+7 | |
|\ | | | | | | | | | Conflicts: tests/test.py | |||||
| * | Consume from chunked streams without data loss | Marcus Cobden | 2014-12-16 | 1 | -24/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Data already in local python buffers was lost when stream socket fileobject was re-created. We now use http.client to handle the chunk transfer encoding, and we read only the data from each chunk. This adds a test harness for stream responses which tries to trigger the lost-buffer behaviour by responding to the HTTP request in full, as early as possible. NB: Python's http.client will close the socket fileobj early if there is no content length or chunked transfer encoding header. If this happens, requests/urllib3 will reopen it, but we lose some data which was stored in buffers. | |||||
* | | Un-deprecated hostconfig in start | Joffrey F | 2014-12-17 | 1 | -33/+6 | |
| | | ||||||
* | | Prevent start_config from overriding host_config in create if no param is ↵ | Joffrey F | 2014-12-17 | 1 | -5/+11 | |
| | | | | | | | | specified | |||||
* | | * create_container now supports a host_config param | Joffrey F | 2014-12-17 | 1 | -14/+52 | |
|/ | | | | * Deprecation warnings added in Client.start | |||||
* | Added timeout param to Client.wait | Joffrey F | 2014-12-15 | 1 | -2/+2 | |
| | ||||||
* | Added forcerm param in Client.build | Joffrey F | 2014-12-15 | 1 | -1/+3 | |
| | ||||||
* | Fix the order of pull | Derek Hammer | 2014-12-15 | 1 | -3/+3 | |
| | ||||||
* | Allow for pull as an option to docker build | Derek Hammer | 2014-12-13 | 1 | -1/+2 | |
| | | | | Signed-off-by: Derek Hammer <derek.r.hammer@gmail.com> | |||||
* | Merge pull request #318 from Precis/verified_login | Joffrey F | 2014-11-26 | 1 | -2/+3 | |
|\ | | | | | Expand registry URL before login. | |||||
| * | Expand registry URL before login. | Matthias Erll | 2014-09-10 | 1 | -2/+3 | |
| | | ||||||
* | | Merge pull request #411 from docker/393-enforce-str-version | Joffrey F | 2014-11-26 | 1 | -0/+6 | |
|\ \ | | | | | | | Enforce passing string as version param in ctor | |||||
| * | | Enforce passing string as version param in ctor393-enforce-str-version | Joffrey F | 2014-11-26 | 1 | -0/+6 | |
| | | | ||||||
* | | | Changed unicode literal to explicit typecast (3.2 compat) | Joffrey F | 2014-11-26 | 1 | -1/+1 | |
| | | | ||||||
* | | | Merge branch 'fix-env-variables-unicode' of github.com:maxcnunes/docker-py ↵ | Joffrey F | 2014-11-26 | 1 | -1/+1 | |
|\ \ \ | |/ / |/| | | | | | into maxcnunes-fix-env-variables-unicode | |||||
| * | | fixes problem when using environment variables that depends on utf-8 encoding | Max Claus Nunes | 2014-11-23 | 1 | -1/+1 | |
| | | | ||||||
* | | | Fix pep8 errors | Adrian Slade | 2014-11-14 | 1 | -2/+2 | |
| | | | ||||||
* | | | Allow ExtraHosts to be specified when creating a container | Adrian Slade | 2014-11-14 | 1 | -1/+12 | |
|/ / | ||||||
* | | Merge pull request #333 from alexliew/change_remove_image | Joffrey F | 2014-11-03 | 1 | -0/+2 | |
|\ \ | | | | | | | Change remove_image to check if image is a dictionary. | |||||
| * | | Remove trailing whitespace. | Alex | 2014-10-04 | 1 | -1/+1 | |
| | | | ||||||
| * | | Change remove_image to check if image is a dictionary and use Id value if it is. | Alex | 2014-10-01 | 1 | -0/+2 | |
| | | | ||||||
* | | | Merge branch 'filters' of github.com:irachex/docker-py into irachex-filters | Joffrey F | 2014-11-03 | 1 | -2/+8 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: docker/utils/__init__.py docker/utils/utils.py tests/utils_test.py | |||||
| * | | | Add support for filtering images and containers | Huayi Zhang | 2014-10-05 | 1 | -2/+8 | |
| |/ / | | | | | | | | | | | | | | | | | | | [`filters` is a json encoded value of the filters (a map[string][string]) to process on the images list. ][1] The tricky thing is that we must convert boolean value to string and any filter value to list to make a `map[string][string]` json format [1]: https://docs.docker.com/reference/api/docker_remote_api_v1.14/#list-images | |||||
* | | | Merge pull request #319 from psftw/bugfix_history | Joffrey F | 2014-10-30 | 1 | -2/+1 | |
|\ \ \ | | | | | | | | | Make history() return json. | |||||
| * | | | Make history() return json. | Peter Salvatore | 2014-09-10 | 1 | -2/+1 | |
| |/ / | ||||||
* | | | Merge branch 'feature_logs-tail' of github.com:totem/docker-py into ↵ | Joffrey F | 2014-10-30 | 1 | -4/+6 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | totem-feature_logs-tail Conflicts: docker/client.py tests/fake_api.py | |||||
| * | | | Add support for tailing logs (introduced in API : v1.13) | sukrit007 | 2014-08-22 | 1 | -2/+5 | |
| | | | | | | | | | | | | | | | | Updated default version to v1.13 | |||||
* | | | | Merge pull request #379 from tutumcloud/logs_tail | Joffrey F | 2014-10-30 | 1 | -2/+5 | |
|\ \ \ \ | | | | | | | | | | | Added tail behaviour to logs command, same as CLI v1.3 (latest) | |||||
| * | | | | Added tail behaviour to logs command, same as CLI v1.3 (latest) | Alberto | 2014-10-27 | 1 | -2/+5 | |
| | | | | |