<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Dockerfile on Han's XYZ</title><link>https://han8931.github.io/tags/dockerfile/</link><description>Recent content in Dockerfile on Han's XYZ</description><generator>Hugo</generator><language>en</language><managingEditor>tabularasa8931@gmail.com (Han)</managingEditor><webMaster>tabularasa8931@gmail.com (Han)</webMaster><copyright>This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.</copyright><lastBuildDate>Sat, 20 Sep 2025 09:08:54 +0900</lastBuildDate><atom:link href="https://han8931.github.io/tags/dockerfile/index.xml" rel="self" type="application/rss+xml"/><item><title>Docker Tutorial Part 3: Dockerfile</title><link>https://han8931.github.io/docker-dockerfile/</link><pubDate>Sat, 13 Sep 2025 00:00:00 +0000</pubDate><author>tabularasa8931@gmail.com (Han)</author><guid>https://han8931.github.io/docker-dockerfile/</guid><description>&lt;p&gt;This is part of my &lt;strong&gt;Docker Basics&lt;/strong&gt; series — introductory guides to help you get started with Docker, learn key concepts, and build your skills step by step.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Part 1: &lt;a href="https://han8931.github.io/docker-basics/" target="_blank" rel="noopener noreffer "&gt;Understanding Container&lt;/a&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Part 2: &lt;a href="https://han8931.github.io/docker-commands/" target="_blank" rel="noopener noreffer "&gt;Basic Commands&lt;/a&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Part 3: &lt;a href="https://han8931.github.io/docker-dockerfile/" target="_blank" rel="noopener noreffer "&gt;Dockerfile&lt;/a&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Part 4: &lt;a href="https://han8931.github.io/docker-networks/" target="_blank" rel="noopener noreffer "&gt;Networks&lt;/a&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="basic-commands"&gt;Basic Commands&lt;/h2&gt;
&lt;p&gt;A &lt;code&gt;Dockerfile&lt;/code&gt; is essentially a text file with a predetermined structure that contains a set of instructions for building a Docker image. The instructions in the Dockerfile specify what base image to start with (for example, Ubuntu 20.04), what software to install, and how to configure the image. The purpose of a Dockerfile is to automate the process of building a Docker image so that the image can be easily reproduced and distributed.&lt;/p&gt;</description></item></channel></rss>