Bug 1359199
Summary: | Race condition using docker exec with tty | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Andy Goldstein <agoldste> |
Component: | docker | Assignee: | Lokesh Mandvekar <lsm5> |
Status: | CLOSED ERRATA | QA Contact: | atomic-bugs <atomic-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.2 | CC: | lsm5, lsu |
Target Milestone: | rc | Keywords: | Extras, ZStream |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-08-03 20:56:57 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
Andy Goldstein
2016-07-22 13:43:44 UTC
Wors well for me in docker-1.10.3-46.el7.8.x86_64, I wait for a moment to see the ouput, but the ``while`` ends. # while true; do x=$(docker exec -t c9 cat /etc/hosts); echo ${x} ;if [ -z "${x}" ]; then break; fi; done 172.17.0.2 7aeb15a8df81host ip6-loopback 172.17.0.2 7aeb15a8df81host ip6-loopback 172.17.0.2 7aeb15a8df81host ip6-loopback 172.17.0.2 7aeb15a8df81host ip6-loopback 172.17.0.2 7aeb15a8df81host ip6-loopback 172.17.0.2 7aeb15a8df81host ip6-loopback 172.17.0.2 7aeb15a8df81host ip6-loopback 172.17.0.2 7aeb15a8df81host ip6-loopback 172.17.0.2 7aeb15a8df81host ip6-loopback 172.17.0.2 7aeb15a8df81host ip6-loopback 172.17.0.2 7aeb15a8df81host ip6-loopback 172.17.0.2 7aeb15a8df81host ip6-loopback 172.17.0.2 7aeb15a8df81host ip6-loopback 172.17.0.2 7aeb15a8df81host ip6-loopback 172.17.0.2 7aeb15a8df81host ip6-loopback ..... 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-1446.html |