This repository contains a Dockerized Python web server for learning containerization concepts.
- Lightweight Python-based web server
- Simple Dockerfile for containerization
- Easy to build and run
Ensure you have the following installed:
Follow these steps to build and run the containerized web server:
git clone https://github.com/sasmithaK/containerization-workshop.git
cd containerization-workshop
docker build -t simple-python-webserver .
docker run -p 8080:8080 simple-python-webserver
The server will be accessible at:
http://localhost:8080
To stop the running container, use:
docker ps # Get the container ID
docker stop <container_id>
To remove the container and image:
docker rm <container_id>
docker rmi simple-python-webserver