Minimal Ruby runtime.
5.9K
ubuntu/ruby is a rock for ruby maintained by Canonical.
Ruby is a general-purpose programming language. It is interpreted, high-level, and dynamically typed. It supports multiple programming paradigms, including procedural, object-oriented, and functional programming.
NOTE: These tags follow a specific naming convention that respects the concept of channels.
| Tags | Supported until | Version | Base | Architectures | |
|---|---|---|---|---|---|
3.2-24.04_stable | aliases3.2-24.04, 3.2-24.04_beta, 3.2-24.04_candidate | 05/2029 | 3.2 | 24.04 | amd64, arm64 |
3.3-26.04_edge | aliases3.3-26.04_edge | 05/2031 | 3.3 | 26.04 | amd64, arm64, s390x, ppc64le |
3.2-24.04_edge | aliases3.2-24.04_edge | 05/2029 | 3.2 | 24.04 | amd64, ppc64le, arm64, s390x |
| Tags | Support ended on | Upgrade Path | |
|---|---|---|---|
3.3-25.04_stable | aliases3.3-25.043.3-25.04_beta3.3-25.04_candidate3.3-25.04_edge | 01/2026 | - |
This rock's entrypoint is Pebble, a container-optimized init process that enables the orchestration of a collection of local service processes as an organized set.
To view the Pebble services and checks defined in this rock:
docker run --rm ubuntu/ruby:3.3-25.04_stable plan
To run this rock, use any of the usual container runtimes, for example, docker:
docker run --name ruby-container \
-d \
ubuntu/ruby:3.3-25.04_stable
The container starts in detached mode.
To view the logs of the running container, run:
docker exec ruby-container pebble logs
Or, for a specific service:
docker exec ruby-container pebble logs <service>
Rocks may have predefined health checks that you can list by running:
docker exec ruby-container pebble checks
The overall health of your container can be inspected via:
docker exec ruby-container pebble health
| Option | Description | Default |
|---|---|---|
| RUBYOPT | Ruby options applied at startup. | --disable-did_you_mean --disable-error_highlight --disable-syntax_suggest |
| GEM_PATH | Colon-separated list of paths used to locate installed gems. | /usr/lib/ruby/gems/3.2.0/gems:/usr/share/rubygems-integration/all |
Canonical is the provider of this container image. It is the user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within, as well as with Canonical’s IP Policy.
Content type
Image
Digest
sha256:e1d705e0e…
Size
16.5 MB
Last updated
9 days ago
docker pull ubuntu/ruby:3.3-26.04_edgePulls:
130
Last week