summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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 #1315 from bfirsh/rename-docker-py-to-docker-sdk-pythonJoffrey F2016-12-029-37/+37
|\ | | | | Start to rename docker-py to docker-sdk-python
| * Start to rename docker-py to docker-sdk-pythonBen Firshman2016-11-289-37/+37
| | | | | | | | | | | | | | | | | | | | 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-022-2/+9
|\ \ | | | | | | Add options to IPAMConfig
| * | Add options to IPAMConfigwalkerlee-masterJoffrey F2016-12-021-1/+8
| | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * | Merge branch 'master' of https://github.com/walkerlee/docker-py into ↵Joffrey F2016-12-021-1/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | walkerlee-master Signed-off-by: Joffrey F <joffrey@docker.com>
| | * | Add docker network IPAM options parameterWalker Lee2016-10-274-4/+11
| | | | | | | | | | | | | | | | Signed-off-by: Walker Lee <walkerlee.tw@gmail.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 pull request #1329 from docker/manics-patch-1Joffrey F2016-12-023-2/+22
|\ \ \ \ \ | |_|/ / / |/| | | | Use format_environment to convert env in ContainerSpec
| * | | | Merge branch 'patch-1' of https://github.com/manics/docker-py into ↵manics-patch-1Joffrey F2016-12-023-2/+22
| |\ \ \ \ |/ / / / / | | | | | | | | | | | | | | | | | | | | manics-patch-1 Signed-off-by: Joffrey F <joffrey@docker.com>
| * | | | Add test for creating service with envSimon Li2016-11-111-0/+16
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Simon Li <orpheus+devel@gmail.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 #1324 from docker/requests_2.12.2Joffrey F2016-12-021-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Exclude requests==2.12.2 from dependencies
| * | | | | Exclude requests==2.12.2 from dependenciesrequests_2.12.2Joffrey F2016-11-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | | | | | Merge pull request #1328 from docker/ssladapter_transport_moduleBen Firshman2016-12-025-8/+8
|\ \ \ \ \ \ | | | | | | | | | | | | | | Move ssladapter to transport module
| * | | | | | Move ssladapter to transport modulessladapter_transport_moduleJoffrey F2016-12-015-8/+8
| | |_|/ / / | |/| | | | | | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | | | | | Merge pull request #1319 from docker/config_typesBen Firshman2016-12-0218-973/+999
|\ \ \ \ \ \ | |/ / / / / |/| | | | | Move config type creation from docker.utils functions to classes in docker.types
| * | | | | Move config type creation from docker.utils functions to classes inconfig_typesJoffrey F2016-12-0119-974/+1000
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | docker.types Signed-off-by: Joffrey F <joffrey@docker.com>
* | | | | | Client -> DockerClientJoffrey F2016-12-011-1/+1
|/ / / / / | | | | | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | | | | Merge pull request #1303 from aanand/helpful-containers-warningBen Firshman2016-12-012-0/+17
|\ \ \ \ \ | | | | | | | | | | | | 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-282-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-3014-287/+206
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | Rename Client -> DockerClient
| * | | | | Rename Client -> DockerClientdocker_clientJoffrey F2016-11-2814-287/+206
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-292-20/+107
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Bodnar2016-11-261-1/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Brandon Bodnar <bodnarbm@gmail.com>
| * | | | | | 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-283-10/+16
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Allow custom pid mode
| * | | | | | | Re-enable pid_mode checks for API < 1.24stepanstipl-allow_custom_pid_modeJoffrey F2016-11-283-4/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * | | | | | | Allow custom PID mode for the containerStepan Stipl2016-11-282-6/+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 #1309 from bfirsh/remove-maintainer-from-dockerfilesJoffrey F2016-11-284-11/+0
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Remove MAINTAINER from Dockerfiles
| * | | | | | | Remove MAINTAINER from DockerfilesBen Firshman2016-11-244-11/+0
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It was deprecated in https://github.com/docker/docker/pull/25466 (Sorry @shin- ;) Signed-off-by: Ben Firshman <ben@firshman.co.uk>
* | | | | | | 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-282-2/+14
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | 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-282-2/+14
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes the new, purposely broken test added in the previous commit. Signed-off-by: Jon Cotton <jc@finaltransfer.net>
* | | | | | Merge pull request #1314 from bfirsh/specify-encoding-for-readmeJoffrey F2016-11-281-1/+2
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | Specify encoding when loading readme
| * | | | | Specify encoding when loading readmeBen Firshman2016-11-281-1/+2
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Loading readme fails when system locale is not utf-8. Potentially replaces #1313 Signed-off-by: Ben Firshman <ben@firshman.co.uk>
* | | | | Merge pull request #1305 from bfirsh/update-setup-pyJoffrey F2016-11-283-11/+8
|\ \ \ \ \ | | | | | | | | | | | | 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>
| * | | | | Use find_packages in setup.pyBen Firshman2016-11-281-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It was missing docker.models, and this will fix it forever more. Signed-off-by: Ben Firshman <ben@firshman.co.uk>
| * | | | | Update setup.py detailsBen Firshman2016-11-281-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move from "docker-py" package to "docker". Signed-off-by: Ben Firshman <ben@firshman.co.uk>
| * | | | | Update readme to say "Docker Engine API"Ben Firshman2016-11-281-1/+1
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | It's not the Docker API. Signed-off-by: Ben Firshman <ben@firshman.co.uk>
* | | | | Merge pull request #822 from docker/no_start_configBen Firshman2016-11-282-101/+26
|\ \ \ \ \ | |/ / / / |/| | | | Remove support for host_config in Client.start
| * | | | Remove support for host_config in Client.startJoffrey F2016-11-282-101/+26
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | Any additional arguments passed to start will raise a DeprecatedMethod (DockerException) exception. Signed-off-by: Joffrey F <joffrey@docker.com>
* | | | Merge pull request #1307 from docker/bfirsh_maintainerAanand Prasad2016-11-281-0/+6
|\ \ \ \ | |/ / / |/| | | Add Ben to MAINTAINERS
| * | | Add Ben to MAINTAINERSbfirsh_maintainerJoffrey F2016-11-231-0/+6
|/ / / | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | | Merge pull request #1306 from bfirsh/mmmmmm-vector-graphicsJoffrey F2016-11-231-1/+1
|\ \ \ | | | | | | | | Use SVG for build status badge