<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Kate Angelopoulos on Medium]]></title>
        <description><![CDATA[Stories by Kate Angelopoulos on Medium]]></description>
        <link>https://medium.com/@kangelopoulos?source=rss-734d6a26b9e5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*z4CJCfTm6zErnfozFv3LYA.jpeg</url>
            <title>Stories by Kate Angelopoulos on Medium</title>
            <link>https://medium.com/@kangelopoulos?source=rss-734d6a26b9e5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 18:32:19 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kangelopoulos/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[From Computer Science Drop Out to Full Stack Web Developer]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://blog.stackademic.com/from-computer-science-drop-out-to-full-stack-web-developer-f512571e12f4?source=rss-734d6a26b9e5------2"><img src="https://cdn-images-1.medium.com/max/600/0*Lg-i1dy1BXoBRlis" width="600"></a></p><p class="medium-feed-snippet">Why You Should Ignore Imposter Syndrome</p><p class="medium-feed-link"><a href="https://blog.stackademic.com/from-computer-science-drop-out-to-full-stack-web-developer-f512571e12f4?source=rss-734d6a26b9e5------2">Continue reading on Stackademic »</a></p></div>]]></description>
            <link>https://blog.stackademic.com/from-computer-science-drop-out-to-full-stack-web-developer-f512571e12f4?source=rss-734d6a26b9e5------2</link>
            <guid isPermaLink="false">https://medium.com/p/f512571e12f4</guid>
            <category><![CDATA[development]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[imposter-syndrome]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Kate Angelopoulos]]></dc:creator>
            <pubDate>Mon, 14 Apr 2025 15:28:39 GMT</pubDate>
            <atom:updated>2025-04-14T15:28:39.544Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Yes, You Can Still Land a Junior Developer Job]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://blog.stackademic.com/yes-you-can-still-land-a-junior-developer-job-63ca0c592294?source=rss-734d6a26b9e5------2"><img src="https://cdn-images-1.medium.com/max/600/0*wwwBEoW7SbFXSIC0.jpeg" width="600"></a></p><p class="medium-feed-snippet">Set Yourself Apart on the Job Hunt</p><p class="medium-feed-link"><a href="https://blog.stackademic.com/yes-you-can-still-land-a-junior-developer-job-63ca0c592294?source=rss-734d6a26b9e5------2">Continue reading on Stackademic »</a></p></div>]]></description>
            <link>https://blog.stackademic.com/yes-you-can-still-land-a-junior-developer-job-63ca0c592294?source=rss-734d6a26b9e5------2</link>
            <guid isPermaLink="false">https://medium.com/p/63ca0c592294</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Kate Angelopoulos]]></dc:creator>
            <pubDate>Mon, 14 Apr 2025 15:27:09 GMT</pubDate>
            <atom:updated>2025-04-14T15:27:09.218Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Developing Offline-Ready Web Applications]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://blog.stackademic.com/developing-offline-ready-web-applications-05b2f30c120e?source=rss-734d6a26b9e5------2"><img src="https://cdn-images-1.medium.com/max/600/0*8t42tBsohkshdtUk.jpg" width="600"></a></p><p class="medium-feed-snippet">Service Workers and Progressive Web Apps</p><p class="medium-feed-link"><a href="https://blog.stackademic.com/developing-offline-ready-web-applications-05b2f30c120e?source=rss-734d6a26b9e5------2">Continue reading on Stackademic »</a></p></div>]]></description>
            <link>https://blog.stackademic.com/developing-offline-ready-web-applications-05b2f30c120e?source=rss-734d6a26b9e5------2</link>
            <guid isPermaLink="false">https://medium.com/p/05b2f30c120e</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[progressive-web-app]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Kate Angelopoulos]]></dc:creator>
            <pubDate>Mon, 08 Jan 2024 14:17:29 GMT</pubDate>
            <atom:updated>2024-01-08T17:14:31.353Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Deliver New Content Faster — On Demand ISR]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://blog.stackademic.com/on-demand-incremental-static-regeneration-3aac500641d8?source=rss-734d6a26b9e5------2"><img src="https://cdn-images-1.medium.com/max/898/0*LxTX2pax0KNUGVoQ.jpg" width="898"></a></p><p class="medium-feed-snippet">Static Site Generation | Stale While Revalidate and Incremental Static Regeneration | On-Demand Incremental Static Regeneration</p><p class="medium-feed-link"><a href="https://blog.stackademic.com/on-demand-incremental-static-regeneration-3aac500641d8?source=rss-734d6a26b9e5------2">Continue reading on Stackademic »</a></p></div>]]></description>
            <link>https://blog.stackademic.com/on-demand-incremental-static-regeneration-3aac500641d8?source=rss-734d6a26b9e5------2</link>
            <guid isPermaLink="false">https://medium.com/p/3aac500641d8</guid>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[nextjs]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[nuxt]]></category>
            <dc:creator><![CDATA[Kate Angelopoulos]]></dc:creator>
            <pubDate>Sun, 10 Dec 2023 06:08:00 GMT</pubDate>
            <atom:updated>2023-12-15T02:11:38.367Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Write Clean, Concise, and Debuggable Code in Express.js]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/better-programming/write-clean-concise-and-debuggable-code-in-express-js-41eb9c7824af?source=rss-734d6a26b9e5------2"><img src="https://cdn-images-1.medium.com/max/600/0*pte2PiKou26f1QMS.png" width="600"></a></p><p class="medium-feed-snippet">Requests and response&#x200A;&#x2014;&#x200A;Chain of Responsibility&#x200A;&#x2014;&#x200A;global error handling and logging&#x200A;&#x2014;&#x200A;you don&#x2019;t know what you don&#x2019;t know</p><p class="medium-feed-link"><a href="https://medium.com/better-programming/write-clean-concise-and-debuggable-code-in-express-js-41eb9c7824af?source=rss-734d6a26b9e5------2">Continue reading on Better Programming »</a></p></div>]]></description>
            <link>https://medium.com/better-programming/write-clean-concise-and-debuggable-code-in-express-js-41eb9c7824af?source=rss-734d6a26b9e5------2</link>
            <guid isPermaLink="false">https://medium.com/p/41eb9c7824af</guid>
            <category><![CDATA[api]]></category>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[typescript]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[expressjs]]></category>
            <dc:creator><![CDATA[Kate Angelopoulos]]></dc:creator>
            <pubDate>Mon, 10 Jul 2023 16:16:14 GMT</pubDate>
            <atom:updated>2023-08-05T00:27:32.824Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[New Web Developers Should Start With Vue, Not React]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/better-programming/new-web-developers-should-start-with-vue-not-react-6b6ebff9f20a?source=rss-734d6a26b9e5------2"><img src="https://cdn-images-1.medium.com/max/1000/0*17L7hqvcHtMG0yS-.jpeg" width="1000"></a></p><p class="medium-feed-snippet">Vue is easier to learn. Vue is more opinionated. Vue will help you level up your skills</p><p class="medium-feed-link"><a href="https://medium.com/better-programming/new-web-developers-should-start-with-vue-not-react-6b6ebff9f20a?source=rss-734d6a26b9e5------2">Continue reading on Better Programming »</a></p></div>]]></description>
            <link>https://medium.com/better-programming/new-web-developers-should-start-with-vue-not-react-6b6ebff9f20a?source=rss-734d6a26b9e5------2</link>
            <guid isPermaLink="false">https://medium.com/p/6b6ebff9f20a</guid>
            <category><![CDATA[learning-to-code]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[vue]]></category>
            <dc:creator><![CDATA[Kate Angelopoulos]]></dc:creator>
            <pubDate>Tue, 21 Mar 2023 15:35:11 GMT</pubDate>
            <atom:updated>2023-03-21T15:35:11.975Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[The Emerging Paradigms for Delivering Web Content Faster]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/better-programming/the-emerging-paradigms-for-delivering-content-faster-6b9927d317d2?source=rss-734d6a26b9e5------2"><img src="https://cdn-images-1.medium.com/max/2400/0*rQbLb5xg-E0Y5hMj" width="2400"></a></p><p class="medium-feed-snippet">Caching static and dynamic content&#x200A;&#x2014;&#x200A;CDNs and Edge Computing</p><p class="medium-feed-link"><a href="https://medium.com/better-programming/the-emerging-paradigms-for-delivering-content-faster-6b9927d317d2?source=rss-734d6a26b9e5------2">Continue reading on Better Programming »</a></p></div>]]></description>
            <link>https://medium.com/better-programming/the-emerging-paradigms-for-delivering-content-faster-6b9927d317d2?source=rss-734d6a26b9e5------2</link>
            <guid isPermaLink="false">https://medium.com/p/6b9927d317d2</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Kate Angelopoulos]]></dc:creator>
            <pubDate>Wed, 01 Feb 2023 18:31:48 GMT</pubDate>
            <atom:updated>2023-03-10T22:14:07.231Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Why You Should Use Islands Architecture]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/better-programming/why-you-should-use-islands-architecture-b4f291708a02?source=rss-734d6a26b9e5------2"><img src="https://cdn-images-1.medium.com/max/1800/1*D7JIFrazcz1fFNGo2uAP9w.jpeg" width="1800"></a></p><p class="medium-feed-snippet">A peek into the future of frontend development</p><p class="medium-feed-link"><a href="https://medium.com/better-programming/why-you-should-use-islands-architecture-b4f291708a02?source=rss-734d6a26b9e5------2">Continue reading on Better Programming »</a></p></div>]]></description>
            <link>https://medium.com/better-programming/why-you-should-use-islands-architecture-b4f291708a02?source=rss-734d6a26b9e5------2</link>
            <guid isPermaLink="false">https://medium.com/p/b4f291708a02</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[react]]></category>
            <dc:creator><![CDATA[Kate Angelopoulos]]></dc:creator>
            <pubDate>Mon, 26 Dec 2022 04:42:21 GMT</pubDate>
            <atom:updated>2023-07-22T20:00:02.381Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[What I Love (and Don’t Love) About Deno]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/better-programming/what-i-love-about-deno-af35d1f46d?source=rss-734d6a26b9e5------2"><img src="https://cdn-images-1.medium.com/max/1920/0*yQmG_f76396PiuRq" width="1920"></a></p><p class="medium-feed-snippet">The good, the not-so-great, and the undecided</p><p class="medium-feed-link"><a href="https://medium.com/better-programming/what-i-love-about-deno-af35d1f46d?source=rss-734d6a26b9e5------2">Continue reading on Better Programming »</a></p></div>]]></description>
            <link>https://medium.com/better-programming/what-i-love-about-deno-af35d1f46d?source=rss-734d6a26b9e5------2</link>
            <guid isPermaLink="false">https://medium.com/p/af35d1f46d</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[deno]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[typescript]]></category>
            <category><![CDATA[nodejs]]></category>
            <dc:creator><![CDATA[Kate Angelopoulos]]></dc:creator>
            <pubDate>Wed, 14 Dec 2022 13:23:00 GMT</pubDate>
            <atom:updated>2022-12-17T19:31:04.058Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Getting to Know Docker]]></title>
            <link>https://medium.com/@kangelopoulos/getting-to-know-docker-fb0d46630eb7?source=rss-734d6a26b9e5------2</link>
            <guid isPermaLink="false">https://medium.com/p/fb0d46630eb7</guid>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[node]]></category>
            <dc:creator><![CDATA[Kate Angelopoulos]]></dc:creator>
            <pubDate>Wed, 14 Dec 2022 01:51:41 GMT</pubDate>
            <atom:updated>2022-12-14T01:51:41.296Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/601/1*w3l90-zM56VVhrpfNiZUaw.png" /></figure><h4>The Basics — Docker Files — Docker Commands — Is Docker Dying?</h4><p>Docker is a Platform as a Service (PaaS) that containerizes applications. It was founded in 2008, hosted its first DockerCon in 2014, and now boasts over <a href="https://dh2i.com/blog/enterprise-it-in-2022-docker-has-fallen-but-containers-will-rise/">12 million</a> registered developers. <a href="https://stackshare.io/docker">Stackshare.io</a> has reports that over 8700 companies utilize Docker. These include names as big as Twitter, Spotify, and Pinterest. If you don’t know what the hype is about, you probably entered the field late enough to take this technology for granted. This article will catch you up on what Docker is, its basic files and commands, and then take a peak at whether Docker is a dying technology.</p><h3>The Basics</h3><p>Here we are going to cover four main concepts in Docker: containers, images, volumes, and the daemon.</p><h4>Containers</h4><p>A container is very similar to virtual machines. Virtual machines (VMs) are software-based computers that run on physical machines (the host). Many VMs can run on one host computer. VMs have their own operating system, and are run via a layer of software called a hypervisor. <a href="https://medium.com/@kangelopoulos/the-cloud-computing-revolution-f4666281d00">VMs were the backbone of cloud computing</a>, which allowed companies to sell extra computing resources by boxing up numerous customer applications in virtual machines and running them on one host machine that might previously have been underutilized.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*snINBI0HUIYa0BWKyCO3Xg.jpeg" /><figcaption>VMs versus containers. <a href="https://www.weave.works/blog/a-practical-guide-to-choosing-between-docker-containers-and-vms">source</a></figcaption></figure><p>Containers, like VMs, bundle up applications so that resources from a single host can be shared. However, containers do not have their own operating system. Instead, they contain only an application and its dependencies (binaries, libraries). Containers operating on one host share a container engine and a host operating system with each other.</p><p>This makes containers lightweight. They are fast to modify and iterate on. VMs may take a few minutes to start, while containers take a few milliseconds. They are also extremely portable, making them ideal for cloud-native applications, many of which are constructed of microservices all working in tandem. However, this speed is at the expense of security. Containers are less secure than VMs because they share the OS and underlying hardware. This means that a vulnerability in one container could be exploited and spread to the rest of the containers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wKaDOvQ1qdf2wEkl.png" /><figcaption>A comparison of VMs and Docker Containers. <a href="https://k21academy.com/docker-kubernetes/docker-vs-virtual-machine/">source</a></figcaption></figure><p>Hopefully you see now why containers became so popular. VMs are great, but they are bulky and slow to start up. This makes it difficult to deploy changes. With containers, you can easily create and deploy changes. These are important traits in today’s CI/CD world, where we want updates and we want them <em>now</em>.</p><h4>Images</h4><p>It’s important here to distinguish between images and containers, both of which are the backbone of Docker. Images, also called snapshots, are very similar to containers in that they box up the application alongside its dependencies. However, images are read-only templates that describe how a container will be created. A container is an actual runtime instance of that image.</p><p>Think of images like blueprints. Containers are the machines built from that blueprint. You can build out multiple containers from one Docker image. It’s also important to note that while images are read-only, containers are a read-write. Although you can alter containers, you are only altering a copy of the image filesystem. A new container spun up from this image will not contain any of the changes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*z2ZkVTixNcRlAZJu" /><figcaption>A Docker Image with 4 layers and the read/write containers run from it. <a href="https://jfrog.com/knowledge-base/a-beginners-guide-to-understanding-and-building-docker-images/">source</a></figcaption></figure><p>Images can also be layered on top of one another. Each step in a Dockerfile represents a new layer. These layers will add new utilities or libraries to the containers that are generated from this image. The container is like a read-write layer on top of these image layers. This combination of read-only layers with one exposed read-write layer is called a Union File System.</p><p>Layers cache build steps to help reduce redundancy. This means if you change a Dockerfile, it will use the build from the last unchanged layer (or line) in your file to rebuild the entire sequence instead of starting from the base image. You can also generate containers from any specific layer — you don’t always need to start at the base image. All image layers are read-only.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/0*1dvOBUDXphar7eqM.jpg" /><figcaption>Each image layer adds an additional level of functionality. <a href="https://stackoverflow.com/questions/55174274/understanding-docker-layers-and-future-changes">source</a></figcaption></figure><p>Having images create containers instead of creating containers as a first step helps make applications even more portable. Images can be easily shared between developers and any two containers created from a single image are guaranteed to have the same dependencies. This helps mitigate problems where an application will run on one developer’s computer, but not another’s.</p><h4>Volumes</h4><p>Remember the Union File System that was mentioned a few paragraphs ago? This was the file system that contained the read-only image layers followed by a read-write container layer. Volumes are also file systems but they are not stored in the Union File System. Instead, they are stored on the host computer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/502/0*qA_UNcHEj3HK4IRF.png" /><figcaption>Volumes are stored in the Docker Area of the filesystem on the host machine. <a href="https://docs.docker.com/storage/bind-mounts/">source</a></figcaption></figure><p>Volumes allow a developer to persist data between different containers. It also allows this data to persist past the lifecycle of the target container(s). After or while creating a volume, you can mount that volume on a container. It will then have access to the data inside of that volume. Keep in mind that it will also have read/write privileges: changes the container makes to the files will be reflected in the host file system.</p><h4>Docker Daemon vs the CLI</h4><p>The Docker Daemon is a server that runs on a host computer’s operating system. It is a server that exposes a REST API for interaction with the Docker CLI. The daemon only runs on Linux so in MacOS and Windows machines it runs in a VM with a Linux operating system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4Wy3H3IolafPH28o.png" /><figcaption>The Docker CLI interacts with the Docker Daemon. <a href="https://techso.ca/docker-une-application-de-virtualisation/">source</a></figcaption></figure><p>The Docker CLI is how a user interacts with the Docker Daemon. As a user, you can type in commands like docker run, docker compose, or docker ps. These commands are sent from the CLI through the REST API to the Docker Daemon and then any necessary logic is performed. The container engine for Docker is a combination of the Docker CLI, REST API, and Docker Daemon.</p><h3>Docker Files</h3><p>Docker involves a few different files during setup. The two most basic files are called .dockerignore and Dockerfile. For real-world, production level applications, your Dockerfile may require a multistage build. Additionally, to start up multiple container applications, you will need at least one Docker composer YAML file. These will be covered in a later article. Let’s dig into the other two file types now.</p><h4>.dockerignore</h4><p>If you have used version control (for example, Git), this should be pretty self exclamatory. This is the file you use to have <em>docker ignore</em> a set of files or folders when building an image. This is extremely important. The smaller your image build is, the smaller the attack plane for malicious actors, the speedier the building process, and the lower the total cost for your storage.</p><h4>Dockerfile</h4><p>The next file to consider is the Dockerfile. This text file will contain the instructions to build your Docker image(s). Dockerfiles are basically a collection of commands that could be run using the Docker CLI, but are instead conglomerated into one file for ease-of-use.</p><p>Each line in the Dockerfile contains a command and is followed by some type of argument for that command. These commands start with a base image — for example, if you’re build a Node.js application, you might write:</p><pre>FROM node:16</pre><p>This indicates that your base image will be a copy of Node.js v16. Other Dockerfile commands include RUN (to run commands to build your image), WORKDIR (to indicate the working directory for your application), COPY (to copy files into your image), CMD (to run a specified command indicated in brackets <em>after </em>launching the built image), and EXPOSE (to expose a specified port at runtime) to name a few.</p><p>A simple Dockerfile for a Node.js application might look like this:</p><pre># base image of node v16<br>FROM node:16<br><br># indicate a working directory of /usr/src/app<br>WORKDIR /usr/src/app<br><br># copy the package.json file<br>COPY package\*.json .<br><br># install dependencies<br>RUN npm install<br><br># expose port 3000 for your server<br>EXPOSE 3000</pre><h4>Multistage Builds</h4><p>Dockerfiles can also include multistage builds. This is a method of creating builds that are optimized for some purpose. A great example would be differentiating builds for development and production. Before multistage builds were introduced, you might have been stuck with nodemon running on a production level container. This type of bloat on an image or container increases its size which, as we covered before, slows down build times and increases the attack surface for malicious actors.</p><p>Multistage builds will contain multiple FROM commands. A classic example would be to create a base FROM statement, installing node, creating your working directory, and copying some necessary files like package.json before then adding two more FROM commands, one for dev and one for production. In each build, you would use the AS keyword to differentiate the purpose of the build. We will take a closer look at this in the tutorial that will follow this article.</p><h3>Docker Commands</h3><p>Docker commands are run via the Docker CLI. Once you are connected to the Docker daemon, you can run commands in your terminal to, for example, build an image with the following command:</p><pre>docker build -t [name your image repo] -f [dockerfile name]</pre><p>Here the ‘-t’ flag indicates that the following argument will be a name for your new image and the ‘-f’ flag indicates the name of your Dockerfile. You can list your new image using:</p><pre>docker images</pre><p>This command will show you all of your images, with the repo name, tag, image ID, dated created, and size. You can then run a specific image and create a container using:</p><pre>docker run [image name]</pre><p>You can add a variety of flags to your docker run command, such as ‘ — env’ to specify an environment variable. To list the containers that are currently running you can use:</p><pre>docker ps</pre><p>This will show you a variety of information about the containers that are currently running, including a Docker generated name if you failed to specify your own name for a container using the ‘ — name’ flag when you run your image. You can stop your container with:</p><pre>docker stop [container ID OR name]</pre><p>You can also specify the amount of time you want to wait before stopping your container with the ‘-t’ or ‘ — time’ flag followed by the number of seconds to wait before stopping it. Or, if you prefer to stop it with no possibility of the command being blocked, you can kill it:</p><pre>docker kill [container ID OR name]</pre><p>These are just a few of the basic commands you can encounter with Docker. There are many others to explore that you can check out by running:</p><pre>docker --help</pre><p>Or navigate to the Docker documentation to learn more.</p><h3>Is Docker Dying?</h3><p>This was a question I ran across just prior to writing this article. One of the major platforms for managing containerized applications, Kubernetes (K8), deprecated the old stack that utilized a translator between K8 and Docker called <a href="https://kodekloud.com/blog/kubernetes-removed-docker-what-happens-now/">dockershim</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*VeaujO2RKTem86zG.png" /><figcaption>The old K8 stack with dockershim. <a href="https://kodekloud.com/blog/kubernetes-removed-docker-what-happens-now/">source</a></figcaption></figure><p>They decided to simplify their stack in late 2021 by including a mini-translator in the Container Runtime Interface (CRI) that allows them to cut the middleman out of the equation. That also cuts out the bloat of Docker.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*WMfTSokyCU4at7Qr.png" /><figcaption>It does look simpler… right? <a href="https://kodekloud.com/blog/kubernetes-removed-docker-what-happens-now/">source</a></figcaption></figure><p>This accompanied some predictions that Docker would eventually die out. As of right now, the statistics at the top of this article remain. This is in part because you can still utilize Docker containers with K8. These containers are <em>not</em> Docker specific. Right now, companies and developers can still use K8 with Docker exactly the way they did before, albeit with a deprecation warning.</p><p>Although this does specify a change from the K8 development team, this does not signal the end of Docker. It’s still a vital technology for developers to learn as it is the preeminent containerization platform available right now. However, technologies change and outcompete each other all the time in the developer space. Just think about the fact that React.js was released about 9 years ago and rose to become the dominant front-end framework the very next year. It’s anyone’s guess when Docker will actually meet its end and what bright new technology will come in to replace it.</p><p>Be on the lookout for my next article that will walk you through containerizing your first application with Docker.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fb0d46630eb7" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>