<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Debug on zeromake 的个人博客</title><link>/tags/debug/</link><description>Recent content in Debug on zeromake 的个人博客</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Mon, 15 Jun 2020 18:12:42 +0800</lastBuildDate><atom:link href="/tags/debug/index.xml" rel="self" type="application/rss+xml"/><item><title>docker 容器调试新姿势</title><link>/pages/docker-debug/</link><pubDate>Fri, 22 Mar 2019 04:32:21 +0000</pubDate><guid>/pages/docker-debug/</guid><description>&lt;h2 id="一前言">一、前言&lt;/h2>
&lt;ol>
&lt;li>我在平时工作中经常使用 &lt;code>docker&lt;/code> 来创建自己的开发环境，比如 &lt;code>mysql&lt;/code>, &lt;code>redis&lt;/code> 之类的。&lt;/li>
&lt;li>有些时候需要把现有的容器里的服务配置进行变更，&lt;code>docker exec&lt;/code> 进入容器后发现很多基础命令工具(vim, nano)都没有，这让我很苦恼。&lt;/li>
&lt;li>再后来看到 &lt;a href="https://github.com/aylei">@github/aylei&lt;/a> 的 &lt;a href="https://github.com/aylei/kubectl-debug">kubectl-debug&lt;/a> 发现了容器之间可以共享各种资源。&lt;/li>
&lt;li>但是 &lt;code>kubectl-debug&lt;/code> 只能够提供给 &lt;code>kubernetes&lt;/code> 进行使用，所以我这边模仿了 &lt;code>kubectl-debug&lt;/code> 写了一个 &lt;a href="https://github.com/zeromake/docker-debug">docker-debug&lt;/a>。&lt;/li>
&lt;/ol></description></item></channel></rss>