Bug 1330366 - [extras-rhel-7.2.4] docker-latest should Requires: docker-common
Summary: [extras-rhel-7.2.4] docker-latest should Requires: docker-common
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: docker-latest
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: rc
: ---
Assignee: Lokesh Mandvekar
QA Contact: atomic-bugs@redhat.com
Yoana Ruseva
URL:
Whiteboard:
Depends On: 1328219
Blocks: docker-1.10 1305185
TreeView+ depends on / blocked
 
Reported: 2016-04-26 03:35 UTC by Lokesh Mandvekar
Modified: 2016-05-12 14:56 UTC (History)
10 users (show)

Fixed In Version: docker-latest-1.10.3-13.el7
Doc Type: Enhancement
Doc Text:
Feature: /usr/bin/docker script calls /usr/bin/docker-latest by default if 'docker' is not installed Reason: Users of docker-latest (or docker) only want to use the 'docker' command without needing to constantly check which version of docker daemon is actually being run Result: /usr/bin/docker and /etc/sysconfig/docker provided by the docker-common package allow the admin to configure which docker client binary gets called. /usr/bin/docker will call /usr/bin/docker-latest by default when 'docker' is not installed. If 'docker' is installed, /usr/bin/docker will call /usr/bin/docker-current by default, unless DOCKERBINARY is set to /usr/bin/docker-latest in /etc/sysconfig/docker
Clone Of: 1328219
Environment:
Last Closed: 2016-05-12 14:56:06 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2016:1057 0 normal SHIPPED_LIVE new packages: docker-latest 2016-05-12 18:51:24 UTC

Description Lokesh Mandvekar 2016-04-26 03:35:04 UTC
'docker' will provide a new subpackage 'docker-common' which will have a /usr/bin/docker (pointing to /usr/bin/docker-current (1.9.1) or /usr/bin/docker-latest (1.10.3) chosen via /etc/sysconfig/docker (also in docker-common).

docker-latest should Requires: docker-common so users can continue their standard docker usage for either docker version.

Comment 4 Daniel Walsh 2016-04-26 12:10:02 UTC
What is the default for docker-common?  What happens if I only install docker-latest and don't install docker?

Comment 5 Daniel Walsh 2016-04-26 13:17:23 UTC
This kind of breaks the rpm checking, since it would be better to see that docker is using docker-latest rather then docker-common.  I don't think this should block us from moving ahead, but we should open a bugzilla on this.

Comment 6 Lokesh Mandvekar 2016-05-10 18:56:40 UTC
Dan, when only docker-latest is installed, /usr/bin/docker will call /usr/bin/docker-latest by default.

Comment 7 Lokesh Mandvekar 2016-05-10 18:58:15 UTC
lsm5 @ rhel7 : ~ $ rpm -q docker docker-latest
package docker is not installed
docker-latest-1.10.3-22.el7.x86_64
lsm5 @ rhel7 : ~ $ sudo docker version
Client:
 Version:         1.10.3
 API version:     1.22
 Package version: docker-common-1.9.1-40.el7.x86_64
 Go version:      go1.4.2
 Git commit:      86bbf84/1.10.3
 Built:           
 OS/Arch:         linux/amd64

Server:
 Version:         1.10.3
 API version:     1.22
 Package version: docker-common-1.9.1-40.el7.x86_64
 Go version:      go1.4.2
 Git commit:      86bbf84/1.10.3
 Built:           
 OS/Arch:         linux/amd64
lsm5 @ rhel7 : ~ $

Comment 8 Daniel Walsh 2016-05-10 19:07:05 UTC
Excellent.

Comment 10 errata-xmlrpc 2016-05-12 14:56:06 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2016-1057.html


Note You need to log in before you can comment on or make changes to this bug.