Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

interactive docker run is not interactive #85

Open
jspaaks opened this issue Jul 16, 2020 · 3 comments
Open

interactive docker run is not interactive #85

jspaaks opened this issue Jul 16, 2020 · 3 comments

Comments

@jspaaks
Copy link
Contributor

jspaaks commented Jul 16, 2020

code state is 03f8046

When I run the supposedly interactive docker run command,

docker run -ti --volume ${PWD}/model-generation/notebooks:/data/notebooks \
               --volume ${PWD}/experiments/${EXPERIMENT}/corpus:/data/corpus \
               --volume ${PWD}/experiments/${EXPERIMENT}/model:/data/model \
               --user $(id -u):$(id -g) \
               doc2vec /bin/bash

I don't get a prompt like I expected, but instead the notebooks are processing the corpus.

@jspaaks
Copy link
Contributor Author

jspaaks commented Jul 16, 2020

related: maybe we can map the ports for the interactive run so users can see jupyter notebook server with the container's notebooks.

@sverhoeven
Copy link
Member

@meiertgrootes experience same reviewing #95 , I think command should be changed from doc2vec /bin/bash to --entrypoint /bin/bash doc2vec.

@meiertgrootes
Copy link
Member

Can this be closed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants