Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1366405

Summary: [extras-rhel-7.2.7] docker-runc and runc duplication
Product: Red Hat Enterprise Linux 7 Reporter: Qian Cai <qcai>
Component: docker-latestAssignee: Lokesh Mandvekar <lsm5>
Status: CLOSED ERRATA QA Contact: atomic-bugs <atomic-bugs>
Severity: medium Docs Contact: Yoana Ruseva <yruseva>
Priority: medium    
Version: 7.2CC: bbreard, dwalsh, lsu, yruseva
Target Milestone: rcKeywords: Documentation, Extras, ZStream
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Release Note
Doc Text:
docker 1.12 uses runc as a runtime environment Since docker version 1.11, runc is used instead of libcontainer for container runtime. The docker-latest packages contain 1.12, and runc can be found in /usr/libexec/docker/docker-runc. However, docker-runc is for internal use only by docker. If you want to use the runc command, you still need the runc package installed on your system. For RHEL Atomic Host, it is part of the OSTree by default, and for Red Hat Enterprise Linux 7, it is available as a separate package. Important Red Hat does not support modifying which runc binary is used by docker.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-15 08:29:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Qian Cai 2016-08-11 21:46:00 UTC
Description of problem:
There is a docker-runc from docker-latest package and there is a runc package. It is duplication. We probably just need to maintain one the latest and greatest.

Version-Release number of selected component (if applicable):
docker-latest-1.12.0-4.el7.x86_64

Comment 2 Daniel Walsh 2016-08-12 12:16:43 UTC
No docker wants to ship these as separate packages, and I see no reason why we should not do the same.  runc can develop at a much quicker rate the docker-runc, so we should keep them separate until they stabilize.  I think docker-runc should be shipped as /usr/libexec/docker/docker-runc, so users know not to use it directly.

Comment 3 Qian Cai 2016-08-12 14:12:00 UTC
The concern is that users may setup the docker to use the latest runc as a runtime  instead of docker-runc in order to use some future new features like running runc as an unprivileged user etc that won't necessary be back-ported to docker-runc.

Comment 4 Daniel Walsh 2016-08-12 16:06:03 UTC
If the user specifies and alternate runtime, then it is up to the user to make sure it works.  Not something we have to support.

Comment 8 Luwen Su 2016-09-07 06:33:21 UTC
The docker-runc has in the location per comment2 in 
# locate docker-runc
/usr/libexec/docker/docker-runc
# rpm -q docker-latest
docker-latest-1.12.1-2.el7.x86_64

move to verification

Comment 10 errata-xmlrpc 2016-09-15 08:29:17 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/RHBA-2016-1829.html