Skip to content

Launching docker container in interactive mode #599

Open
@betatim

Description

@betatim

I was expecting repo2docker https://github.com/binder-examples/conda-freeze /bin/bash to give me a shell inside the container. Instead it builds the image and then exits straight away.

I think this is because we would have to do the equivalent of docker run -it <image> /bin/bash but don't. Should we add a --interactive CLI flag that turns on this behaviour?

Note: a solution to this is outlined in #599 (comment). This would be a good way to get involved with contributing to repo2docker and something to help out with in general.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions