summaryrefslogtreecommitdiff
path: root/docker
Commit message (Collapse)AuthorAgeFilesLines
* Rename non-URL occurrences of docker-py to "Docker SDK for Python"docker_sdk_renameJoffrey F2016-12-122-4/+5
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Merge pull request #1338 from docker/remove_nodeJoffrey F2016-12-072-0/+47
|\ | | | | Implement swarm node removal
| * Implement swarm node removalremove_nodeJoffrey F2016-12-072-0/+47
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Merge pull request #1340 from docker/dnephin-add-attachableJoffrey F2016-12-074-4/+21
|\ \ | | | | | | Add attachable option in create_network
| * | Update code and tests for Engine 1.13 compatibilitydnephin-add-attachableJoffrey F2016-12-073-2/+9
| | | | | | | | | | | | | | | | | | Makefile now runs tests against Docker 1.13 RC Signed-off-by: Joffrey F <joffrey@docker.com>
| * | Fix typo in create_networkJoffrey F2016-12-061-4/+5
| | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * | Add attachable.Daniel Nephin2016-12-051-2/+11
| | | | | | | | | | | | Signed-off-by: Daniel Nephin <dnephin@gmail.com>
* | | Merge pull request #1339 from docker/min_version_1.21Ben Firshman2016-12-061-1/+1
|\ \ \ | |/ / |/| | Minimum version 1.24 -> 1.21
| * | Minimum version 1.24 -> 1.21min_version_1.21Joffrey F2016-12-051-1/+1
| |/ | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Merge pull request #1272 from TomasTomecek/1271-fix-detach-in-exec-startBen Firshman2016-12-051-1/+2
|\ \ | | | | | | exec: fix running with detach=True
| * | exec: fix running with detach=TrueTomas Tomecek2016-11-291-1/+2
| | | | | | | | | | | | | | | | | | Fixes #1271 Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
* | | Merge pull request #1331 from aanand/fix-auth-config-path-windowsJoffrey F2016-12-021-12/+24
|\ \ \ | |_|/ |/| | Fix auth config path on Windows
| * | Fix auth config path on WindowsAanand Prasad2016-12-021-12/+24
| | | | | | | | | | | | | | | | | | | | | The Engine client looks *only* at the USERPROFILE environment variable on Windows, so we should do that too. Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
* | | Merge pull request #1315 from bfirsh/rename-docker-py-to-docker-sdk-pythonJoffrey F2016-12-024-7/+7
|\ \ \ | | | | | | | | Start to rename docker-py to docker-sdk-python
| * | | Start to rename docker-py to docker-sdk-pythonBen Firshman2016-11-284-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pretty much everything except renaming the GitHub repo and documentation, which is not actually done yet. Nearer the release we can do a search/replace for all that stuff. Ref #1310 Signed-off-by: Ben Firshman <ben@firshman.co.uk>
* | | | Merge pull request #1330 from docker/walkerlee-masterJoffrey F2016-12-021-1/+8
|\ \ \ \ | | | | | | | | | | Add options to IPAMConfig
| * | | | Add options to IPAMConfigwalkerlee-masterJoffrey F2016-12-021-1/+8
| | |/ / | |/| | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | | | Merge pull request #1327 from docker/compose4171_build_auth_headersJoffrey F2016-12-021-3/+19
|\ \ \ \ | | | | | | | | | | Properly fill out auth headers in APIClient.build when using a credstore
| * | | | Properly fill out auth headers in APIClient.build when usingcompose4171_build_auth_headersJoffrey F2016-12-011-3/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a credentials store Signed-off-by: Joffrey F <joffrey@docker.com>
* | | | | Merge branch 'patch-1' of https://github.com/manics/docker-py into ↵manics-patch-1Joffrey F2016-12-022-2/+6
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | manics-patch-1 Signed-off-by: Joffrey F <joffrey@docker.com>
| * | | | Use format_environment to convert env in ContainerSpecSimon Li2016-11-112-2/+6
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Simon Li <orpheus+devel@gmail.com>
* | | | | Merge pull request #1328 from docker/ssladapter_transport_moduleBen Firshman2016-12-024-7/+7
|\ \ \ \ \ | | | | | | | | | | | | Move ssladapter to transport module
| * | | | | Move ssladapter to transport modulessladapter_transport_moduleJoffrey F2016-12-014-7/+7
| | |/ / / | |/| | | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | | | | Move config type creation from docker.utils functions to classes inconfig_typesJoffrey F2016-12-0112-701/+704
|/ / / / | | | | | | | | | | | | | | | | | | | | docker.types Signed-off-by: Joffrey F <joffrey@docker.com>
* | | | Merge pull request #1303 from aanand/helpful-containers-warningBen Firshman2016-12-011-0/+6
|\ \ \ \ | | | | | | | | | | Show a helpful warning when people try to call `client.containers()`
| * | | | Show a helpful warning when people try to call `client.containers()`Aanand Prasad2016-11-281-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | People upgrading to docker-py 2.0 without being aware of the new client API will likely try to call the old `containers()` method. This adds a helpful warning telling them to use APIClient to get the old API. Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
* | | | | Merge pull request #1308 from docker/docker_clientJoffrey F2016-11-308-11/+133
|\ \ \ \ \ | |_|_|_|/ |/| | | | Rename Client -> DockerClient
| * | | | Rename Client -> DockerClientdocker_clientJoffrey F2016-11-288-11/+133
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | Replace references to old Client with APIClient Moved contents of services.md to appropriate locations Signed-off-by: Joffrey F <joffrey@docker.com>
* | | | Merge pull request #1277 from ↵Ben Firshman2016-11-291-19/+32
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | bodnarbm/do-not-traverse-ignored-directories-with-no-potential-exceptions Do not traverse excluded directories that are not prefixes of dockerignore exceptions.
| * | | | Prevent traversing excluded directories with no possible dockerignore exceptionsBrandon Bodnar2016-11-261-19/+32
| |/ / / | | | | | | | | | | | | | | | | | | | | Fixes an issue where all files in a rather large excluded folder are traversed and examined when creating the build context for potential exception to the exclusion, even though the exclusion rule is for a completely unrelated folder. Signed-off-by: Brandon Bodnar <bodnarbm@gmail.com>
* | | | Merge pull request #1250 from mmerickel/fix/1211Joffrey F2016-11-281-3/+7
|\ \ \ \ | | | | | | | | | | do not assume that read will consume the number of bytes requested
| * | | | do not assume that read will consume the number of bytes requestedMichael Merickel2016-11-281-3/+7
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The issue is that ``os.read`` does not always read the expected number of bytes, and thus we are moving to the next frame too early causing drift in the byte stream. When the reading drifts, it starts reading garbage as the next frame size. The some examples of frame sizes were 4032897957 bytes, etc. Values this large were causing the exceptions from ``os.read``. fixes #1211 Signed-off-by: Michael Merickel <michael@merickel.org>
* | | | Merge pull request #1297 from docker/stepanstipl-allow_custom_pid_modeJoffrey F2016-11-281-3/+3
|\ \ \ \ | | | | | | | | | | Allow custom pid mode
| * | | | Re-enable pid_mode checks for API < 1.24stepanstipl-allow_custom_pid_modeJoffrey F2016-11-281-0/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * | | | Allow custom PID mode for the containerStepan Stipl2016-11-281-3/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | Docker added support for sharing PID namespaces with other containers since version 1.12 (see https://github.com/docker/docker/pull/22481). Signed-off-by: Stepan Stipl <stepan@stipl.net>
* | | | Merge pull request #1316 from bfirsh/add-example-for-tagJoffrey F2016-11-281-0/+5
|\ \ \ \ | | | | | | | | | | Add example for tag()
| * | | | Add example for tag()Ben Firshman2016-11-281-0/+5
| | |/ / | |/| | | | | | | | | | | | | | | | | | Carrying #1120. Thanks @Faylixe! Signed-off-by: Ben Firshman <ben@firshman.co.uk>
* | | | Merge pull request #1317 from ↵Joffrey F2016-11-281-1/+5
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | bfirsh/fix-environment-variable-file-with-new-lines Fix parsing for an environment file with newlines
| * | | Fix parsing for an environment file with newlinesJon Cotton2016-11-281-1/+5
| |/ / | | | | | | | | | | | | | | | Fixes the new, purposely broken test added in the previous commit. Signed-off-by: Jon Cotton <jc@finaltransfer.net>
* | | Merge pull request #1305 from bfirsh/update-setup-pyJoffrey F2016-11-281-1/+1
|\ \ \ | | | | | | | | Update setup.py and things
| * | | Bump version to 2.0.0-devBen Firshman2016-11-281-1/+1
| |/ / | | | | | | | | | Signed-off-by: Ben Firshman <ben@firshman.co.uk>
* | | Remove support for host_config in Client.startJoffrey F2016-11-281-66/+15
|/ / | | | | | | | | | | | | Any additional arguments passed to start will raise a DeprecatedMethod (DockerException) exception. Signed-off-by: Joffrey F <joffrey@docker.com>
* | Merge pull request #1186 from bfirsh/two-point-ohJoffrey F2016-11-2233-446/+4583
|\ \ | | | | | | A new user-focused API
| * | Add helpful error for APIClient methods on ClientBen Firshman2016-11-221-0/+10
| | | | | | | | | | | | Signed-off-by: Ben Firshman <ben@firshman.co.uk>
| * | Add new user-focused APIBen Firshman2016-11-2214-30/+2297
| | | | | | | | | | | | | | | | | | See #1086 Signed-off-by: Ben Firshman <ben@firshman.co.uk>
| * | Add docstrings to low-level APIBen Firshman2016-11-2212-2/+1876
| | | | | | | | | | | | Signed-off-by: Ben Firshman <ben@firshman.co.uk>
| * | Make ping return bool instead of stringBen Firshman2016-11-221-1/+1
| | | | | | | | | | | | Signed-off-by: Ben Firshman <ben@firshman.co.uk>
| * | Rename Client to APIClientBen Firshman2016-11-223-49/+59
| | | | | | | | | | | | Signed-off-by: Ben Firshman <ben@firshman.co.uk>
| * | Remove AutoVersionClientBen Firshman2016-11-222-11/+1
| | | | | | | | | | | | | | | | | | Just do Client(version='auto'). Signed-off-by: Ben Firshman <ben@firshman.co.uk>
| * | Make docker.utils.ports a single fileBen Firshman2016-11-222-4/+0
| | | | | | | | | | | | Signed-off-by: Ben Firshman <ben@firshman.co.uk>