<?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 Ashokkumar Ulligaddala on Medium]]></title>
        <description><![CDATA[Stories by Ashokkumar Ulligaddala on Medium]]></description>
        <link>https://medium.com/@ashokkumar.ulligaddala?source=rss-13ff49cd6948------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*WffgobrI0EpVHBcP</url>
            <title>Stories by Ashokkumar Ulligaddala on Medium</title>
            <link>https://medium.com/@ashokkumar.ulligaddala?source=rss-13ff49cd6948------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 10:53:30 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ashokkumar.ulligaddala/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 Containers to LLMs: My Hands-On Experiment with Docker Model Runner]]></title>
            <link>https://medium.com/@ashokkumar.ulligaddala/from-containers-to-llms-my-hands-on-experiment-with-docker-model-runner-3d514757aa9e?source=rss-13ff49cd6948------2</link>
            <guid isPermaLink="false">https://medium.com/p/3d514757aa9e</guid>
            <category><![CDATA[containerization]]></category>
            <category><![CDATA[ai-model]]></category>
            <category><![CDATA[llm-model]]></category>
            <dc:creator><![CDATA[Ashokkumar Ulligaddala]]></dc:creator>
            <pubDate>Sun, 20 Sep 2026 16:19:33 GMT</pubDate>
            <atom:updated>2026-09-20T16:54:41.867Z</atom:updated>
            <content:encoded><![CDATA[<p>From Containers to LLMs: My Hands-On Experiment with Docker Model Runner</p><h3>From Containers to LLMs: My Hands-On Experiment with Docker Model Runner</h3><h3>Introduction</h3><p>Docker is traditionally associated with packaging and running applications in containers.</p><p>But the ecosystem is expanding into another interesting area:</p><p><strong>AI model execution.</strong></p><p>I recently explored <strong>Docker Model Runner (DMR)</strong> to understand how an LLM can be pulled, managed and executed locally using Docker.</p><p>The objective of this POC was simple:</p><blockquote><strong><em>Can I download an LLM through Docker, run it locally, and interact with it without building a separate AI infrastructure stack?</em></strong></blockquote><p>The answer is yes.</p><p>In this article, I’ll walk through my hands-on POC, including:</p><ul><li>Prerequisites</li><li>Verifying Docker Model Runner</li><li>Discovering available models</li><li>Pulling an LLM</li><li>Checking downloaded models</li><li>Running a one-shot prompt</li><li>Starting an interactive conversation</li><li>What I learned</li><li>Where this can go next</li></ul><h3>What is Docker Model Runner?</h3><p>Docker Model Runner provides a Docker-native way to <strong>manage and run AI models locally</strong>.</p><p>Current Docker documentation describes DMR as supporting models from Docker Hub, OCI-compliant registries and Hugging Face, with local model execution through Docker.</p><p>Conceptually:</p><pre>               Docker<br>                 |<br>        Docker Model Runner<br>                 |<br>          Local AI Model<br>                 |<br>        ┌────────┴────────┐<br>        |                 |<br>    CLI / App        AI Tooling.<br><br><br></pre><p>This makes the model feel much more like another local development dependency.</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><h3>Why would a DevOps engineer care?</h3><p>This was the interesting part for me.ff</p><p>Running an LLM locally can be useful for:</p><h3>1. Local experimentation</h3><p>Developers can experiment with AI-powered functionality without immediately provisioning a complete cloud-based inference environment.</p><h3>2. Data privacy</h3><p>For local model execution, prompts can stay on the local machine rather than being sent to an external model provider. Docker’s current documentation states that prompt content and responses are not collected by Docker Model Runner.</p><h3>3. Cost considerations</h3><p>Local execution doesn’t involve a per-token API charge once the model has been downloaded, although the machine still incurs compute, memory, storage and power costs.</p><h3>4. Developer productivity</h3><p>A locally hosted model can act as a backend for AI-powered development tools. Docker documents integrations with OpenAI-compatible clients and coding assistants.</p><h3>5. Infrastructure learning</h3><p>For DevOps engineers, it introduces another interesting workload:</p><p><strong>How do we run, expose, monitor, secure and scale AI inference?</strong></p><p>That’s where this becomes much more than simply running a chatbot.</p><h3>Prerequisites</h3><p>For my POC, I used Docker Desktop.</p><ul><li><strong>Docker Desktop:</strong> 4.40+</li><li><strong>RAM:</strong> 8 GB minimum recommended for this POC</li><li><strong>CPU:</strong> Modern Intel Core i5 / AMD Ryzen 5 or equivalent</li><li><strong>GPU:</strong> Optional for CPU-based inference; GPU acceleration requires supported hardware and drivers</li><li><strong>Storage:</strong> Sufficient disk space for the LLM model and Docker data</li></ul><h3>Step 1 — Verify Docker Model Runner</h3><p>The first step in my POC was checking whether the Docker Model Runner CLI functionality was available.</p><pre>docker model -h</pre><p>This displays the available Docker Model Runner commands.</p><p>My POC screenshot shows the Docker Model Runner help output, including commands such as bench, df, gateway, and inspect.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*BJ2LIz67_hKBn4NP1PB49A.png" /></figure><p>One thing I found interesting is that the docker model command is essentially giving us a Docker-native interface for working with AI models.</p><h3>Step 2 — Explore Available Models</h3><p>Docker Model Runner supports models from sources including Docker Hub and Hugging Face.</p><p>The original POC explored models such as:</p><ul><li>Llama</li><li>SmolLM</li><li>Phi</li></ul><p>Docker registry for AI models : <a href="https://hub.docker.com/u/ai">https://hub.docker.com/u/ai</a></p><p>For the experiment, I selected <strong>Llama 3.2</strong>.</p><p><strong>Step 3 — Pull the Llama 3.2 Model</strong></p><p>I used:</p><pre>docker model pull ai/llama3.2</pre><p>The command downloads the model to the local environment.</p><p>Docker’s current documentation also supports pulling models directly from Hugging Face and allows selecting specific quantized variants</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*jniI4bvi26awXEuKoQ3fLQ.png" /></figure><h3>An Important Observation: LLMs Are BIG</h3><p>This was one of the practical observations from my POC.</p><p>The model download shown in my experiment was approximately:</p><p><strong>2.019 GB</strong></p><p>The document notes that even though the model is being managed through Docker, the model itself can still consume significant disk space.</p><p>This is an important distinction:</p><blockquote><strong><em>Containerization doesn’t magically make an LLM lightweight.</em></strong></blockquote><p>The model still requires the underlying compute and memory needed for inference.</p><p>This becomes particularly important when thinking about:</p><ul><li>Developer laptops</li><li>CI environments</li><li>Kubernetes nodes</li><li>GPU-enabled infrastructure</li><li>Production inference</li></ul><h3>Step 4 — Check Locally Available Models</h3><p>Once the model is downloaded, we can list locally available models.</p><pre>docker model list</pre><p>The original POC uses this command to verify the pulled model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UhZUZTcQ2YxLhStWd5SnLA.png" /></figure><p>This is similar to the workflow we’re already familiar with in Docker:</p><p><strong>Pull → Store locally → Run</strong></p><p>but now the artifact is an AI model.</p><h3>Step 5 — Run a Prompt</h3><p>Now comes the interesting part.</p><p>Instead of starting a separate application, I can send a prompt directly to the model:</p><pre>docker model run llama3.2 &quot;Give me a sample Kubernetes yaml file&quot;</pre><p>The original POC demonstrates exactly this workflow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*a5IHrUt-OfxF9PRlj0vH9Q.png" /></figure><p>The model generated a Kubernetes Deployment example in response.<br>This is where the experiment starts becoming interesting for a DevOps engineer. We’re no longer just managing containers.</p><p>We’re running an AI model that can understand and generate infrastructure-related content.</p><h3>Step 6 — Interactive Chat</h3><p>We can also start the model without passing a prompt:</p><pre>docker model run llama3.2</pre><p>This starts an interactive chat experience.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*PJ36Uzi4A6Ug-X4-fUt-dQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*zsyMQP6CY4Or2OLFW4xbRQ.png" /></figure><p>For example, I asked the model about generating Kubernetes YAML and kubectl commands.</p><p>The interaction becomes:</p><pre>Developer<br>    ↓<br>Docker Model Runner<br>    ↓<br>Local LLM<br>    ↓<br>Response</pre><h3>What I Learned From This POC</h3><p>The biggest takeaway wasn’t simply:</p><blockquote><em>“I can run Llama using Docker.”</em></blockquote><p>The more interesting takeaway was:</p><blockquote><strong><em>AI models are becoming another type of workload that infrastructure engineers need to understand.</em></strong></blockquote><p>We’re already comfortable thinking about:</p><pre>Application<br>    ↓<br>Container<br>    ↓<br>Kubernetes<br>    ↓<br>Cloud Infrastructure<br>    ↓<br>Monitoring</pre><p>Now imagine:</p><pre>AI Application<br>      ↓<br>LLM Inference API<br>      ↓<br>Model Runtime<br>      ↓<br>LLM<br>      ↓<br>GPU / CPU / Memory</pre><p>That introduces a completely different set of infrastructure questions.</p><p><strong>How do we integrate this LLM into an application?</strong></p><pre>Application → API → Docker Model Runner → LLM → Response</pre><p>Docker Model Runner provides API compatibility for popular AI tooling, making application integration possible.</p><p>This opens the door to <strong>Docker Compose, Kubernetes, GPU workloads, observability, security, and scaling.</strong></p><p>And that’s where <strong>DevOps + AI infrastructure</strong> gets really interesting.</p><h3>What’s Next?</h3><p>The next step is integrating the LLM into an application:</p><p><strong>Application → API → Docker Model Runner → LLM → Response</strong></p><p>This opens the door to exploring <strong>Docker Compose, Kubernetes, GPU workloads, observability, and scaling AI workloads.</strong></p><p>🚀 <strong>In the next article, I’ll show how to integrate a locally running LLM with an application using Docker Model Runner.</strong></p><p>From <strong>running an LLM</strong> to <strong>building an application that uses one.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3d514757aa9e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>