clojure pulls statistics
Docker Hub · Languages & frameworks
Clojure is a dialect of Lisp that runs on the JVM.
clojure has 42,926,976 recorded pulls on Docker Hub, an increase of 1.4% over the past 30 days, ranking #70 of 1,291 tracked listings.
About clojure
Quick reference
-
Maintained by:
the Docker Community -
Where to get help:
the Docker Community Slack, Server Fault, Unix & Linux, or Stack Overflow
Supported tags and respective Dockerfile links
Note: the description for this image is longer than the Hub length limit of 25000, so the "Supported tags" list has been trimmed to compensate. See also docker/hub-feedback#238 and docker/roadmap#475.
Quick reference (cont.)
-
Where to file issues:
https://github.com/Quantisan/docker-clojure/issues -
Supported architectures: (more info)
amd64,arm64v8,ppc64le -
Published image artifact details:
repo-info repo'srepos/clojure/directory (history)
(image metadata, transfer size, etc) -
Image updates:
official-images repo'slibrary/clojurelabel
official-images repo'slibrary/clojurefile (history) -
Source of this description:
docs repo'sclojure/directory (history)
What is Clojure?
Clojure is a dialect of the Lisp programming language. It is a general-purpose programming language with an emphasis on functional programming. It runs on the Java Virtual Machine, Common Language Runtime, and JavaScript engines. Like other Lisps, Clojure treats code as data and has a macro system.

How to use this image
Build tools
Clojure has three major approaches to building and running projects:
- leiningen
- The oldest and probably most common tool
- boot
- An alternative approach that solves similar problems as leiningen
- tools-deps
- A more recent official tool for some of the lein/boot use cases
There are variants of this image for all three of these tools and their respective releases. The most basic form of these tags is:
clojure:leinclojure:bootclojure:tools-deps
But you can also append a hyphen and the version of that tool you'd like to use. For example, for lein 2.8.1 you can use this image: clojure:lein-2.8.1.
Run your app with leiningen
Add a Dockerfile to an existing Leiningen/Clojure project with the following contents:
FROM clojure
COPY . /usr/src/app
WORKDIR /usr/src/app
CMD ["lein", "run"]
Then, run these commands to build and run the image:
$ docker build -t my-clojure-app .
$ docker run -it --rm --name my-running-app my-clojure-app
While the above is the most straightforward example of a Dockerfile, it does have some drawbacks. The lein run command will download your dependencies, compile the project, and then run it. That's a lot of work, all of which you may not want done every time you run the image. To get around this, you can download the dependencies and compile the project ahead of time. This will significantly reduce startup time when you run your image.
FROM clojure
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY project.clj /usr/src/app/
RUN lein deps
COPY . /usr/src/app
RUN mv "$(lein uberjar | sed -n 's/^Created \(.*standalone\.jar\)/\1/p')" app-standalone.jar
CMD ["java", "-jar", "app-standalone.jar"]
Writing the Dockerfile this way will download the dependencies (and cache them, so they are only re-downloaded when the dependencies change) and then compile them into a standalone jar ahead of time rather than each time the image is run.
You can then build and run the image as above.
Compile your Lein/Clojure project into a jar from within the container
If you have an existing Lein/Clojure project, it's fairly straightforward to compile your project into a jar from a container:
$ docker run -it --rm -v "$PWD":/usr/src/app -w /usr/src/app clojure lein uberjar
This will build your project into a jar file located in your project's target/uberjar directory.
More details
See the official image README for more details about using this image with boot and tools-deps.
Image Variants
The clojure images come in many flavors, each designed for a specific use case.
clojure:<version>…
Description from the Docker Hub listing.
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Pulls on a linear scale. Placement is projected from pulls, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (50)Similar Docker Hub Languages & frameworks plugins
All 20 clojure alternativesData source
Cumulative pull counts and stars come from the public Docker Hub API. Pulls count image downloads (including automated CI pulls), not installs or users.
Listing: https://hub.docker.com/_/clojure. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.