Post presents how to set up simple Ruby on Rails application, build/run Docker image and push/pull it to/from Docker Hub repository. You will find also details how to run Nginx and Rails application in 3 configurations: in separate containers, in single containers and Rails app in container with Nginx running on host. Rails: 5.0.0 Ruby: 2.3.1 Nginx: 1.10.0 Ubuntu 16.04 Xenial Docker: 1.12.3 Introd
![Rails 5 and Docker (Puma, Nginx) – Codepany Blog](https://cdn-ak-scissors.b.st-hatena.com/image/square/81b1925f2d929c8e6961c9ce9638c0e516f5b448/height=288;version=1;width=512/http%3A%2F%2Fcodepany.com%2Fblog%2Fwp-content%2Fuploads%2F2016%2F11%2Frails_docker_nginx.png)