ubuntu/ruby

Verified Publisher

By Canonical

Updated 9 days ago

Minimal Ruby runtime.

Image
Languages & frameworks
1

5.9K

ubuntu/ruby repository overview

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.

[Learn more about ruby]

Tags and Architectures

NOTE: These tags follow a specific naming convention that respects the concept of channels.

TagsSupported untilVersionBaseArchitectures
3.2-24.04_stable
aliases3.2-24.04, 3.2-24.04_beta, 3.2-24.04_candidate
05/20293.224.04amd64, arm64
3.3-26.04_edge
aliases3.3-26.04_edge
05/20313.326.04amd64, arm64, s390x, ppc64le
3.2-24.04_edge
aliases3.2-24.04_edge
05/20293.224.04amd64, ppc64le, arm64, s390x
View deprecated tags
TagsSupport ended onUpgrade Path
3.3-25.04_stable
aliases3.3-25.04, 3.3-25.04_beta, 3.3-25.04_candidate, 3.3-25.04_edge
01/2026 -

Get started

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.

[Learn more about Pebble]

Inspect

To view the Pebble services and checks defined in this rock:

docker run --rm ubuntu/ruby:3.3-25.04_stable plan
Run

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.

Get logs

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>
Monitor health checks

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

Configuration

Environment variables
OptionDescriptionDefault
RUBYOPTRuby options applied at startup.--disable-did_you_mean --disable-error_highlight --disable-syntax_suggest
GEM_PATHColon-separated list of paths used to locate installed gems./usr/lib/ruby/gems/3.2.0/gems:/usr/share/rubygems-integration/all

[Report a bug] [Contribute]

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.

Tag summary

Content type

Image

Digest

sha256:e1d705e0e

Size

16.5 MB

Last updated

9 days ago

docker pull ubuntu/ruby:3.3-26.04_edge

This week's pulls

Pulls:

130

Last week