docker

tianshu 2020-02-22T15:03:16.051Z

Hi, I'm new to docker, I'm trying to run clojure repl inside the docker and connect from outside. I know the repl port, and I use docker inspect to find the port. however nrepl connect failed due to connection refused, what I'm missing?

salam 2020-02-22T16:12:34.001200Z

which container image are you using? what’s the command you used to start the container?

salam 2020-02-22T16:19:38.004Z

did you publish (https://docs.docker.com/engine/reference/commandline/run/#publish-or-expose-port--p---expose) the nrepl port when you started the container?

tianshu 2020-02-22T16:50:38.004400Z

emmm, this post seems worth to take a look at.