The official Ruby docker image.
Maintained by: openEuler CloudNative SIG.
Where to get help: openEuler CloudNative SIG, openEuler.
Current Ruby docker images are built on the openEuler. This repository is free to use and exempted from per-user rate limits.
Ruby is an interpreted object-oriented programming language often used for web development. It also offers many scripting features to process plain text and serialized files, or manage system tasks. It is simple, straightforward, and extensible.
Learn more on Ruby Programming Language.
The tag of each Ruby docker image is consist of the version of Ruby and the version of basic image. The details are as follows
| Tags | Currently | Architectures |
|---|---|---|
| 4.0.7-oe2403sp4 | ruby 4.0.7 on openEuler 24.03-LTS-SP4 | amd64, arm64 |
In this usage, users can select the corresponding {Tag} based on their requirements.
Pull the openeuler/ruby image from docker
docker pull openeuler/ruby:{Tag}
Start a Ruby container from the image
docker run -it --name my-ruby openeuler/ruby:{Tag}
Run a Ruby script inside the container
docker run --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp openeuler/ruby:{Tag} ruby your-daemon-or-script.rb
View container running logs
docker logs -f my-ruby
To get an interactive shell
docker exec -it my-ruby /bin/bash
If you have any questions or want to use some special features, please submit an issue or a pull request on openeuler-docker-images.
Content type
Image
Digest
sha256:e572fea87…
Size
106.1 MB
Last updated
1 day ago
docker pull openeuler/ruby