A sample app demonstrating the containerization of a Rails application with DockerRails.
Firstly build the docker image:
docker build -t docker-rails-sample .
Once the image has been built, create and run a container using the image:
docker run -p 80:3000 docker-rails-sample
Visit http://localhost:80 to view the application.