Basic Docker Setup for Data Projects: Build, Tag, Push & Run with Compose | Student Bio Demo

Опубликовано: 02 Июнь 2026
на канале: RRK Learnings
2
0

In this step-by-step demo, I containerize a Python app that prints a student bio and appends timestamps to a host-mounted log using Docker and Docker Compose.

What you'll learn:
• Build a Python image from a Dockerfile
• Tag & push to Docker Hub
• Run with docker compose (env, ports, volumes)
• Bind mounts for persistent logs

Commands used:
docker build -t raghuramkomara29/student-bio:v6 .
docker tag raghuramkomara29/student-bio:v6 raghuramkomara29/student-bio:latest
docker push raghuramkomara29/student-bio:v6
docker push raghuramkomara29/student-bio:latest
docker compose up --pull always --force-recreate
cat U89759973/container_runs.log

Docker Hub repo:
https://hub.docker.com/r/raghuramkomara29/...