Do you work with Ruby and like Docker? I advise you to pay attention to donce (https://github.com/yegor256/donce) gem.
This is a simple but effective wrapper around the docker run command that allows you to run one-off containers of an image you specify.

#Ruby #Docker #donce #Test #CI

One of the main features is that you can run a container by passing the contents of the Dockerfile as a string. This is a very useful tool that allows you to run various tools in your tests or CI scripts without installing them as a dependency on your system.

Easy to use:
```
require 'donce'
out = donce(image: 'ubuntu:22.04', command: 'date')
puts out
Sun Mar 23 14:28:56 UTC 2026
```