I ran a long running job using the exec
command to attach to a running container and run in foreground:
docker exec -it e74fb378d1df /apps/run_cmd3.sh
It ran for 10 hours and afterwards it waited for a few minutes before I provided some extra user input via stdin and then it finished in 5 or so minutes. BUT the exec did not exit. At least it didn’t look like it exited. I only received the command prompt again after pressing ctrl+c
Has anyone seen this before? The container status itself still said it was up
so this is not the same as previous bugs about exec not terminating when container shuts down.
Specs: DigitalOcean droplet with Docker version 1.11.0, build 4dc5990