Skip to content

ssh: docker run --rm #16546

@fentas

Description

@fentas

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions