https://bugzilla.redhat.com/show_bug.cgi?id=1046469
Bug ID: 1046469 Summary: docker privileged mode with cmd /sbin/init - agetty & high cpu Product: Fedora Version: 20 Component: docker-io Assignee: lsm5@redhat.com Reporter: fortuik@gmail.com QA Contact: extras-qa@fedoraproject.org CC: golang@lists.fedoraproject.org, lsm5@redhat.com, mattdm@redhat.com, mgoldman@redhat.com, skottler@redhat.com, vbatts@redhat.com
Description of problem: docker containers in privileged mode mess with the host agetty and produce very hicht cpu load
Version-Release number of selected component (if applicable): Fedora 20 Docker 0.7.1, 0.7.2
How reproducible: docker run -privileged -d mattdm/fedora:latest /sbin/init
Actual results: docker container runs cpu load is very high - agetty stopping the container & the docker daemon do not free the cpu resources one have to kill the agetty process
Expected results: docker container runs
Additional info: In my real case i run rhel containers with puppet & ssh daemons for a small puppet lab.
The reason i met this bug is that running docker container with /sbin/init cmd under RHEL 6.5 require priviliged mode.