SUSE-RU-2016:0509-1: Recommended update for python-docker-py

sle-updates at lists.suse.com sle-updates at lists.suse.com
Thu Feb 18 14:11:52 MST 2016


   SUSE Recommended Update: Recommended update for python-docker-py
______________________________________________________________________________

Announcement ID:    SUSE-RU-2016:0509-1
Rating:             low
References:         #954486 #954690 
Affected Products:
                    SUSE OpenStack Cloud Compute 5
                    SUSE Linux Enterprise Module for Public Cloud 12
                    SUSE Linux Enterprise Module for Containers 12
______________________________________________________________________________

   An update that has two recommended fixes can now be
   installed.

Description:


   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.


Patch Instructions:

   To install this SUSE Recommended Update use YaST online_update.
   Alternatively you can run the command listed for your product:

   - SUSE OpenStack Cloud Compute 5:

      zypper in -t patch SUSE-SLE12-CLOUD-5-2016-288=1

   - SUSE Linux Enterprise Module for Public Cloud 12:

      zypper in -t patch SUSE-SLE-Module-Public-Cloud-12-2016-288=1

   - SUSE Linux Enterprise Module for Containers 12:

      zypper in -t patch SUSE-SLE-Module-Containers-12-2016-288=1

   To bring your system up-to-date, use "zypper patch".


Package List:

   - SUSE OpenStack Cloud Compute 5 (noarch):

      python-backports.ssl_match_hostname-3.4.0.2-8.1
      python-docker-py-1.5.0-23.1
      python-websocket-client-0.32.0-10.1

   - SUSE Linux Enterprise Module for Public Cloud 12 (noarch):

      python-backports.ssl_match_hostname-3.4.0.2-8.1
      python-docker-py-1.5.0-23.1
      python-websocket-client-0.32.0-10.1

   - SUSE Linux Enterprise Module for Containers 12 (noarch):

      python-backports.ssl_match_hostname-3.4.0.2-8.1
      python-docker-py-1.5.0-23.1
      python-websocket-client-0.32.0-10.1


References:

   https://bugzilla.suse.com/954486
   https://bugzilla.suse.com/954690



More information about the sle-updates mailing list