6509-fixed interactive container hangs before exit when redirecting

Docker-DCO-1.1-Signed-off-by: clouddrd
(https://github.com/clouddrd/docker)
master  - 6509-fixed interactive container hangs before exit when redirecting

ocker-DCO-1.1-Signed-off-by: choi woon ryong <clouddrd@gmail.com>