An open API service indexing awesome lists of open source software.

https://github.com/devigned/docker-ruby-hello-world

super simple ruby docker hello world
https://github.com/devigned/docker-ruby-hello-world

Last synced: 11 months ago
JSON representation

super simple ruby docker hello world

Awesome Lists containing this project

README

          

# docker-ruby-hello-world
super simple ruby docker hello world

- `export PORT=8080`
- `docker build -t ruby-sample .`
- `ID=$(docker run -e "PORT=$PORT" -p $PORT:$PORT -d ruby-sample)`
- `open "http://$(docker-machine ip):$PORT"`
- `docker logs $ID`
- `docker stop $ID`
- `docker rm $ID`