Docker Images / language-runtime / ruby

ruby

JSON →
docker4.0.5glibcsupported until 2029-03-311551M pulls

Official Ruby language runtime image for building and running Ruby applications.

languages-and-frameworks
Usage
Recommended variant
docker pull ruby:4.0.5-slim
slim = Debian-based, glibc, smaller than full — good default for production
Variants
Available tags
ruby:full
ruby:slimglibc
ruby:alpinemusl
Lifecycle
Support & EOL
latest4.0.5
pull size81MB compressed
OS EOLsupported until 2029-03-31
Known issues
Gotchas
alpine variant uses musl libc, can break native extensions compiled for glibc
slim variant removes build tools — install gcc and make for gem compilation
avoid :latest in production — pulls breaking major version changes
Resources