{"user":"library","name":"jruby","namespace":"library","repository_type":"image","status":1,"status_description":"active","description":"JRuby (http://www.jruby.org) is an implementation of Ruby (http://www.ruby-lang.org) on the JVM.","is_private":false,"is_automated":false,"star_count":118,"pull_count":52135212,"last_updated":"2026-11-24T00:04:33.678211Z","last_modified":"2026-11-23T23:14:09.281334Z","date_registered":"2014-09-24T15:32:51.614863Z","collaborator_count":0,"affiliation":null,"hub_user":"stackbrew","has_starred":false,"full_description":"# Quick reference\n\n-\t**Maintained by**:  \n\t[the Docker Community](https://github.com/jruby/docker-jruby)\n\n-\t**Where to get help**:  \n\t[the Docker Community Slack](https://dockr.ly/comm-slack), [Server Fault](https://serverfault.com/help/on-topic), [Unix \u0026 Linux](https://unix.stackexchange.com/help/on-topic), or [Stack Overflow](https://stackoverflow.com/help/on-topic)\n\n# Supported tags and respective `Dockerfile` links\n\n-\t[`latest`, `10`, `10.1`, `10.1.3`, `10.1-jre`, `10.1-jre21`, `10.1.3-jre`, `10.1.3-jre21`, `10.1.3.0`, `10.1.3.0-jre`, `10.1.3.0-jre21`](https://github.com/jruby/docker-jruby/blob/b16702e4c28b6e60504093eb853c1bb2e073e30a/10.1/jre21/Dockerfile)\n\n-\t[`10-jdk`, `10-jdk21`, `10.1-jdk`, `10.1-jdk21`, `10.1.3-jdk`, `10.1.3-jdk21`, `10.1.3.0-jdk`, `10.1.3.0-jdk21`](https://github.com/jruby/docker-jruby/blob/b16702e4c28b6e60504093eb853c1bb2e073e30a/10.1/jdk21/Dockerfile)\n\n-\t[`10.1-jre25`, `10.1.3-jre25`, `10.1.3.0-jre25`](https://github.com/jruby/docker-jruby/blob/b16702e4c28b6e60504093eb853c1bb2e073e30a/10.1/jre25/Dockerfile)\n\n-\t[`10.1-jdk25`, `10.1.3-jdk25`, `10.1.3.0-jdk25`](https://github.com/jruby/docker-jruby/blob/b16702e4c28b6e60504093eb853c1bb2e073e30a/10.1/jdk25/Dockerfile)\n\n-\t[`10.0`, `10.0.8`, `10.0-jre`, `10.0-jre21`, `10.0.8-jre`, `10.0.8-jre21`, `10.0.8.0`, `10.0.8.0-jre`, `10.0.8.0-jre21`](https://github.com/jruby/docker-jruby/blob/b16702e4c28b6e60504093eb853c1bb2e073e30a/10.0/jre21/Dockerfile)\n\n-\t[`10.0-jdk`, `10.0-jdk21`, `10.0.8-jdk`, `10.0.8-jdk21`, `10.0.8.0-jdk`, `10.0.8.0-jdk21`](https://github.com/jruby/docker-jruby/blob/b16702e4c28b6e60504093eb853c1bb2e073e30a/10.0/jdk21/Dockerfile)\n\n-\t[`10.0-jre25`, `10.0.8-jre25`, `10.0.8.0-jre25`](https://github.com/jruby/docker-jruby/blob/b16702e4c28b6e60504093eb853c1bb2e073e30a/10.0/jre25/Dockerfile)\n\n-\t[`10.0-jdk25`, `10.0.8-jdk25`, `10.0.8.0-jdk25`](https://github.com/jruby/docker-jruby/blob/b16702e4c28b6e60504093eb853c1bb2e073e30a/10.0/jdk25/Dockerfile)\n\n-\t[`9`, `9.4`, `9.4.16`, `9.4-jre`, `9.4-jre8`, `9.4.16-jre`, `9.4.16-jre8`, `9.4.16.0`, `9.4.16.0-jre`, `9.4.16.0-jre8`](https://github.com/jruby/docker-jruby/blob/b16702e4c28b6e60504093eb853c1bb2e073e30a/9.4/jre8/Dockerfile)\n\n-\t[`9-jdk`, `9-jdk8`, `9.4-jdk`, `9.4-jdk8`, `9.4.16-jdk`, `9.4.16-jdk8`, `9.4.16.0-jdk`, `9.4.16.0-jdk8`](https://github.com/jruby/docker-jruby/blob/b16702e4c28b6e60504093eb853c1bb2e073e30a/9.4/jdk8/Dockerfile)\n\n-\t[`9.4-jre11`, `9.4.16-jre11`, `9.4.16.0-jre11`](https://github.com/jruby/docker-jruby/blob/b16702e4c28b6e60504093eb853c1bb2e073e30a/9.4/jre11/Dockerfile)\n\n-\t[`9.4-jdk11`, `9.4.16-jdk11`, `9.4.16.0-jdk11`](https://github.com/jruby/docker-jruby/blob/b16702e4c28b6e60504093eb853c1bb2e073e30a/9.4/jdk11/Dockerfile)\n\n-\t[`9.4-jdk17`, `9.4.16-jdk17`, `9.4.16.0-jdk17`](https://github.com/jruby/docker-jruby/blob/b16702e4c28b6e60504093eb853c1bb2e073e30a/9.4/jdk17/Dockerfile)\n\n-\t[`9.4-jre17`, `9.4.16-jre17`, `9.4.16.0-jre17`](https://github.com/jruby/docker-jruby/blob/b16702e4c28b6e60504093eb853c1bb2e073e30a/9.4/jre17/Dockerfile)\n\n-\t[`9.4-jdk21`, `9.4.16-jdk21`, `9.4.16.0-jdk21`](https://github.com/jruby/docker-jruby/blob/b16702e4c28b6e60504093eb853c1bb2e073e30a/9.4/jdk21/Dockerfile)\n\n-\t[`9.4-jre21`, `9.4.16-jre21`, `9.4.16.0-jre21`](https://github.com/jruby/docker-jruby/blob/b16702e4c28b6e60504093eb853c1bb2e073e30a/9.4/jre21/Dockerfile)\n\n-\t[`9.4-jdk25`, `9.4.16-jdk25`, `9.4.16.0-jdk25`](https://github.com/jruby/docker-jruby/blob/b16702e4c28b6e60504093eb853c1bb2e073e30a/9.4/jdk25/Dockerfile)\n\n-\t[`9.4-jre25`, `9.4.16-jre25`, `9.4.16.0-jre25`](https://github.com/jruby/docker-jruby/blob/b16702e4c28b6e60504093eb853c1bb2e073e30a/9.4/jre25/Dockerfile)\n\n-\t[`9.3`, `9.3.15`, `9.3-jre`, `9.3-jre8`, `9.3.15-jre`, `9.3.15-jre8`, `9.3.15.0`, `9.3.15.0-jre`, `9.3.15.0-jre8`](https://github.com/jruby/docker-jruby/blob/b16702e4c28b6e60504093eb853c1bb2e073e30a/9.3/jre8/Dockerfile)\n\n-\t[`9.3-jdk`, `9.3-jdk8`, `9.3.15-jdk`, `9.3.15-jdk8`, `9.3.15.0-jdk`, `9.3.15.0-jdk8`](https://github.com/jruby/docker-jruby/blob/b16702e4c28b6e60504093eb853c1bb2e073e30a/9.3/jdk8/Dockerfile)\n\n-\t[`9.3-jre11`, `9.3.15-jre11`, `9.3.15.0-jre11`](https://github.com/jruby/docker-jruby/blob/b16702e4c28b6e60504093eb853c1bb2e073e30a/9.3/jre11/Dockerfile)\n\n-\t[`9.3-jdk11`, `9.3.15-jdk11`, `9.3.15.0-jdk11`](https://github.com/jruby/docker-jruby/blob/b16702e4c28b6e60504093eb853c1bb2e073e30a/9.3/jdk11/Dockerfile)\n\n-\t[`9.3-jdk17`, `9.3.15-jdk17`, `9.3.15.0-jdk17`](https://github.com/jruby/docker-jruby/blob/b16702e4c28b6e60504093eb853c1bb2e073e30a/9.3/jdk17/Dockerfile)\n\n-\t[`9.3-jre17`, `9.3.15-jre17`, `9.3.15.0-jre17`](https://github.com/jruby/docker-jruby/blob/b16702e4c28b6e60504093eb853c1bb2e073e30a/9.3/jre17/Dockerfile)\n\n-\t[`9.3-jdk21`, `9.3.15-jdk21`, `9.3.15.0-jdk21`](https://github.com/jruby/docker-jruby/blob/b16702e4c28b6e60504093eb853c1bb2e073e30a/9.3/jdk21/Dockerfile)\n\n-\t[`9.3-jre21`, `9.3.15-jre21`, `9.3.15.0-jre21`](https://github.com/jruby/docker-jruby/blob/b16702e4c28b6e60504093eb853c1bb2e073e30a/9.3/jre21/Dockerfile)\n\n-\t[`10.0-dev-jre21`](https://github.com/jruby/docker-jruby/blob/b16702e4c28b6e60504093eb853c1bb2e073e30a/10.0-dev/jre21/Dockerfile)\n\n-\t[`10.0-dev-jdk21`](https://github.com/jruby/docker-jruby/blob/b16702e4c28b6e60504093eb853c1bb2e073e30a/10.0-dev/jdk21/Dockerfile)\n\n-\t[`10.0-dev-jre25`](https://github.com/jruby/docker-jruby/blob/b16702e4c28b6e60504093eb853c1bb2e073e30a/10.0-dev/jre25/Dockerfile)\n\n-\t[`10.0-dev-jdk25`](https://github.com/jruby/docker-jruby/blob/b16702e4c28b6e60504093eb853c1bb2e073e30a/10.0-dev/jdk25/Dockerfile)\n\n-\t[`10.1-dev-jre21`](https://github.com/jruby/docker-jruby/blob/b16702e4c28b6e60504093eb853c1bb2e073e30a/10.1-dev/jre21/Dockerfile)\n\n-\t[`10.1-dev-jdk21`](https://github.com/jruby/docker-jruby/blob/b16702e4c28b6e60504093eb853c1bb2e073e30a/10.1-dev/jdk21/Dockerfile)\n\n-\t[`10.1-dev-jre25`](https://github.com/jruby/docker-jruby/blob/b16702e4c28b6e60504093eb853c1bb2e073e30a/10.1-dev/jre25/Dockerfile)\n\n-\t[`10.1-dev-jdk25`](https://github.com/jruby/docker-jruby/blob/b16702e4c28b6e60504093eb853c1bb2e073e30a/10.1-dev/jdk25/Dockerfile)\n\n-\t[`9.4-dev-jre8`](https://github.com/jruby/docker-jruby/blob/b16702e4c28b6e60504093eb853c1bb2e073e30a/9.4-dev/jre8/Dockerfile)\n\n-\t[`9.4-dev-jdk8`](https://github.com/jruby/docker-jruby/blob/b16702e4c28b6e60504093eb853c1bb2e073e30a/9.4-dev/jdk8/Dockerfile)\n\n-\t[`9.4-dev-jre11`](https://github.com/jruby/docker-jruby/blob/b16702e4c28b6e60504093eb853c1bb2e073e30a/9.4-dev/jre11/Dockerfile)\n\n-\t[`9.4-dev-jdk11`](https://github.com/jruby/docker-jruby/blob/b16702e4c28b6e60504093eb853c1bb2e073e30a/9.4-dev/jdk11/Dockerfile)\n\n-\t[`9.4-dev-jdk17`](https://github.com/jruby/docker-jruby/blob/b16702e4c28b6e60504093eb853c1bb2e073e30a/9.4-dev/jdk17/Dockerfile)\n\n-\t[`9.4-dev-jre17`](https://github.com/jruby/docker-jruby/blob/b16702e4c28b6e60504093eb853c1bb2e073e30a/9.4-dev/jre17/Dockerfile)\n\n-\t[`9.4-dev-jdk21`](https://github.com/jruby/docker-jruby/blob/b16702e4c28b6e60504093eb853c1bb2e073e30a/9.4-dev/jdk21/Dockerfile)\n\n-\t[`9.4-dev-jre21`](https://github.com/jruby/docker-jruby/blob/b16702e4c28b6e60504093eb853c1bb2e073e30a/9.4-dev/jre21/Dockerfile)\n\n-\t[`9.4-dev-jdk25`](https://github.com/jruby/docker-jruby/blob/b16702e4c28b6e60504093eb853c1bb2e073e30a/9.4-dev/jdk25/Dockerfile)\n\n-\t[`9.4-dev-jre25`](https://github.com/jruby/docker-jruby/blob/b16702e4c28b6e60504093eb853c1bb2e073e30a/9.4-dev/jre25/Dockerfile)\n\n# Quick reference (cont.)\n\n-\t**Where to file issues**:  \n\t[https://github.com/jruby/docker-jruby/issues](https://github.com/jruby/docker-jruby/issues?q=is:issue+is:pr)\n\n-\t**Supported architectures**: ([more info](https://github.com/docker-library/official-images#architectures-other-than-amd64))  \n\t[`amd64`](https://hub.docker.com/r/amd64/jruby/), [`arm64v8`](https://hub.docker.com/r/arm64v8/jruby/)\n\n-\t**Published image artifact details**:  \n\t[repo-info repo's `repos/jruby/` directory](https://github.com/docker-library/repo-info/blob/master/repos/jruby) ([history](https://github.com/docker-library/repo-info/commits/master/repos/jruby))  \n\t(image metadata, transfer size, etc)\n\n-\t**Image updates**:  \n\t[official-images repo's `library/jruby` label](https://github.com/docker-library/official-images/issues?q=label%3Alibrary%2Fjruby)  \n\t[official-images repo's `library/jruby` file](https://github.com/docker-library/official-images/blob/master/library/jruby) ([history](https://github.com/docker-library/official-images/commits/master/library/jruby))\n\n-\t**Source of this description**:  \n\t[docs repo's `jruby/` directory](https://github.com/docker-library/docs/tree/master/jruby) ([history](https://github.com/docker-library/docs/commits/master/jruby))\n\n# What is JRuby?\n\nJRuby (http://www.jruby.org) is an implementation of Ruby (http://www.ruby-lang.org) on the JVM.\n\nRuby is a dynamic, reflective, object-oriented, general-purpose, open-source programming language. According to its authors, Ruby was influenced by Perl, Smalltalk, Eiffel, Ada, and Lisp. It supports multiple programming paradigms, including functional, object-oriented, and imperative. It also has a dynamic type system and automatic memory management.\n\n\u003e [wikipedia.org/wiki/Ruby_(programming_language)](https://en.wikipedia.org/wiki/Ruby_%28programming_language%29)\n\nJRuby leverages the robustness and speed of the JVM while providing the same Ruby that you already know and love. With JRuby you are able to take advantage of real native threads, enhanced garbage collection, and even import and use java libraries.\n\n![logo](https://raw.githubusercontent.com/docker-library/docs/fbdaaa95f768de2cb4508dde956912f4081a824a/jruby/logo.png)\n\n# How to use this image\n\n## Create a `Dockerfile` in your Ruby app project\n\n```dockerfile\nFROM jruby:10\n\n# throw errors if Gemfile has been modified since Gemfile.lock\nRUN bundle config --global frozen 1\n\nWORKDIR /usr/src/app\n\nCOPY Gemfile Gemfile.lock ./\nRUN bundle install\n\nCOPY . .\n\nCMD [\"./your-daemon-or-script.rb\"]\n```\n\nPut this file in the root of your app, next to the `Gemfile`.\n\nYou can then build and run the Ruby image:\n\n```console\n$ docker build -t my-ruby-app .\n$ docker run -it --name my-running-script my-ruby-app\n```\n\n### Generate a `Gemfile.lock`\n\nThe above example `Dockerfile` expects a `Gemfile.lock` in your app directory. This `docker run` will help you generate one. Run it in the root of your app, next to the `Gemfile`:\n\n```console\n$ docker run --rm -v \"$PWD\":/usr/src/app -w /usr/src/app jruby:10 bundle install --system\n```\n\n## Run a single Ruby script\n\nFor many simple, single file projects, you may find it inconvenient to write a complete `Dockerfile`. In such cases, you can run a Ruby script by using the Ruby Docker image directly:\n\n```console\n$ docker run -it --rm --name my-running-script -v \"$PWD\":/usr/src/myapp -w /usr/src/myapp jruby:10 jruby your-daemon-or-script.rb\n```\n\n# License\n\nView [license information](https://github.com/jruby/jruby/blob/master/COPYING) for the software contained in this image.\n\nAs with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).\n\nSome additional license information which was able to be auto-detected might be found in [the `repo-info` repository's `jruby/` directory](https://github.com/docker-library/repo-info/tree/master/repos/jruby).\n\nAs for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.","permissions":{"read":true,"write":false,"admin":false},"media_types":["application/octet-stream","application/vnd.docker.container.image.v1+json","application/vnd.docker.distribution.manifest.list.v2+json","application/vnd.docker.distribution.manifest.v1+prettyjws","application/vnd.oci.image.index.v1+json"],"content_types":["unrecognized","image"],"categories":[{"name":"Languages \u0026 frameworks","slug":"languages-and-frameworks"}],"immutable_tags_settings":{"enabled":false,"rules":[".*"]},"storage_size":502406063351,"source":null}