<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans">
	<id>https://wiki.fangc.top/index.php?action=history&amp;feed=atom&amp;title=Docker%E6%9E%84%E5%BB%BA%E4%B8%80%E4%B8%AA%E9%95%9C%E5%83%8F</id>
	<title>Docker构建一个镜像 - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.fangc.top/index.php?action=history&amp;feed=atom&amp;title=Docker%E6%9E%84%E5%BB%BA%E4%B8%80%E4%B8%AA%E9%95%9C%E5%83%8F"/>
	<link rel="alternate" type="text/html" href="https://wiki.fangc.top/index.php?title=Docker%E6%9E%84%E5%BB%BA%E4%B8%80%E4%B8%AA%E9%95%9C%E5%83%8F&amp;action=history"/>
	<updated>2026-04-19T17:53:02Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://wiki.fangc.top/index.php?title=Docker%E6%9E%84%E5%BB%BA%E4%B8%80%E4%B8%AA%E9%95%9C%E5%83%8F&amp;diff=1152&amp;oldid=prev</id>
		<title>2023年7月11日 (二) 03:52 FC</title>
		<link rel="alternate" type="text/html" href="https://wiki.fangc.top/index.php?title=Docker%E6%9E%84%E5%BB%BA%E4%B8%80%E4%B8%AA%E9%95%9C%E5%83%8F&amp;diff=1152&amp;oldid=prev"/>
		<updated>2023-07-11T03:52:12Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
新建一个文件目录来操作&amp;lt;syntaxhighlight lang=&amp;quot;linux-config&amp;quot;&amp;gt;&lt;br /&gt;
[root@localhost ~]# mkdir dockerdemo&lt;br /&gt;
[root@localhost ~]# ls&lt;br /&gt;
anaconda-ks.cfg  mysql80-community-release-el7-2.noarch.rpm  ql&lt;br /&gt;
dockerdemo       opencart-4.0.2.1.zip                        upload&lt;br /&gt;
[root@localhost ~]# cd dockerdemo/&lt;br /&gt;
[root@localhost dockerdemo]# ls&lt;br /&gt;
[root@localhost dockerdemo]#&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;新建一个名为[[Dockerfile]]的文件（构建出一个什么镜像全靠dockerfile怎么编辑）&amp;lt;syntaxhighlight lang=&amp;quot;linux-config&amp;quot;&amp;gt;&lt;br /&gt;
touch Dockerfile&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;运行命令构建镜像&amp;lt;syntaxhighlight lang=&amp;quot;linux-config&amp;quot;&amp;gt;&lt;br /&gt;
docker build -t your-custom-image:tag .&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;不出意外这样就构件完了&lt;br /&gt;
[[分类:Docker]]&lt;/div&gt;</summary>
		<author><name>FC</name></author>
	</entry>
</feed>