Understanding Docker Layers

Docker is an incredibly versatile tool for developers to build, package, ship, and run applications. In this tutorial, we take a stab at understanding how to build efficient Dockerfiles for faster build times and what are things to look out for. Building Docker Image Let’s take an example if a flask application that returns a simple string. Sample app.py file: from flask import Flask app = Flask(__name__) @app.route('/') def hello_world(): return 'Hello world!...

April 29, 2023 · 8 min · Kishan Reddy

A Beginner’s Guide to Docker

Note: This blog was originally posted at https://medium.com/kishanreddy1810/a-beginners-guide-to-docker-4915d691b972 You’re one of the cool kids. You have heard of Docker and know that you can package your code in a container and run it in an isolated environment. You’ve heard a lot of companies are using it to build, test and deploy their applications from development to production. But you haven’t had the chance to work with Docker. I wonder, would you still be one of the cool kids if word of this got out?...

July 15, 2019 · 12 min · Kishan Reddy