Sign inSign up

jamchri011394/ruby-hello

By jamchri011394

Updated almost 9 years ago

ruby hello app

Image
0

4.4K

jamchri011394/ruby-hello repository overview

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

Tag summary

Content type

Image

Digest

Size

290.1 MB

Last updated

almost 9 years ago

docker pull jamchri011394/ruby-hello