summaryrefslogtreecommitdiff
path: root/docker
Commit message (Collapse)AuthorAgeFilesLines
* Fix empty authconfig detectionauthconfig_fixJoffrey F2018-11-303-4/+10
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Merge pull request #2188 from docker/c6374-credhelpersJoffrey F2018-11-304-196/+261
|\ | | | | Modernize auth management
| * Add some credHelpers testsc6374-credhelpersJoffrey F2018-11-301-1/+1
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * Add credstore_env to all load_config callsJoffrey F2018-11-302-3/+7
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * Make AuthConfig a dict subclass for backward-compatibilityJoffrey F2018-11-301-7/+11
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * Modernize auth managementJoffrey F2018-11-283-192/+249
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Move exec_run example to user guides section of docsJoffrey F2018-11-301-64/+0
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Merge branch 'master' of https://github.com/little-dude/docker-py into ↵Joffrey F2018-11-305-33/+178
|\ \ | | | | | | | | | little-dude-master
| * | fix exec api inconsistencyCorentin Henry2018-11-281-3/+9
| | | | | | | | | | | | Signed-off-by: Corentin Henry <corentinhenry@gmail.com>
| * | fix exec_start() documentationCorentin Henry2018-11-281-2/+2
| | | | | | | | | | | | Signed-off-by: Corentin Henry <corentinhenry@gmail.com>
| * | add tests for _read_from_socketCorentin Henry2018-11-281-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Check that the return value against the various combination of parameters this function can take (tty, stream, and demux). This commit also fixes a bug that the tests uncovered a bug in consume_socket_output. Signed-off-by: Corentin Henry <corentinhenry@gmail.com>
| * | implement stream demultiplexing for exec commandsCorentin Henry2018-11-275-33/+170
| | | | | | | | | | | | | | | | | | fixes https://github.com/docker/docker-py/issues/1952 Signed-off-by: Corentin Henry <corentinhenry@gmail.com>
* | | Merge pull request #2181 from funkyfuture/exec_run_docsJoffrey F2018-11-301-2/+2
|\ \ \ | |_|/ |/| | Fixes the documented return value of models.containers.Container.exec_run
| * | Fixes return value models.containers.Container.exec_run.__doc__Frank Sachsenheim2018-11-271-2/+2
| | | | | | | | | | | | Signed-off-by: Frank Sachsenheim <funkyfuture@riseup.net>
* | | Next dev versionJoffrey F2018-11-281-1/+1
| | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | | Merge branch 'release'Joffrey F2018-11-281-1/+1
|\ \ \
| * | | Release 3.6.03.6.0-releaseJoffrey F2018-11-281-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * | | Update DockerClient.images.pull to always stream responseJoffrey F2018-11-281-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | Also raise a warning when users attempt to specify the "stream" parameter Signed-off-by: Joffrey F <joffrey@docker.com>
| * | | Fix pulling images with `stream=True`adw1n2018-11-282-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pulling an image with option `stream=True` like this: ``` client.api.pull('docker.io/user/repo_name', tag='latest', stream=True) ``` without consuming the generator oftentimes results in premature drop of the connection. Docker daemon tries to send progress of pulling the image to the client, but it encounters an error (broken pipe) and therefore cancells the pull action: ``` Thread 1 "dockerd-dev" received signal SIGPIPE, Broken pipe. ERRO[2018-09-03T05:12:35.746497638+02:00] Not continuing with pull after error: context canceled ``` As described in issue #2116, even though client receives response with status code 200, image is not pulled. Closes #2116 Signed-off-by: Przemysław Adamek <adw1n@users.noreply.github.com>
| * | | Correctly handle longpath prefix in process_dockerfile when joining pathsJoffrey F2018-11-282-1/+9
| | | | | | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * | | Fix file mode in image.save examplesJoffrey F2018-11-282-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * | | Add doc example for get_archiveJoffrey F2018-11-282-0/+23
| | | | | | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * | | Properly convert non-string filters to expected string formatJoffrey F2018-11-281-1/+4
| | | | | | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * | | Disallow incompatible combination stats(decode=True, stream=False)Joffrey F2018-11-282-2/+8
| | | | | | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * | | Fix incorrect return info for inspect_serviceJoffrey F2018-11-281-1/+2
| | | | | | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * | | Document attr caching for Container objectsJoffrey F2018-11-281-1/+6
| | | | | | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * | | Update links docs and fix bug in normalize_linksJoffrey F2018-11-283-10/+15
| | | | | | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * | | Improved LogConfig documentationJoffrey F2018-11-283-17/+44
| | | | | | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * | | Improve ulimits documentationJoffrey F2018-11-283-3/+20
| | | | | | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * | | Add named parameter to image.save to identify which repository name to use ↵Joffrey F2018-11-281-2/+18
| | | | | | | | | | | | | | | | | | | | | | | | in the resulting tarball Signed-off-by: Joffrey F <joffrey@docker.com>
| * | | Add a missing space in a log messageAdam Dangoor2018-11-281-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Adam Dangoor <adamdangoor@gmail.com>
| * | | Rewrite utils.parse_host to detect more invalid addresses.Joffrey F2018-11-282-62/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | | Clear error for cancellable streams over SSHJoffrey F2018-11-281-1/+11
| | | | | | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * | | Remove misleading fileno method from NpipeSocket classJoffrey F2018-11-281-4/+0
| | | | | | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * | | Add support for SSH protocol in base_urlJoffrey F2018-11-284-5/+145
| | | | | | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * | | Bump 3.5.13.5.1-releaseJoffrey F2018-10-171-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | | | Update DockerClient.images.pull to always stream responseadw1n-i2116Joffrey F2018-11-281-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | Also raise a warning when users attempt to specify the "stream" parameter Signed-off-by: Joffrey F <joffrey@docker.com>
* | | | Fix pulling images with `stream=True`adw1n2018-11-282-1/+3
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pulling an image with option `stream=True` like this: ``` client.api.pull('docker.io/user/repo_name', tag='latest', stream=True) ``` without consuming the generator oftentimes results in premature drop of the connection. Docker daemon tries to send progress of pulling the image to the client, but it encounters an error (broken pipe) and therefore cancells the pull action: ``` Thread 1 "dockerd-dev" received signal SIGPIPE, Broken pipe. ERRO[2018-09-03T05:12:35.746497638+02:00] Not continuing with pull after error: context canceled ``` As described in issue #2116, even though client receives response with status code 200, image is not pulled. Closes #2116 Signed-off-by: Przemysław Adamek <adw1n@users.noreply.github.com>
* | | Correctly handle longpath prefix in process_dockerfile when joining pathsc6356-longpath-prefixJoffrey F2018-11-262-1/+9
| |/ |/| | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Remove prematurely committed filefix_docsJoffrey F2018-11-081-57/+0
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Fix file mode in image.save examplesJoffrey F2018-11-082-2/+2
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Add doc example for get_archiveJoffrey F2018-11-082-0/+23
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Properly convert non-string filters to expected string formatJoffrey F2018-11-081-1/+4
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Disallow incompatible combination stats(decode=True, stream=False)Joffrey F2018-11-082-2/+8
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Fix incorrect return info for inspect_serviceJoffrey F2018-11-081-1/+2
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Document attr caching for Container objectsJoffrey F2018-11-081-1/+6
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Update links docs and fix bug in normalize_linksJoffrey F2018-11-083-10/+15
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Improved LogConfig documentationJoffrey F2018-11-083-17/+44
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Improve ulimits documentationJoffrey F2018-11-083-3/+20
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Fix docs examples to work with Python 3Joffrey F2018-11-084-12/+69
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>