Program in Ruby language that tells us the time
1.3K
This is a Docker image for a simple Ruby project that prints the current local time to the console. The project is built using Ruby, and this container is configured to run the Ruby script that displays the time upon startup.
Pull the Image: Download the image from Docker Hub by running:
docker pull kevineduardo14/time
Run the Container: Start the container and view the output directly in your terminal:
docker run kevineduardo14/time
Customizing the Run: To run this container in detached mode, you can modify the command as follows:
docker run -d kevineduardo14/time
This Ruby project does not require additional environment variables for basic functionality.
This container runs on Ruby 3.0 and executes the time.rb script automatically upon container startup, printing the current local time to the console every second.
Content type
Image
Digest
sha256:f2cd5b718…
Size
335.1 MB
Last updated
almost 2 years ago
docker pull kevineduardo14/time