Deprecated: Please use the official clojure image instead.
Run leinigen in a Docker container.
Run a Clojure REPL
docker run -it jehrhardt/lein repl
Run a headless REPL and make it available under port 8080
docker run -it -p 8080:47480 jehrhardt/lein repl :headless
Everytime you run a new container, all dependencies will be downloaded. To prevent this, you can create a named container and start it again.
# Create a new leinigen container
docker run -it --name=my-repl jehrhardt/lein repl
# Run the same container again
docker start -i my-repl
Mount the current directory as working directory to get a project REPL.
docker run -it -v `pwd`:`pwd` -w `pwd` jehrhardt/lein repl
Content type
Image
Digest
sha256:8f4aec4ea…
Size
64.2 MB
Last updated
over 10 years ago
docker pull jehrhardt/lein