Skip to content

Conversation

shin-
Copy link
Contributor

@shin- shin- commented Mar 18, 2017

List of PRs / issues for this release

Features

  • Default API version has been bumped to 1.26 (Engine 1.13.1+)
  • Added support for hostname parameter in ContainerSpec and
    DockerClient.service.create
  • Added support for port range to single port in port mappings
    (e.g. 8000-8010:80)
  • Upgrade plugin:
    • Added the upgrade_plugin method to the APIClient class
    • Added the upgrade method to the Plugin class
  • Service logs:
    • Added the service_logs method to the APIClient class
    • Added the logs method to the Service class
  • Added the df method to APIClient and DockerClient

Bugfixes

  • Fixed a bug where a missing container port in a port mapping would raise
    an unexpected TypeError
  • Fixed a bug where the events method in APIClient and DockerClient
    would not respect custom headers set in config.json

shin- and others added 24 commits March 17, 2017 19:13
Signed-off-by: Joffrey F <[email protected]>
Signed-off-by: Nils Krabshuis <[email protected]>
Signed-off-by: SeungJin Oh <[email protected]>
Signed-off-by: Joffrey F <[email protected]>
In moby/moby#30870 a new
error message is displayed if the container is restarting.

To make "test_create_with_restart_policy" pass against the
above change, the test checks that the error message contains
"You cannot remove " instead of
"You cannot remove a running container"

Signed-off-by: Boaz Shuster <[email protected]>
Signed-off-by: Joffrey F <[email protected]>
"localhost:host_port:" case will raise TypeError exception directly

Catch the "TypeError" and give proper error message

* docker/utils/ports.py

Signed-off-by: Lei Gong <[email protected]>
@shin- shin- added this to the 2.2.0 milestone Mar 18, 2017
@shin- shin- merged commit b474ea2 into docker:release Mar 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants