curl from docker ubuntu image

I have created docker image which is based on the ubuntu image, and contains java and tomcat.

FROM dockerfile/ubuntu

#java, tomcat



  • How do I docker-compose up without blocking ci and guessing duration
  • How to import data to mongodb container and creating an image
  • What is the relationship between a docker image ID and the IDs in the manifests?
  • Docker Volumes - bind mount different filesystem to ../docker/volumes/
  • DotNet build CLI works in terminal, but not in Docker build
  • automatically add the release tag to my build from git tag
  • docker run -i -t -d -p 80:80 <image>

    Without running tomcat, just running image and attaching to it – I try to make request to any site. For example:


    Results connection refused:

    curl: (7) Failed to connect to port 80: Connection refused

    What could cause this problem?

    Image is running on Amazon Linux, if it matters.

  • Docker, Supervisord and logging - how to consolidate logs in docker logs?
  • How to setting Core file size in Docker container?
  • Restarting Play application Docker container results in 'This application is already running' - RUNNING_PID is not deleted
  • Error Docker deployment in Amazon EC2 - Docker container quit unexpectedly
  • Best practice to apply patch to a modified docker container?
  • Cannot access tomcat8 server running in docker container from host machine
  • One Solution collect form web for “curl from docker ubuntu image”

    Deployed the same image on aws ubuntu 14.04 and everything works.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.