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?
which container image are you using? what’s the command you used to start the container?
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?
emmm, this post seems worth to take a look at.