shield Recommended update for python-docker-py
SUSE-SLE-Module-Containers-12-2016-288


The python-docker-py module has been updated to version 1.5.0, which brings several fixes and enhancements. The following functionalities have been deprecated: - Client.execute has been removed in favor of Client.exec_create and Client.exec_start. - Passing host config in the Client.start method is now deprecated. Please use the host_config in Client.create_container instead. The following new features have been implemented: - Added support for the networking API introduced in Docker 1.9.0. - Added support for the volumes API introduced in Docker 1.9.0. - Added support for the group_add parameter in create_host_config. - Added support for the CPU CFS (cpu_quota and cpu_period) parameteres in create_host_config. - Added support for the archive API endpoint (Client.get_archive, Client.put_archive). - Added support for ps_args parameter in Client.top. - Added utils.parse_env_file to support env-files. - Added support for arbitrary log drivers. - Added support for URL paths in the docker host URL (base_url). - The extra_hosts parameter in host config can now also be provided as a list. - Added support for memory_limit and memswap_limit in host config to comply with recent deprecations. - Added support for volume_driver in Client.create_container. - Added support for advanced modes in volume binds (using the mode key). - Added support for decode in Client.build (decodes JSON stream on the fly). - docker-py will now look for login configuration under the new config path, and fall back to the old ~/.dockercfg path if not present. - Added support for privileged param in Client.exec_create (only available in API >= 1.19). - Volume binds can now also be specified as a list of strings. - Added exec_create, exec_start, exec_inspect and exec_resize to client, accurately mirroring the Exec API. - Added auth_config param to Client.pull (allows to use one-off credentials for this pull request). - Added support for ipc_mode in host config. - Added support for the log_config param in host config. - Added support for the ulimit param in host config. - Added support for container resource limits in Client.build. - When a resource identifier (image or container ID) is passed to a Client method, we now check for None values to avoid crashing (now raises docker.errors.NullResource). - Added tools to parse port ranges inside the new docker.utils.ports package. - Added a version_info attribute to the docker package. For a comprehensive list of changes please refer to the Release Notes at https://github.com/docker/docker-py/blob/master/docs/change_log.md#150 This update also bundles a newer version of python-websocket-client (0.32.0), which is a requirement of python-docker-py 1.5.0, and python-backports-ssl_match_hostname, which is a new runtime requirement of python-websocket-client.

  • Release Date
    Feb 18 2016
  • References
    Bugzilla: 954690, 954486
  • Type
    recommended
  • Severity
    low

cloud_download Downloads

Containers Module 12 x86_64