Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move config type creation from docker.utils functions to classes inconfig_types | Joffrey F | 2016-12-01 | 1 | -243/+5 |
| | | | | | | docker.types Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Merge pull request #1277 from ↵ | Ben Firshman | 2016-11-29 | 1 | -1/+75 |
|\ | | | | | | | | | bodnarbm/do-not-traverse-ignored-directories-with-no-potential-exceptions Do not traverse excluded directories that are not prefixes of dockerignore exceptions. | ||||
| * | Add unit tests for should_check_directory. | Brandon Bodnar | 2016-11-26 | 1 | -1/+75 |
| | | | | | | | | Signed-off-by: Brandon Bodnar <bodnarbm@gmail.com> | ||||
* | | Merge pull request #1297 from docker/stepanstipl-allow_custom_pid_mode | Joffrey F | 2016-11-28 | 1 | -0/+13 |
|\ \ | | | | | | | Allow custom pid mode | ||||
| * | | Re-enable pid_mode checks for API < 1.24stepanstipl-allow_custom_pid_mode | Joffrey F | 2016-11-28 | 1 | -0/+13 |
| |/ | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | | Fix parsing for an environment file with newlines | Jon Cotton | 2016-11-28 | 1 | -1/+9 |
|/ | | | | | | Fixes the new, purposely broken test added in the previous commit. Signed-off-by: Jon Cotton <jc@finaltransfer.net> | ||||
* | Rename Client to APIClient | Ben Firshman | 2016-11-22 | 1 | -8/+7 |
| | | | | Signed-off-by: Ben Firshman <ben@firshman.co.uk> | ||||
* | Drop support for Python 2.6 | Ben Firshman | 2016-11-22 | 1 | -18/+17 |
| | | | | | | | Because it's ancient. If you're still using it, you can use an old version of docker-py. Signed-off-by: Ben Firshman <ben@firshman.co.uk> | ||||
* | Merge pull request #1236 from docker/host_config_isolation | Joffrey F | 2016-11-17 | 1 | -1/+12 |
|\ | | | | | Add support for isolation param in host config | ||||
| * | Add support for isolation param in host confighost_config_isolation | Joffrey F | 2016-09-29 | 1 | -1/+12 |
| | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | | Update tests to avoid failures on Windows platforms | Joffrey F | 2016-10-14 | 1 | -53/+87 |
| | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | | Merge pull request #1256 from docker/format_env_unicode_bug | Joffrey F | 2016-10-13 | 1 | -2/+17 |
|\ \ | | | | | | | Do not break when calling format_environment with unicode values | ||||
| * | | Do not break when calling format_environment with unicode valuesformat_env_unicode_bug | Joffrey F | 2016-10-12 | 1 | -2/+17 |
| |/ | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | | Remove trailing slashes in result of utils.parse_hostbase_url_trailing_slash | Joffrey F | 2016-10-12 | 1 | -0/+5 |
|/ | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Docs and tests for pids_limit.aiden0z-master | Joffrey F | 2016-08-23 | 1 | -0/+9 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | support MemoryReservation and KernelMemory | Kay Yan | 2016-08-23 | 1 | -0/+14 |
| | | | | Signed-off-by: Kay Yan <kay.yan@daocloud.io> | ||||
* | Merge branch 'master' of https://github.com/srikalyan/docker-py into ↵ | Joffrey F | 2016-08-23 | 1 | -1/+10 |
|\ | | | | | | | srikalyan-master | ||||
| * | Added support for user namespace. | Srikalyan Swayampakula | 2016-06-30 | 1 | -1/+10 |
| | | | | | | | | Signed-off-by: Srikalyan Swayampakula <srikalyansswayam@gmail.com> | ||||
* | | Implemented dns_opt support (from api 1.21) | George Lester | 2016-08-07 | 1 | -0/+13 |
| | | | | | | | | Signed-off-by: George Lester <glester491@gmail.com> | ||||
* | | Avoid crashing in update_headers decorator when headers kwarg is None1148-update-headers-fix | Joffrey F | 2016-08-02 | 1 | -1/+34 |
| | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | | Add support for IPv6 docker host connections.1135-ipv6-docker-host | Joffrey F | 2016-07-27 | 1 | -1/+9 |
| | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | | Default to npipe address on Windows | Aanand Prasad | 2016-07-26 | 1 | -2/+2 |
|/ | | | | Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com> | ||||
* | Merge pull request #1066 from yunzhu-li/blkio-control | Joffrey F | 2016-06-15 | 1 | -0/+19 |
|\ | | | | | Add support for Block IO constraints in HostConfig | ||||
| * | Add support for Block IO constraints in HostConfig | yunzhu-li | 2016-06-05 | 1 | -0/+19 |
| | | | | | | | | | | | | | | | | | | | | | | | | This adds support for Block IO constraint options: - blkio-weight - blkio-weight-device - device-read-bps - device-write-bps - device-read-iops - device-write-iops Signed-off-by: yunzhu-li <contact@yunzhu.li> | ||||
* | | Update parse_host and tests | Joffrey F | 2016-06-02 | 1 | -4/+3 |
|/ | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | support Python 3.5 | Thomas Grainger | 2016-05-19 | 1 | -51/+19 |
| | | | | Signed-off-by: Thomas Grainger <tom.grainger@procensus.com> | ||||
* | Resolve path traversal in .dockerignore patterns | Aanand Prasad | 2016-05-16 | 1 | -0/+8 |
| | | | | Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com> | ||||
* | Merge pull request #1004 from klj613/allow-equals-character-in-env-file | Joffrey F | 2016-04-27 | 1 | -0/+8 |
|\ | | | | | makes it possible to have '=' in the env file | ||||
| * | makes it possible to have '=' in the env file | Kristian Lewis Jones | 2016-03-22 | 1 | -0/+8 |
| | | | | | | | | | | | | note that the docker command line flag --env-file also allows '=' in the env file Signed-off-by: Kristian Lewis Jones <klj613@kristianlewisjones.com> | ||||
* | | Tests for match_hostname backport | Joffrey F | 2016-03-29 | 1 | -17/+0 |
| | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | | Support OomScoreAdj in host configuration | Aditya Marella | 2016-03-22 | 1 | -0/+10 |
| | | | | | | | | Signed-off-by: Aditya Marella <aditya.marella@gmail.com> | ||||
* | | Support passing an alternate environment dict to kwargs_from_envkwargs_from_env_alt | Joffrey F | 2016-03-21 | 1 | -0/+14 |
|/ | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | If tcp host is provided while TLS is enabled, convert to httpstcp-to-https-parsehost | Joffrey F | 2016-03-17 | 1 | -1/+6 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Fix enable_tls issue #984 | Joffrey F | 2016-03-11 | 1 | -13/+1 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Fix TLS regressions | Aanand Prasad | 2016-02-23 | 1 | -3/+1 |
| | | | | | | | | | - Set `verify` to the CA cert path if one has been specified, rather than `True` - Don't set `assert_fingerprint` Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com> | ||||
* | Never exclude Dockerfile from the build context.926-ignored_dockerfiles | Joffrey F | 2016-02-09 | 1 | -5/+17 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Merge pull request #920 from docker/ssl_version_simpler | Joffrey F | 2016-02-05 | 1 | -0/+17 |
|\ | | | | | Remove obsolete SSL version computation | ||||
| * | Remove obsolete SSL version computationssl_version_simpler | Joffrey F | 2016-02-03 | 1 | -0/+17 |
| | | | | | | | | | | | | | | | | Recent versions of urllib3 (including the one packaged by requests) will automatically reject SSLv2/3. Additional test to check urllib3's behavior (mostly for release/packaging) Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | | Re-write kwargs_from_env to handle TLS options better | Mike Dougherty | 2016-02-04 | 1 | -4/+51 |
| | | | | | | | | | | | | | | | | This more closely matches the way the docker client interprets the relevant environment variables. Among other things, it's now possible to set DOCKER_TLS_VERIFY=false. Signed-off-by: Mike Dougherty <mike.dougherty@docker.com> | ||||
* | | Add support for shm_size. | Spencer Rinehart | 2016-02-04 | 1 | -0/+8 |
|/ | | | | | | | --shm-size was added to Docker in 1.10 via docker/docker#16168. See docker/compose#2823 for more details. Signed-off-by: Spencer Rinehart <anubis@overthemonkey.com> | ||||
* | Support unspecified protocol in base_url when using TLS894-docker_host_env | Joffrey F | 2016-01-28 | 1 | -0/+5 |
| | | | | | | (assume HTTPS) Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | parse_bytes: Add ability to handle 64-bit integers in py2 | Joffrey F | 2016-01-18 | 1 | -5/+20 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Improve host devices support | Joffrey F | 2016-01-18 | 1 | -1/+60 |
| | | | | | | | | Add unit tests for utils.parse_devices Rewrite documentation Support dict and string format for device declaration Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Normalise/fix networking API JSON keys | Aanand Prasad | 2016-01-18 | 1 | -6/+6 |
| | | | | | | | - Use CamelCase - `auxaddresses` -> `AuxiliaryAddresses` Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com> | ||||
* | Implement support for network-scoped aliases | Aanand Prasad | 2016-01-14 | 1 | -1/+9 |
| | | | | Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com> | ||||
* | allow custom ipam options when creating networks | Ryan Belgrave | 2016-01-04 | 1 | -1/+16 |
| | | | | Signed-off-by: Ryan Belgrave <rmb1993@gmail.com> | ||||
* | Improve get_paths performance by not descending into ignored directories | Thomas Boyt | 2015-12-08 | 1 | -3/+3 |
| | | | | Signed-off-by: Thomas Boyt <thomas@ledgerx.com> | ||||
* | Add tests for new cases covered by parse_repository_tag860-deprecate-resolve-repo-name | Joffrey F | 2015-11-24 | 1 | -14/+46 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | create_host_config: allow setting oom_kill_disable | Michael Schubert | 2015-11-10 | 1 | -1/+8 |
| | | | | Signed-off-by: Michael Schubert <schu@schu.io> | ||||
* | Fix py3.2 test failure and unicode behavior | Joffrey F | 2015-10-27 | 1 | -5/+9 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> |