Bug 1216265
Summary: | docker exec -it bash cannot start a shell session | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | robberphex |
Component: | docker | Assignee: | Lokesh Mandvekar <lsm5> |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 22 | CC: | adimania, admiller, dwalsh, golang-updates, hushan.jia, ichavero, jcajka, jchaloup, jperrin, lsm5, mattdm, mgoldman, miminar, s, stefw, thrcka, vbatts, znmeb |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-06-02 18:17: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
robberphex
2015-04-29 00:36:47 UTC
Lokesh can you verify this bug? I have this too - it's some kind of privilege / permissions issue. If you add '--privileged' to the 'docker run' command it works on my machine: # docker run -d docker.io/fedora:22 sleep infinity 4972ffef18962f5efea1d01788893434e49816c15168bc8749bca4e4e39c5a1a # docker exec -it 4972ffef18962f5efea1d01788893434e49816c15168bc8749bca4e4e39c5a1a /bin/bash goes to host root prompt, but # docker run -d --privileged docker.io/fedora:22 sleep infinity a571ab4f15fe1c05f03861e4995f364c2a080854b9aa66312075f3487aa9a798 # docker exec -it a571ab4f15fe1c05f03861e4995f364c2a080854b9aa66312075f3487aa9a798 /bin/bash gives me a prompt inside the container: [root@a571ab4f15fe /]# This might be a duplicate of Bug 1226374 *** Bug 1226374 has been marked as a duplicate of this bug. *** This should be fixed by an updated docker-selinux package in docker-1.6.2 *** This bug has been marked as a duplicate of bug 1221379 *** |