Hey there, following situation:
I connect to a remote host via ssh. I run e.g. docker run --rm -it ubuntu:14.04 bash. Now the ssh connection closed unexpectedly. I would expect that the docker container removed itself but it is still running.
Is there a way to bind the container to the ssh session/connection?
Or is there any way to handle this differently?
Hey there, following situation:
I connect to a remote host via ssh. I run e.g.
docker run --rm -it ubuntu:14.04 bash. Now the ssh connection closed unexpectedly. I would expect that the docker container removed itself but it is still running.Is there a way to bind the container to the ssh session/connection?
Or is there any way to handle this differently?