Sign inSign up

tardate/echo-tools

By tardate

•Updated over 1 year ago

A collection of simple HTTP echo utilities (specific HTTP status codes, remote IP, time).

Image
0

213

tardate/echo-tools repository overview

A collection of simple HTTP echo utilities (specific HTTP status codes, remote IP, time).

Run on port 80, in the background with a specific container name:

docker run -p 80:4567 -d --rm --name echo-tools tardate/echo-tools

List and stop the container:

$ docker container ls -a
CONTAINER ID   IMAGE                COMMAND                  CREATED         STATUS         PORTS                                     NAMES
7bb14b467dd7   tardate/echo-tools   "ruby app.rb -o 0.0.…"   3 seconds ago   Up 3 seconds   0.0.0.0:80->4567/tcp, [::]:80->4567/tcp   echo-tools
$ docker stop echo-tools
echo-tools

Sources at: https://github.com/tardate/LittleCodingKata/tree/main/ruby/sinatra_echo⁠

For more info, see: https://codingkata.tardate.com/ruby/sinatra_echo/⁠

Tag summary

Content type

Image

Digest

sha256:b7bd98ea5…

Size

369 MB

Last updated

over 1 year ago

docker pull tardate/echo-tools