<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
  <channel>
    <title>Tomofumi Chiba - Leaves</title>
    <link>https://leaves.chiba.dev/users/chiba</link>
    <description>Tomofumi Chiba - Leaves</description>
    <image><url>https://leaves.chiba.dev/favicon.ico</url></image>
    
    <item>
      <title>chatbot | Tomofumi Chiba - Leaves</title>
      <link>https://leaves.chiba.dev/posts/454</link>
      <pubDate>Sat, 17 Oct 2026 02:32:18 GMT</pubDate>
      <guid>454</guid>
      <description>chatbot

- chatbot backend
  - AI Gateway, LLM
  - Tool
    - APIs
    - DB
    - ベクトルDB(RAG, ナレッジ)</description>
    </item>
    <item>
      <title>Leaves CLI alias | Tomofumi Chiba - Leaves</title>
      <link>https://leaves.chiba.dev/posts/449</link>
      <pubDate>Sun, 11 Oct 2026 13:23:20 GMT</pubDate>
      <guid>449</guid>
      <description>Leaves CLI alias

```
alias s=&apos;docker run -it --rm oven/bun bunx @chibat/leaves&apos;
```
</description>
    </item>
    <item>
      <title>あえて WSL1 をインストールする | Tomofumi Chiba - Leaves</title>
      <link>https://leaves.chiba.dev/posts/445</link>
      <pubDate>Fri, 02 Oct 2026 10:21:06 GMT</pubDate>
      <guid>445</guid>
      <description>#### あえて WSL1 をインストールする

```
wsl --install Ubuntu --name wsl1
wsl --set-version wsl1 1
```
</description>
    </item>
    <item>
      <title>wslc | Tomofumi Chiba - Leaves</title>
      <link>https://leaves.chiba.dev/posts/444</link>
      <pubDate>Thu, 01 Oct 2026 22:48:51 GMT</pubDate>
      <guid>444</guid>
      <description>#### wslc

```
notepad $PROFILE   # ファイルがなければ先に New-Item -Force $PROFILE
```

```
Set-Alias docker wslc
```
</description>
    </item>
    <item>
      <title>WSL + Docker 環境の使用領域を縮小する | Tomofumi Chiba - Leaves</title>
      <link>https://leaves.chiba.dev/posts/442</link>
      <pubDate>Wed, 09 Sep 2026 06:52:39 GMT</pubDate>
      <guid>442</guid>
      <description>### WSL + Docker 環境の使用領域を縮小する

---

#### 確認

##### WSL の仮想ディスクを確認

PowerShell:

```powershell
Get-ChildItem $env:LOCALAPPDATA -Recurse -Filter ext4.vhdx -ErrorAction SilentlyContinue |
Select-Object FullName,Length
```
ext4.vhdx のパスとサイズが確認できる。

##### Docker 使用量を確認

```bash
docker system df
```

#### 一括削除

```bash
$ docker system prune -a --volumes
```

削除対象:

- 停止済みコンテナ
- 未使用イメージ
- 未使用ネットワーク
- 未使用ボリューム
- Build Cache

#### WSL 仮想ディスクを圧縮

##### WSL 停止

PowerShell:

```powershell
PS &gt; wsl --shutdown
```

##### VHDX 圧縮

管理者 PowerShell:

```
PS &gt; diskpart
DISKPART&gt; select vdisk file=&quot;&lt;ext4.vhdx へのパス&gt;&quot;
DISKPART&gt; compact vdisk
DISKPART&gt; exit
```
削除分が確実に C ドライブへ反映される。

---

#### Appendix

##### Docker ボリューム詳細確認

```bash
docker system df -v
```

#### Docker の不要データ削除

##### Build Cache 削除

```bash
docker builder prune -a
```

##### 停止済みコンテナ削除

```bash
docker container prune
```

##### 未使用イメージ削除

```bash
docker image prune -a
```

##### 未使用 Volume 削除

⚠️ データ削除あり

```bash
docker volume prune
```
</description>
    </item>
  </channel>
</rss>