<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>互联网 &#8211; 晨阳博客</title>
	<atom:link href="https://zhangchenyang.cn/category/jsj/hlw/feed" rel="self" type="application/rss+xml" />
	<link>https://zhangchenyang.cn</link>
	<description>欢迎来到张晨阳的博客</description>
	<lastBuildDate>Thu, 17 Nov 2022 06:11:55 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>【转】如何删除docker中的镜像</title>
		<link>https://zhangchenyang.cn/230.html</link>
		
		<dc:creator><![CDATA[晨阳]]></dc:creator>
		<pubDate>Thu, 17 Nov 2022 06:11:55 +0000</pubDate>
				<category><![CDATA[互联网]]></category>
		<category><![CDATA[转载]]></category>
		<guid isPermaLink="false">http://zhangchenyang.cn/?p=230</guid>

					<description><![CDATA[查找需要删除的镜像 sudo docker images 查询所有docker容器 sudo doc&#8230; <a href="https://zhangchenyang.cn/230.html" class="more-link read-more" rel="bookmark">继续阅读 <span class="screen-reader-text">【转】如何删除docker中的镜像</span><i class="fa fa-arrow-right"></i></a>]]></description>
										<content:encoded><![CDATA[<ul>
<li>查找需要删除的镜像</li>
</ul>
<p style="padding-left: 40px;"><code>sudo docker images</code></p>
<ul>
<li>查询所有docker容器</li>
</ul>
<p style="padding-left: 40px;"><code>sudo docker ps -a</code></p>
<ul>
<li>停掉所需要删除镜像的容器</li>
</ul>
<p style="padding-left: 40px;"><code>docker rm CONTAINER ID</code></p>
<ul>
<li>删除镜像</li>
</ul>
<p style="text-align: left; padding-left: 40px;"><code>docker rmi bf756fb1ae65</code></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>[转]停止、删除所有的docker容器和镜像</title>
		<link>https://zhangchenyang.cn/169.html</link>
		
		<dc:creator><![CDATA[晨阳]]></dc:creator>
		<pubDate>Tue, 06 Jul 2021 13:24:41 +0000</pubDate>
				<category><![CDATA[互联网]]></category>
		<guid isPermaLink="false">http://zhangchenyang.cn/?p=169</guid>

					<description><![CDATA[列出所有的容器 ID 1 docker ps -aq 停止所有的容器 1 docker stop $&#8230; <a href="https://zhangchenyang.cn/169.html" class="more-link read-more" rel="bookmark">继续阅读 <span class="screen-reader-text">[转]停止、删除所有的docker容器和镜像</span><i class="fa fa-arrow-right"></i></a>]]></description>
										<content:encoded><![CDATA[<div>
<h2>列出所有的容器 ID</h2>
<table>
<tbody>
<tr class="firstRow">
<td>
<pre>1</pre>
</td>
<td>
<pre>docker ps -aq</pre>
</td>
</tr>
</tbody>
</table>
<h2>停止所有的容器</h2>
<table>
<tbody>
<tr class="firstRow">
<td>
<pre>1</pre>
</td>
<td>
<pre>docker stop $(docker ps -aq)</pre>
</td>
</tr>
</tbody>
</table>
<h2>删除所有的容器</h2>
<table>
<tbody>
<tr class="firstRow">
<td>
<pre>1</pre>
</td>
<td>
<pre>docker rm $(docker ps -aq)</pre>
</td>
</tr>
</tbody>
</table>
<h2>删除所有的镜像</h2>
<table>
<tbody>
<tr class="firstRow">
<td>
<pre>1</pre>
</td>
<td>
<pre>docker rmi $(docker images -q)</pre>
</td>
</tr>
</tbody>
</table>
</div>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
