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-latest | Assignee: | Lokesh Mandvekar <lsm5> |
| Status: | CLOSED ERRATA | QA Contact: | atomic-bugs <atomic-bugs> |
| Severity: | medium | Docs Contact: | Yoana Ruseva <yruseva> |
| Priority: | medium | ||
| Version: | 7.2 | CC: | bbreard, dwalsh, lsu, yruseva |
| Target Milestone: | rc | Keywords: | 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
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. 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. 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. 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 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 |