ADAH-EviDENce / evidence

doc2vec-based assisted close reading with support for abstract concept-based search and context-based search
GNU General Public License v3.0
3 stars 1 forks source link

interactive docker run is not interactive #85

Open jspaaks opened 4 years ago

jspaaks commented 4 years ago

code state is 03f80463342e861c8cb072c6aa8cc2916ee42d14

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 commented 4 years ago

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

sverhoeven commented 4 years ago

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

meiertgrootes commented 4 years ago

Can this be closed?