Sign inSign up

fernando785/pythonproject

By fernando785

Updated almost 2 years ago

Image
0

88

fernando785/pythonproject repository overview

Python Hello World Project

Project Description

This is a simple "Hello World" Python application to demonstrate the basics of Pyrhon programming and containerization using Docker. The project aims to show how Python can be executed in a containerized environment, making it easy to run and share across different systems.

In this project, we used Flask server to print "Hello World" to the console. We also created a Dockerfile to containerize the application, ensuring that it runs smoothly in different environments without any additional setup.

Technologies Used
  • Python (Programming language)
  • Docker (Containerization)

Pull and Run the Docker Image Locally

Follow these steps to pull the Docker image from Docker Hub and run it on your local machine:

Step 1: Pull the Image

To download the image from Docker Hub, run:

docker pull fernando785/pythonproject
Step 2: Run the Image

Once the image is pulled, you can run it locally and map it to port 5000:

docker run -p 5000:5000 fernando785/pythonproject
Step 3: Run the app

Just go to localhost in the port 5000 with this link

http://localhost:5000

Make sure that your application is set up to listen on port 5000 within the container to ensure it responds correctly on this port.

Tag summary

Content type

Image

Digest

sha256:587401b98

Size

63.5 MB

Last updated

almost 2 years ago

docker pull fernando785/pythonproject