This repository contains my solutions for Assignment 3: Docker-Container
for the course Cloud Computing (Semester V, B.Tech CSE Cyber-Security).
docker pull alpine
docker imagesCreate a Dockerfile:
FROM alpine
CMD ["echo", "Hello from my custom Dockerfile!"]Build the image:
docker build -t custom-alpine .
docker imagesdocker tag custom-alpine israeldavid/custom-alpine:v1
docker login
docker push israeldavid/custom-alpine:v1docker ps -adocker infodocker imagesFile: numbers.py
N = int(input("Enter a number: "))
for i in range(1, N+1):
print(i)Run it:
python3 numbers.pydocker search israeldaviddocker pull nginx
docker run -d -p 8080:80 nginxOpen browser: http://localhost:8080
Pull and run the image (example):
docker pull <github-image-link>
docker run -it <image-name>Generated report is saved as PentestReport.pdf.
- Docker
- Python
- Nginx
- Kali Linux
Israel Mbiyavanga David B.Tech CSE (Cyber-Security) | Semester V
👉 Do you want me to **write this full README.md file ready for upload** to your GitHub repo, or would you like me to also **add the Dockerfiles and Python scripts** so you can upload them along with it?