Using localhost for to access running container

Hi,

In case someone is having the same issue, I was able to resolve by putting:

-p 3000:3000

in the docker run command, and putting:

-b 0.0.0.0

in my rails server command. Thanks.