Sign inSign up

carinamarina/hello-world-app

By carinamarina

•Updated about 10 years ago

This is a sample Python web application, running on port 5000, which prints "Hello World!".

Image
1

50K+

carinamarina/hello-world-app repository overview

⁠Hello World App

This is a sample Python web application, running on port 5000, which prints Hello World!.

  1. Run the carinamarina/hello-world-app container.

    docker run --detach --name app --publish-all carinamarina/hello-world-app
    
  2. Identity the port where the app container was published. In the example below, the port is 32770.

    $ docker port app
    5000/tcp -> 0.0.0.0:32770
    
  3. Open http://<dockerHost>:<containerPort>, for example http://localhost:32770⁠. You should see the following output:

    Hello World!
    

Tag summary

Content type

Image

Digest

sha256:61aab1e93…

Size

256.4 MB

Last updated

about 10 years ago

docker pull carinamarina/hello-world-app