Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Correctly support absolute paths in .dockerignorec5672-dockerignore-abspath | Joffrey F | 2018-02-12 | 1 | -10/+17 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Merge pull request #1901 from docker/1899-create_archive_fix | Joffrey F | 2018-02-05 | 1 | -2/+6 |
|\ | | | | | Rewrite access check in create_archive with EAFP | ||||
| * | Rewrite access check in create_archive with EAFP1899-create_archive_fix | Joffrey F | 2018-02-05 | 1 | -2/+6 |
| | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | | Add workaround for bpo-32713c5618-negative-mtime-tar | Joffrey F | 2018-02-01 | 1 | -0/+12 |
|/ | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Improve separation between auth_configs and general_configsimprove_authconfig_genconfig_separation | Joffrey F | 2018-01-30 | 1 | -2/+2 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Merge pull request #1881 from docker/pytest-asserts | Joffrey F | 2018-01-30 | 1 | -162/+141 |
|\ | | | | | Use pytest asserts | ||||
| * | Use pytest assertspytest-asserts | Joffrey F | 2018-01-30 | 1 | -162/+141 |
| | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | | Do not break when archiving broken symlinks1841-tar-broken-symlinks | Joffrey F | 2018-01-29 | 1 | -0/+26 |
|/ | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Commit d798afca made changes for the handling of '**' patterns in | Veli-Matti Lintu | 2017-08-22 | 1 | -0/+17 |
| | | | | | | | | .dockerignore. This causes an IndexError with patterns ending with '**', e.g. 'subdir/**'. This adds a missing boundary check before checking for trailing '/'. Signed-off-by: Veli-Matti Lintu <veli-matti.lintu@nosto.com> | ||||
* | Leading slash in .dockerignore should be ignored | Joffrey F | 2017-08-17 | 1 | -0/+5 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Generating regexp from .dockerignore file in a similar way as docker-ce. | Jakub Goszczurny | 2017-08-17 | 1 | -0/+25 |
| | | | | Signed-off-by: Jakub Goszczurny <szczurmys@o2.pl> | ||||
* | split_port should not break when passed a non-string argument | Joffrey F | 2017-06-28 | 1 | -0/+3 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Add a specific unit test for splitting port with IPv6 | kaiyou | 2017-06-05 | 1 | -0/+6 |
| | | | | | | The test was copied from https://github.com/greybyte/docker-py/commit/ccec87ca2c2aacfcfe3b38c5bc7d59dd73551c51 Signed-off-by: kaiyou <pierre@jaury.eu> | ||||
* | Fix test issuesappveyor | Joffrey F | 2017-03-29 | 1 | -43/+37 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Raise an error when passing an empty string to split_port | Joffrey F | 2017-03-09 | 1 | -0/+3 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | fix: Missing exception handling in split_port when no container port | Lei Gong | 2017-03-09 | 1 | -0/+4 |
| | | | | | | | | | | "localhost:host_port:" case will raise TypeError exception directly Catch the "TypeError" and give proper error message * docker/utils/ports.py Signed-off-by: Lei Gong <xue177125184@gmail.com> | ||||
* | Allow port range like 8000-8010:80 | crierr | 2017-02-20 | 1 | -0/+5 |
| | | | | Signed-off-by: SeungJin Oh <crierr@naver.com> | ||||
* | Add support for recursive wildcard pattern in .dockerignore | Joffrey F | 2017-02-14 | 1 | -3/+13 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Ignore socket files in utils.tar | Joffrey F | 2017-01-24 | 1 | -0/+15 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Accept / as a path separator in dockerignore patterns on all platformscompose-4302-dockerignore-windows | Joffrey F | 2017-01-06 | 1 | -0/+18 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | 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> |