✍ Documenting and Containerizing My First Docker Project 🐳📄 Today I didn’t just build a Docker image I also documented the entire workflow in a clean README. This project shows: A Python app running inside a Docker container Environment variables controlling runtime behavior A clear Dockerfile and .dockerignore A step-by-step README to build and run the image From: docker build -t docker-basics:1.0 . docker run --rm -e STUDENT_NAME=Alice docker-basics:1.0 To a fully reproducible setup anyone can run. This is what DevOps is about: build once, run anywhere, and document so others can follow. Learning by doing. One container at a time. 🚀 #Docker #DevOps #Python #OpenSource #LearningJourney #TechSkills
Franklin Osuji’s Post
More Relevant Posts
-
The "hidden" complexity of Docker .env files 🐳 Production systems fail on the smallest details. Here are the edge cases that catch most developers: 🔹'$' needs doubling in 𝗰𝗼𝗺𝗽𝗼𝘀𝗲: password$$ → password$$$$ 🔹Never quote IPs/domains (quotes become part of value) 🔹Quote # passwords (or treated as comment) 🔹Space Management: Strings with spaces? Wrap them in quotes to ensure the shell parses them as a single unit. #Docker #Python #DevOps #SoftwareEngineering #FullStack
To view or add a comment, sign in
-
-
CI/CD has improves code quality - and GitHub Actions makes it easier than ever to get started. I just built my first CI/CD pipeline with GitHub Actions! Check out my documentation for the step-by-step process 👇 ✅ Created a Python project with pytest tests ✅ Set up GitHub Actions workflow ✅ Configured automated testing on every push ✅ Watched my first green build pass #CICD #GitHubActions #Python #DevOps
To view or add a comment, sign in
-
CI/CD has improves code quality - and GitHub Actions makes it easier than ever to get started. I just built my first CI/CD pipeline with GitHub Actions! Check out my documentation for the step-by-step process 👇 ✅ Created a Python project with pytest tests ✅ Set up GitHub Actions workflow ✅ Configured automated testing on every push ✅ Watched my first green build pass Huge thanks to @NextWork for this awesome project guide. https://lnkd.in/gQF7UCMQ #CICD #GitHubActions #Python #DevOps
To view or add a comment, sign in
-
PyInfra Promotes Python Over YAML for Infrastructure Code 📌 PyInfra introduces a fresh approach to infrastructure management by using Python instead of YAML, offering greater flexibility and power. Developers can now write clean, functional code for declarative operations, avoiding YAML's pitfalls. With performance claims up to 10x faster than Ansible, it's a compelling choice for modern DevOps workflows. 🔗 Read more: https://lnkd.in/dxXZJF9X #Pyinfra #Python #Infrastructurecode #Yaml #Iac
To view or add a comment, sign in
-
CI/CD has improves code quality - and GitHub Actions makes it easier than ever to get started. I just built my first CI/CD pipeline with GitHub Actions! Check out my documentation for the step-by-step process 👇 ✅ Created a Python project with pytest tests ✅ Set up GitHub Actions workflow ✅ Configured automated testing on every push ✅ Watched my first green build pass Huge thanks to NextWork for this awesome project guide. https://lnkd.in/ef7jj3Zj #CICD #GitHubActions #Python #DevOps #NextWork
To view or add a comment, sign in
-
-
Hurray!!!🥳 I built a broken API It's a little downing, not that I expected to build a project management API from scratch without encountering errors, just ... Just the deadline is past for a long time now and I am now relearning all the concepts from start and reading documentations🥲 But honestly as I go over, the murky concepts are appearing clearer now. I am understanding better how models, views, and urls work to bring to life a functional #Django API. Moving on to DRF and using serialisers. No rush. I may fail the course but I would have a better understanding. The obstacle is the way, right?😅 #Python #DoHardThings #ALX_BE
To view or add a comment, sign in
-
The best way to learn Docker: pull an image, run a container, exec into it—experience beats theory every time. The best way to get started with Docker is to run a few containers from local and DockerHub-hosted images and experience the most typical use cases of the 'docker run' command firsthand. #Docker #DevOps #Containers #DockerHub #LearnDocker #BackendEngineering #SoftwareEngineering #Dockerfile #ContainerOrchestration #CloudNative #Microservices #TechEducation #DockerCommands #Kubernetes #WebDevelopment #Python #NodeJS #DevTools #Infrastructure #HandsOnLearning
To view or add a comment, sign in
-
-
Really great post by Python Snacks that discusses the use of Depot, which is a framework that speeds up your builds compared to the usual Docker setup that most of us are used to. The thing that really caught my attention was, with a setup the author used, they saw a speedup of 33.94% compared to Docker! Incredible! The benefits, while great for people doing solo development, really seem to compound when looked at in a team setting. If someone on your team builds with Depot, the rest of the group can skip that build process, due to the fact that Depot caches that build on their server! If you weren't already sold, it can work as a drop-in replacement in Docker and CI workflows. #Python #PythonSnacks #Depot #Docker #DevOps #CICD #CI #CD #BuildTools #BuildAutomation #SoftwareEngineering #DeveloperExperience #DX #DeveloperTools #Infrastructure #CloudNative #Containers #Containerization #Kubernetes #PlatformEngineering #MLOps #Automation #EngineeringProductivity #Caching #BuildCaching #RemoteCaching #BuildAcceleration #Performance #DeveloperProductivity #TeamCollaboration #DevWorkflow #ComputerScience
To view or add a comment, sign in
-
🎁 I’ve put together a clean, beginner-friendly Docker Images & Containers Cheat Sheet + Guide — and I’m sharing it! This covers everything I wish I had when I started: ✅ Dockerfile essentials ✅ Building, tagging & optimizing images ✅ Running & managing containers ✅ Using volumes, logs, exec, and sharing code ✅ Full Django workflow example ✅ CMD vs ENTRYPOINT demystified Whether you're new to containers or brushing up, this guide is designed to be clear, practical, and production-relevant. 🐳 🧠Want the cheat sheet? I’m happy to share — and I’ll be posting more tech tips like this, so feel free to follow along! #Docker #Containers #DevOps #Python #Django #LearningInPublic #SoftwareEngineering #CheatSheet
To view or add a comment, sign in
-
🐳 Docker in Backend Systems Docker enables reproducible and isolated environments for backend applications. Same code, same behavior — everywhere finally. #Docker #FastAPI #BackendDevelopment #DevOps #SoftwareEngineering #InternLife #Python #Learning
To view or add a comment, sign in
-
Explore related topics
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development