Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rewrite utils.parse_host to detect more invalid addresses.ssh_protocol_support | Joffrey F | 2018-11-01 | 1 | -2/+10 |
| | | | | | | | | The method now uses parsing methods from urllib to better split provided URLs. Addresses containing query strings, parameters, passwords or fragments no longer fail silently. SSH addresses containing paths are no longer accepted. Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | On Windows, convert paths to use forward slashes before fnmatch call | Joffrey F | 2018-06-28 | 1 | -485/+5 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Improved .dockerignore pattern processing to better match Docker CLI behavior | Joffrey F | 2018-06-28 | 1 | -1/+11 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Don't descend into symlinks when building context tar | Joffrey F | 2018-03-21 | 1 | -0/+15 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Use same split rules for Dockerfile as other include/exclude patterns | Joffrey F | 2018-03-20 | 1 | -0/+5 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Add test for "/.." patterns in .dockerignore. | mefyl | 2018-02-26 | 1 | -0/+16 |
| | | | | Signed-off-by: mefyl <quentin.hocquet@docker.com> | ||||
* | Fix .dockerignore: accept wildcard in inclusion pattern, honor last line ↵ | mefyl | 2018-02-21 | 1 | -64/+20 |
| | | | | | | precedence. Signed-off-by: mefyl <quentin.hocquet@docker.com> | ||||
* | Fix dockerignore handling of absolute path exceptions. | mefyl | 2018-02-21 | 1 | -0/+7 |
| | | | | Signed-off-by: mefyl <quentin.hocquet@docker.com> | ||||
* | Revert "Correctly support absolute paths in .dockerignore" | mefyl | 2018-02-19 | 1 | -17/+10 |
| | | | | | | This reverts commit 34d50483e20e86cb7ab22700e036a5c4d319268a. Signed-off-by: mefyl <quentin.hocquet@docker.com> | ||||
* | 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> |