Joffrey F
7b8809eb07
Bump version and update Changelog
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-12-12 14:29:13 -08:00
Joffrey F
95413dd176
Merge pull request #1332 from docker/docker_sdk_rename
...
Rename all meaningful occurrences of docker-py to docker-sdk-python
2016-12-12 13:53:27 -08:00
Joffrey F
769ca5a76a
Rename non-URL occurrences of docker-py to "Docker SDK for Python"
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-12-12 13:28:49 -08:00
Joffrey F
c6d1c2dc84
Merge pull request #1342 from docker/jenkinsfile
...
Add Jenkinsfile for integration tests matrix
2016-12-08 16:42:38 -08:00
Joffrey F
48c5cd82fc
Prevent Swarm address conflicts
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-12-08 14:50:05 -08:00
Joffrey F
3fb48d111b
Add Jenkinsfile for integration tests matrix
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-12-08 12:12:01 -08:00
Flavio Curella
6f239fbf29
Make resources hashable, so that they can be added to `set`s
...
Signed-off-by: Flavio Curella <flavio.curella@gmail.com>
2016-12-08 12:19:30 -06:00
徐俊杰
b9c48dca2c
Scope is added in volume after docker 1.12
...
Signed-off-by: pacoxu <paco.xu@daocloud.io>
add ut test for volume scope and no specified name create
Signed-off-by: Paco Xu <paco.xu@daocloud.io>
try to fix ut failure of volume creation
Signed-off-by: Paco Xu <paco.xu@daocloud.io>
try to fix ut failure of volume creation
Signed-off-by: Paco Xu <paco.xu@daocloud.io>
Scope is added in volume after docker 1.12
Signed-off-by: pacoxu <paco.xu@daocloud.io>
Scope is added in volume after docker 1.12
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2016-12-08 10:31:44 +08:00
Joffrey F
d024b1bd78
Merge pull request #1338 from docker/remove_node
...
Implement swarm node removal
2016-12-07 15:37:17 -08:00
Joffrey F
281b5558b5
Merge pull request #1340 from docker/dnephin-add-attachable
...
Add attachable option in create_network
2016-12-07 15:36:43 -08:00
Joffrey F
738cfdcdf9
Update code and tests for Engine 1.13 compatibility
...
Makefile now runs tests against Docker 1.13 RC
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-12-07 14:51:14 -08:00
Joffrey F
c239e40504
Implement swarm node removal
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-12-07 12:24:18 -08:00
Pavel Sviderski
2b88e9cddb
increase logs performance, do not copy bytes object
...
Signed-off-by: Pavel Sviderski <pavel@psviderski.name>
2016-12-07 18:12:12 +08:00
Joffrey F
b71f34e948
Fix typo in create_network
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-12-06 11:26:53 -08:00
Ryan Belgrave
16d0f96bc5
Name is not required when creating a docker volume
...
Signed-off-by: Ryan Belgrave <Ryan.Belgrave@target.com>
2016-12-06 10:46:02 -06:00
Ben Firshman
9050e1c6e0
Merge pull request #1339 from docker/min_version_1.21
...
Minimum version 1.24 -> 1.21
2016-12-06 15:50:20 +01:00
Joffrey F
993001bc49
Minimum version 1.24 -> 1.21
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-12-05 16:53:21 -08:00
Daniel Nephin
2b85fbf120
Add attachable.
...
Signed-off-by: Daniel Nephin <dnephin@gmail.com>
2016-12-05 17:54:18 -05:00
Ben Firshman
dd8ad21c88
Merge pull request #1272 from TomasTomecek/1271-fix-detach-in-exec-start
...
exec: fix running with detach=True
2016-12-05 11:00:10 +00:00
Joffrey F
c02493cf18
Merge pull request #1331 from aanand/fix-auth-config-path-windows
...
Fix auth config path on Windows
2016-12-02 18:07:08 -08:00
Joffrey F
d56b2d3dc8
Merge pull request #1315 from bfirsh/rename-docker-py-to-docker-sdk-python
...
Start to rename docker-py to docker-sdk-python
2016-12-02 15:20:34 -08:00
Joffrey F
32cd0161b6
Merge pull request #1330 from docker/walkerlee-master
...
Add options to IPAMConfig
2016-12-02 15:18:41 -08:00
Joffrey F
fbc9f9b5e9
Merge pull request #1327 from docker/compose4171_build_auth_headers
...
Properly fill out auth headers in APIClient.build when using a credstore
2016-12-02 15:08:48 -08:00
Joffrey F
3fe014475c
Merge pull request #1329 from docker/manics-patch-1
...
Use format_environment to convert env in ContainerSpec
2016-12-02 15:08:27 -08:00
Joffrey F
1d59aeca4b
Add options to IPAMConfig
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-12-02 15:04:05 -08:00
Joffrey F
fd4c01aa99
Merge branch 'master' of https://github.com/walkerlee/docker-py into walkerlee-master
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-12-02 14:57:57 -08:00
Joffrey F
88b733b0f4
Merge branch 'patch-1' of https://github.com/manics/docker-py into manics-patch-1
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-12-02 14:50:40 -08:00
Joffrey F
9f2f93de0e
Merge pull request #1324 from docker/requests_2.12.2
...
Exclude requests==2.12.2 from dependencies
2016-12-02 11:27:03 -08:00
Aanand Prasad
fb4969f744
Fix auth config path on Windows
...
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>
2016-12-02 18:02:09 +00:00
Ben Firshman
dfa4b76989
Merge pull request #1328 from docker/ssladapter_transport_module
...
Move ssladapter to transport module
2016-12-02 14:44:03 +00:00
Ben Firshman
ff6601cf64
Merge pull request #1319 from docker/config_types
...
Move config type creation from docker.utils functions to classes in docker.types
2016-12-02 14:35:43 +00:00
Joffrey F
4539644667
Move ssladapter to transport module
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-12-01 18:04:40 -08:00
Joffrey F
d042c6aeda
Properly fill out auth headers in APIClient.build when using
...
a credentials store
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-12-01 18:04:15 -08:00
Joffrey F
01c33c0f68
Client -> DockerClient
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-12-01 18:02:16 -08:00
Joffrey F
993f298e85
Move config type creation from docker.utils functions to classes in
...
docker.types
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-12-01 16:06:41 -08:00
Ben Firshman
e7d78d10f6
Merge pull request #1303 from aanand/helpful-containers-warning
...
Show a helpful warning when people try to call `client.containers()`
2016-12-01 11:11:46 +00:00
Joffrey F
239673a51c
Merge pull request #1308 from docker/docker_client
...
Rename Client -> DockerClient
2016-11-30 15:30:40 -08:00
Joffrey F
176346bd95
Exclude requests==2.12.2 from dependencies
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-11-30 15:23:41 -08:00
Tomas Tomecek
515db1f6fd
exec: fix running with detach=True
...
Fixes #1271
Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
2016-11-29 16:04:52 +01:00
Ben Firshman
6a16edee3e
Merge pull request #1277 from bodnarbm/do-not-traverse-ignored-directories-with-no-potential-exceptions
...
Do not traverse excluded directories that are not prefixes of dockerignore exceptions.
2016-11-29 10:09:43 +00:00
Joffrey F
f5ac10c469
Rename Client -> DockerClient
...
Replace references to old Client with APIClient
Moved contents of services.md to appropriate locations
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-11-28 15:28:04 -08:00
Joffrey F
52376e4b24
Merge pull request #1250 from mmerickel/fix/1211
...
do not assume that read will consume the number of bytes requested
2016-11-28 14:00:32 -08:00
Joffrey F
9643253c50
Merge pull request #1297 from docker/stepanstipl-allow_custom_pid_mode
...
Allow custom pid mode
2016-11-28 14:00:07 -08:00
Joffrey F
75e9d357f7
Merge pull request #1309 from bfirsh/remove-maintainer-from-dockerfiles
...
Remove MAINTAINER from Dockerfiles
2016-11-28 13:14:40 -08:00
Joffrey F
115f39e96e
Merge pull request #1316 from bfirsh/add-example-for-tag
...
Add example for tag()
2016-11-28 13:14:02 -08:00
Joffrey F
4e08a5cb9e
Merge pull request #1317 from bfirsh/fix-environment-variable-file-with-new-lines
...
Fix parsing for an environment file with newlines
2016-11-28 12:06:38 -08:00
Joffrey F
44e57fb95d
Re-enable pid_mode checks for API < 1.24
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2016-11-28 12:01:25 -08:00
Aanand Prasad
8c27dd5233
Show a helpful warning when people try to call `client.containers()`
...
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>
2016-11-28 19:43:49 +00:00
Stepan Stipl
7ef48c3769
Allow custom PID mode for the container
...
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>
2016-11-28 11:42:00 -08:00
Jon Cotton
4a7c772daf
Fix parsing for an environment file with newlines
...
Fixes the new, purposely broken test added in the previous commit.
Signed-off-by: Jon Cotton <jc@finaltransfer.net>
2016-11-28 19:41:13 +00:00