-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
4.0.0 release #2331
4.0.0 release #2331
Conversation
Resync release
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
Update docstring for auth_config parameter in pull, push, and inspect_distribution Signed-off-by: Joffrey F <joffrey@docker.com>
…ls.containers to the docstring for client.containers.run() Signed-off-by: wvaske <wvaske@micron.com>
Signed-off-by: Hannes Ljungberg <hannes@5monkeys.se>
…_container_run_documentation Added missing options from RUN_HOST_CONFIG_KWARGS list in docker.models.containers to the docstring for client.containers.run()
Make PlacementPreference build correct context
1.30 -> 1.35 Signed-off-by: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com>
Fix descriptions of the default API version in docs
Signed-off-by: p1100i <p1100i@gmx.com>
Fix `network_mode` API documentation wording
Signed-off-by: Leks <alexsmir@list.ru>
Signed-off-by: Hannes Ljungberg <hannes@5monkeys.se>
This is because default the number of connections in OpenSSH is 10 Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
- Adds a BaseHTTPAdapter with a close method to ensure that the pools is clean on close() - Makes SSHHTTPAdapter reopen a closed connection when needed like the others Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
Signed-off-by: Joffrey F <joffrey@docker.com>
[4.0] Terminate support for Python 3.3 (EOL in 2018)
Return API response on service update
Signed-off-by: Hannes Ljungberg <hannes@5monkeys.se>
Signed-off-by: Hannes Ljungberg <hannes@5monkeys.se>
Signed-off-by: Hannes Ljungberg <hannes@5monkeys.se>
Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
Signed-off-by: Yincen Xia <philip980507@msn.cn>
Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
Update changelog and next milestone
…net size. Signed-off-by: Barry Shapira <barry@whiterabbit.ai>
Also corrected a documentation error: the default API version from constants is currently 1.35, not 1.30 as was sometimes listed. Signed-off-by: Barry Shapira <barry@whiterabbit.ai> Removed accidental whitespace. Signed-off-by: Barry Shapira <barry@whiterabbit.ai>
The integration tests require restarting the swarm once for each test. I had done so manually with self.init_swarm(force_new_cluster=True) but that wasn't resetting the swarm state correctly. The usual test teardown procedure cleans up correctly. Signed-off-by: Barry Shapira <barry@whiterabbit.ai>
Following #2201 (review) Signed-off-by: Hannes Ljungberg <hannes@5monkeys.se> Co-authored-by: Hannes Ljungberg <hannes@5monkeys.se> Co-authored-by: bluikko <14869000+bluikko@users.noreply.github.com>
Fixes #2271 Signed-off-by: Hannes Ljungberg <hannes@5monkeys.se>
Add support for swarm DataPathAddr
Return node id on swarm init
Signed-off-by: Joffrey F <joffrey@docker.com>
Signed-off-by: Hannes Ljungberg <hannes@5monkeys.se>
Update some test dependencies / default values with newer versions
Signed-off-by: Joffrey F <joffrey@docker.com>
Signed-off-by: Joffrey F <joffrey@docker.com>
Add support for rotate_manager_unlock_key
Signed-off-by: Joffrey F <joffrey@docker.com>
Signed-off-by: Joffrey F <f.joffrey@gmail.com>
Change use_config_proxy default value to True to match CLI behavior
End Python 3.4 support
This test is quite flaky on ssl integration test Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
Signed-off-by: Joffrey F <joffrey@docker.com>
Signed-off-by: Joffrey F <joffrey@docker.com>
Please sign your commits following these rules: $ git clone -b "4.0.0-release" git@github.com:docker/docker-py.git somewhere
$ cd somewhere
$ git rebase -i HEAD~842354566592
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f Amending updates the existing PR. You DO NOT need to open a new one. |
Signed-off-by: Joffrey F <joffrey@docker.com>
@ulyssessouza Do you want to give this one final glance before I push it out the door? 🐱 |
@shin- Sure! |
For me, the only thing missing is #2339. Otherwise LGTM |
Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
4.0.0 release Signed-off-by: Joffrey F <joffrey@docker.com>
List of PRs / issues for this release
Breaking changes
APIClient.update_service
,APIClient.init_swarm
, andDockerClient.swarm.init
now return adict
from the API's response bodyAPIClient.build
andDockerClient.images.build
, theuse_config_proxy
parameter now defaults to True
init_path
is no longer a valid parameter forHostConfig
Features
SCTP
ports for port mappingsContainerSpec
s now support theinit
parameterDockerClient.swarm.init
andAPIClient.init_swarm
now support thedata_path_addr
parameterAPIClient.update_swarm
andDockerClient.swarm.update
now support therotate_manager_unlock_key
parameterAPIClient.update_service
returns the API's response body as adict
APIClient.init_swarm
, andDockerClient.swarm.init
now return the API'sresponse body as a
dict
Bugfixes
PlacementPreference
instances to produce a valid API typebuildargs
inbuild
could causethe library to attempt accessing attributes of a
None
valuevolume_driver
parameter inDockerClient.containers.create
would result in an errorAPIClient.inspect_distribution
now correctly sets the authenticationheaders on the request, allowing it to be used with private repositories
This change also applies to
DockerClient.get_registry_data