Can't access Docker's exposed port in Ubuntu
问题 The Sinatra web app I created works inside the container and I am able to access it at 9393 within the container. Following is my Dockerfile (which uses the image specified by the Dockerfile : jikkujose/red): FROM jikkujose/red MAINTAINER Jikku Jose <jikkujose@gmail.com> COPY . /banana_app WORKDIR /banana_app RUN bundle install EXPOSE 9393 ENTRYPOINT ["bundle", "exec", "shotgun"] I launched the built image by, docker run -itdP hey When I do, docker ps -a : CONTAINER ID IMAGE COMMAND CREATED