Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added reports/whatokk_Lab7.pdf
Binary file not shown.
16 changes: 16 additions & 0 deletions reports/whatokk_Lab7_experiment_record.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Lab7 Experiment Record

- Experiment: Containerization with Docker
- Repository: https://github.com/whatokk/lab7-containerization-with-docker
- Successful Actions run: https://github.com/whatokk/lab7-containerization-with-docker/actions/runs/27258893987
- Docker image: cloud-lab-image:v1
- Image size: 62.3MB
- Main container: my-web-container, mapped host port 8080 to container port 80
- Second container: second-container, mapped host port 8081 to container port 80
- Port conflict: reproduced by trying to bind another container to host port 8080
- Cleanup: docker ps returned no running containers after stopping/removing instances
- Generated at: 2026-06-10 15:00:52 +08:00

## Key Results

The Nginx Alpine Docker image was built successfully. The web page was reachable through port 8080. After editing the source file, the running container did not change, proving image/container immutability. Container filesystem isolation was verified with docker exec. Runtime stats showed the web server using about 10.39MiB memory. Scaling to a second instance worked on port 8081, while reusing port 8080 caused the expected port allocation error.