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

EXPOSE 80

Then:

  • docker odoo 9 install pika error
  • where are repo's automated build files located
  • Which ca.crt does docker.sock use for docker pull?
  • Docker can not connect to exposed ports for Oracle 12c Container
  • Why are my non-volume data in Docker container persistence after restarting the container?
  • Install PHP 7 extensions in docker container
  • 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:

    curl google.com
    

    Results connection refused:

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

    What could cause this problem?

    Image is running on Amazon Linux, if it matters.

  • How to restrict Docker containers to run on specific CPU cores or group of CPU cores
  • Why there is no init / initctl on the docker centos image
  • CoreOS & HDFS - Running a distributed file system in Linux Containers/Docker
  • how to create reverse ssh tunnel to docker-toolbox which binds to 0.0.0.0
  • Link docker-compose to local docker daemon
  • Transparent application load-balancer
  • 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.