<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Centos on Zayn's Blog</title><link>https://blog.treesir.pub/tags/centos/</link><description>Recent content in Centos on Zayn's Blog</description><generator>Hugo -- gohugo.io</generator><language>zh-cn</language><managingEditor>yangzun@treesir.pub (Zayn)</managingEditor><webMaster>yangzun@treesir.pub (Zayn)</webMaster><copyright>2021-2026 Zayn</copyright><lastBuildDate>Thu, 14 Jan 2021 20:09:58 +0800</lastBuildDate><atom:link href="https://blog.treesir.pub/tags/centos/index.xml" rel="self" type="application/rss+xml"/><item><title>记录一次，因误删容器导致的容器恢复过程</title><link>https://blog.treesir.pub/posts/delete-container-reset/</link><pubDate>Thu, 14 Jan 2021 20:09:58 +0800</pubDate><author>yangzun@treesir.pub (Zayn)</author><guid>https://blog.treesir.pub/posts/delete-container-reset/</guid><description>&lt;h2 class="relative group">环境说明
&lt;div id="环境说明" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#%e7%8e%af%e5%a2%83%e8%af%b4%e6%98%8e" aria-label="锚点">#&lt;/a>
&lt;/span>
&lt;/h2>
&lt;blockquote>
&lt;p>因在日常维护过程中&lt;code>升级了docker的版本&lt;/code> ，碰到了一个 docker 的一个 &lt;a
href="https://treesir.pub/post/rancher-upgrade-docker"
target="_blank"
>&lt;code>bug&lt;/code>&lt;/a>, 导致 docker 服务无法正常启动。在恢复 docker 服务的过程中把 &lt;code>/var/lib/docker/containers&lt;/code> 下的所有文件给 &lt;code>清空&lt;/code> 了，清空后 docker 服务可以正常运行，但发现原来的服务中还存留着一个还在使用的 &lt;code>cmdb&lt;/code> 系统也被我跟着删除了，是之前的前辈部署的。好在自己有 &lt;code>做备份&lt;/code> 的习惯，现记录一下被删除容器的恢复过程。&lt;/p></description></item></channel></rss>