I just installed Docker with Docker-Toolbox on my Mac using homebrew: install docker with homebrew
After creating and configuring a Container with Rails, Postgres an
You need to add sonething like below "ports" entry to map port from localhost to the container:
ports: - "4001:8001"