-
Notifications
You must be signed in to change notification settings - Fork 1.7k
3.0.0 release #1891
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
Merged
Merged
3.0.0 release #1891
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In before, image.load returns what Docker API returns, which is a text stream. This commits propose an improvement for returning more useful information, which is a list of Image objects being loaded. Signed-off-by: Hongbin Lu <[email protected]>
Signed-off-by: HuyNQ <[email protected]>
Signed-off-by: Boik <[email protected]>
Signed-off-by: Joffrey F <[email protected]>
Don't attempt to retrieve container's stderr if `auto_remove` was set
Signed-off-by: Joffrey F <[email protected]>
Signed-off-by: Joffrey F <[email protected]>
Signed-off-by: Felipe Ruhland <[email protected]>
Signed-off-by: Felipe Ruhland <[email protected]>
Signed-off-by: Johannes Postler <[email protected]>
Signed-off-by: Felipe Ruhland <[email protected]>
Signed-off-by: Joffrey F <[email protected]>
Ignore dockerignore lines that contain only whitespace
Signed-off-by: Viktor Adam <[email protected]>
Fix service network regression on API < 1.25
Signed-off-by: Joffrey F <[email protected]>
Python 3.6 support
Signed-off-by: Joffrey F <[email protected]>
Signed-off-by: Joffrey F <[email protected]>
Shift test matrix forward
Detects if python has an up-to-date version of OpenSSL that supports TLSv1.2. If it does, choose that as the default TLS version, instead of TLSv1. The Docker Engine and the majority of other Docker API servers should suppot TLSv1.2, and if they do not, the user can manually set a different (lower) version. Signed-off-by: Drew Erny <[email protected]>
Signed-off-by: Joffrey F <[email protected]>
Added scale method to the Service model.
…entation Switch ports in documentation for EndpointSpec (#1516)
Add support for experimental platform flag in build and pull
Change default TLS version
Signed-off-by: Chuck McCallum <[email protected]>
Use pytest asserts
Signed-off-by: Joffrey F <[email protected]>
Properly support pulling all tags in DockerClient.images.pull
Signed-off-by: Fumiaki Matsushima <[email protected]>
Signed-off-by: Joffrey F <[email protected]>
Add support for detachKeys configuration
Signed-off-by: Joffrey F <[email protected]>
…aration Improve separation between auth_configs and general_configs
Signed-off-by: Joffrey F <[email protected]>
Add support for publish mode for endpointspec ports
Signed-off-by: Joffrey F <[email protected]>
Signed-off-by: Joffrey F <[email protected]>
Signed-off-by: Joffrey F <[email protected]>
Cleanup / remove deprecated features
Correctly parse volumes with Windows paths
for consistency with APIClient naming Signed-off-by: Joffrey F <[email protected]>
Rename `name` parameter in `pull` method to `repository`
Signed-off-by: Joffrey F <[email protected]>
Update wait to always return a dict
Signed-off-by: Joffrey F <[email protected]>
Signed-off-by: Joffrey F <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
List of PRs / issues for this release
Breaking changes
APIClient.copyhas been removed. Users should useAPIClient.get_archiveinstead.
APIClient.inserthas been removed. Users may useAPIClient.put_archivecombined with
APIClient.committo replicate the method's behavior.utils.ping_registryandutils.pinghave been removed.streaminAPIClient.buildcpu_shares,cpuset,dns,mem_limit,memswap_limit,volume_driver,volumes_frominAPIClient.create_container. These areall replaced by their equivalent in
create_host_configinsecure_registryinAPIClient.login,APIClient.pull,APIClient.push,DockerClient.images.pushandDockerClient.images.pullvizinAPIClient.imagesendpoint_configinAPIClient.create_serviceandAPIClient.update_serviceis nowendpoint_specnameinDockerClient.images.pullis nowrepositoryAPIClient.waitandContainer.waitnow return adictrepresentingthe API's response instead of returning the status code directly.
DockerClient.images.loadnow returns a list ofImageobjects that havefor the images that were loaded, instead of a log stream.
Container.exec_runnow returns a tuple of (exit_code, output) instead ofjust the output.
DockerClient.images.buildnow returns a tuple of (image, build_logs)instead of just the image object.
APIClient.export,APIClient.get_archiveandAPIClient.get_imagenowreturn generators streaming the raw binary data from the server's response.
DockerClient.images.pullnow returns a list ofImages associated to the pulled repository instead of just thelatestimage.
Features
scalemethod to theServicemodel ; this method is a shorthandthat calls
update_servicewith the required number of replicasplatformparameter inAPIClient.build,DockerClient.images.build,APIClient.pullandDockerClient.images.pulluntilparameter inAPIClient.logsandContainer.logsworkdirargument inAPIClient.exec_createandContainer.exec_runconditionargument inAPIClient.waitandContainer.waitEndpointSpecusingthe
{published_port: (target_port, protocol, publish_mode)}syntax.isolationparameter inContainerSpec,DockerClient.services.createandService.updateAPIClient.attach_socket,APIClient.exec_createnow allow specifying adetach_keyscombination. If unspecified, the value from theconfig.jsonfile will be used
Bugfixes
.dockerignorewould break buildson Windows
build to fail
incorrect parsing in
DockerClient.containers.runnetworksdata provided tocreate_serviceandupdate_servicewould be sent incorrectly to the Engine with API < 1.25latesttag using theDockerClientwill no longer raise aNotFoundexception