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> | ||||
* | Merge pull request #2103 from asottile/allow_uid_integer_0 | Joffrey F | 2018-08-06 | 1 | -0/+6 |
|\ | | | | | Allow user=0 to be passed in create_container | ||||
| * | Allow user=0 to be passed in create_container | Anthony Sottile | 2018-08-02 | 1 | -0/+6 |
| | | | | | | | | Signed-off-by: Anthony Sottile <asottile@umich.edu> | ||||
* | | Improve placement handling in DockerClient.services.createknackworks-service-create-placement-preferences | Joffrey F | 2018-08-03 | 1 | -1/+7 |
|/ | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Merge pull request #2063 from mtszb/master | Joffrey F | 2018-06-29 | 2 | -0/+8 |
|\ | | | | | Add support for `uts_mode` parameter in `Client.create_host_config`. | ||||
| * | Add support for `uts_mode` parameter in `Client.create_host_config`. | Marco Trillo | 2018-06-29 | 2 | -0/+8 |
| | | | | | | | | | | | | | | | | | | | | This parameter allows to set the UTS namespace of the container, as in the `--uts=X` Docker CLI parameter: <https://docs.docker.com/engine/reference/run/#uts-settings---uts> The only allowed value, if set, is "host". Signed-off-by: Marco Trillo <martri@arantia.com> Signed-off-by: Diego Alvarez <dyako.developer@gmail.com> | ||||
* | | On Windows, convert paths to use forward slashes before fnmatch call | Joffrey F | 2018-06-28 | 2 | -485/+498 |
| | | | | | | | | 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> | ||||
* | Fix support for legacy .dockercfg auth config format | Joffrey F | 2018-06-27 | 1 | -12/+54 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Allow passing of env overrides to credstore through APIClient ctor | Joffrey F | 2018-06-08 | 1 | -1/+1 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Fix socket reading function for TCP (non-HTTPS) connections on Windows | Joffrey F | 2018-06-06 | 1 | -2/+56 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Add ignore_removed param to containers.list() to control whether to | Joffrey F | 2018-04-25 | 2 | -5/+23 |
| | | | | | | raise or ignore NotFound Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Total timeout should be HTTP timeout + operation timeout | Joffrey F | 2018-04-25 | 1 | -4/+4 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | stop(), restart(): Adjust request timeout. | Matthieu Nottale | 2018-04-25 | 1 | -2/+2 |
| | | | | Signed-off-by: Matthieu Nottale <matthieu.nottale@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 patterns1956-dockerignore-include-dockerfile | Joffrey F | 2018-03-14 | 1 | -0/+5 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Merge pull request #1928 from mnottale/fix-spurious-resolution-macos-slowdown | Joffrey F | 2018-02-27 | 1 | -1/+1 |
|\ | | | | | Workaround requests resolving our unix socket URL on macosx. | ||||
| * | Workaround requests resolving our unix socket URL on macosx. | Matthieu Nottale | 2018-02-26 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Matthieu Nottale <matthieu.nottale@docker.com> | ||||
* | | Merge pull request #1927 from mefyl/master | Joffrey F | 2018-02-26 | 1 | -0/+16 |
|\ \ | |/ |/| | Add test for "/.." patterns in .dockerignore. | ||||
| * | Add test for "/.." patterns in .dockerignore. | mefyl | 2018-02-26 | 1 | -0/+16 |
| | | | | | | | | Signed-off-by: mefyl <quentin.hocquet@docker.com> | ||||
* | | Merge branch 'release' into 3.1.0-release | Joffrey F | 2018-02-22 | 1 | -1/+0 |
|\ \ | |/ |/| | | | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com> Conflicts: docker/version.py tests/unit/api_test.py tests/unit/utils_test.py | ||||
| * | Rewrite access check in create_archive with EAFP | Joffrey F | 2018-02-05 | 1 | -2/+6 |
| | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
| * | Add login data to the right subdict in auth_configs | Joffrey F | 2018-02-05 | 1 | -0/+18 |
| | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
| * | Add workaround for bpo-32713 | Joffrey F | 2018-02-05 | 1 | -0/+12 |
| | | | | | | | | Signed-off-by: Joffrey F <joffrey@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> | ||||
* | | Fix test_login flakes | Joffrey F | 2018-02-14 | 1 | -6/+7 |
| | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | | Merge pull request #1906 from docker/1352-data_stream_control | Joffrey F | 2018-02-14 | 2 | -3/+11 |
|\ \ | | | | | | | Add chunk_size parameter to data downloading methods | ||||
| * | | Add chunk_size parameter to data downloading methods (export, get_archive, save)1352-data_stream_control | Joffrey F | 2018-02-14 | 2 | -3/+11 |
| | | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | | | Fix authconfig resolution when credStore is used combined with login()1861-credstore_login | Joffrey F | 2018-02-13 | 1 | -0/+13 |
|/ / | | | | | | | Signed-off-by: Joffrey F <joffrey@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> | ||||
* | | Merge pull request #1896 from docker/1895-login-auths | Joffrey F | 2018-02-02 | 1 | -0/+18 |
|\ \ | | | | | | | Add login data to the right subdict in auth_configs | ||||
| * | | Add login data to the right subdict in auth_configs1895-login-auths | Joffrey F | 2018-02-01 | 1 | -0/+18 |
| |/ | | | | | | | 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> | ||||
* | Update wait to always return a dictwait_return | Joffrey F | 2018-01-31 | 2 | -4/+4 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Merge pull request #1888 from docker/1884-create_volumes_win32 | Joffrey F | 2018-01-31 | 1 | -2/+5 |
|\ | | | | | Correctly parse volumes with Windows paths | ||||
| * | Correctly parse volumes with Windows paths1884-create_volumes_win32 | Joffrey F | 2018-01-31 | 1 | -2/+5 |
| | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | | Refuse API version < 1.21 ; Remove associated code pathscleanup_deprecated | Joffrey F | 2018-01-31 | 8 | -157/+36 |
|/ | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Add support for publish mode for endpointspec ports1878-publishmode | Joffrey F | 2018-01-31 | 1 | -0/+75 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Improve separation between auth_configs and general_configsimprove_authconfig_genconfig_separation | Joffrey F | 2018-01-30 | 4 | -62/+93 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Use config.json for detachKeys | Fumiaki MATSUSHIMA | 2018-01-30 | 2 | -53/+84 |
| | | | | Signed-off-by: Fumiaki Matsushima <mtsmfm@gmail.com> | ||||
* | Properly support pulling all tags in DockerClient.images.pull1761-dockerclient-pull | Joffrey F | 2018-01-30 | 1 | -2/+15 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Merge pull request #1881 from docker/pytest-asserts | Joffrey F | 2018-01-30 | 14 | -1195/+878 |
|\ | | | | | Use pytest asserts | ||||
| * | Use pytest assertspytest-asserts | Joffrey F | 2018-01-30 | 14 | -1195/+878 |
| | | | | | | | | 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> | ||||
* | Return tuple instead of dict in exec_run | Joffrey F | 2018-01-26 | 1 | -4/+6 |
| | | | | Signed-off-by: Joffrey F <joffrey@docker.com> | ||||
* | Merge branch 'add_exit_code_to_exec_run' of ↵ | Joffrey F | 2018-01-26 | 1 | -0/+11 |
|\ | | | | | | | https://github.com/hnq90/docker-py into hnq90-add_exit_code_to_exec_run |