Sign inSign up

openeuler/ruby

Sponsored OSS

By openeuler

•Updated 25 days ago

Image
0

187

openeuler/ruby repository overview

⁠Quick reference

⁠Ruby | 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

TagsCurrentlyArchitectures
4.0.7-oe2403sp4⁠ruby 4.0.7 on openEuler 24.03-LTS-SP4amd64, arm64

⁠Usage

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
    

⁠Question and answering

If you have any questions or want to use some special features, please submit an issue or a pull request on openeuler-docker-images⁠.

Tag summary

Content type

Image

Digest

sha256:e572fea87…

Size

106.1 MB

Last updated

25 days ago

docker pull openeuler/ruby

This week's pulls

Pulls:

2

Last week