> For the complete documentation index, see [llms.txt](https://help.aikido.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.aikido.dev/docs/docs-ja/autofix-to/scope/autofix-for-containers-using-aikido-images.md).

# コンテナ向けAutoFix：Aikidoイメージ

ベースイメージを最新バージョンに更新するのは、アプリケーションへの変更が必要になる場合があるため難しいことがあります。より新しいベースイメージへの更新が現実的でない場合は、次を使用することで安全を維持できます **Aikido Images**.

Aikido Images は、CVE がゼロのベースイメージのレジストリです。報告された **CRITICAL** または **HIGH** 重大度の高いセキュリティ問題。Aikido Imageを使用するAutoFix提案を受け入れると、AikidoレジストリのイメージがDockerfile内の既存のベースイメージに置き換わります。

例えば、 [CVE-2025-4373](https://security-tracker.debian.org/tracker/CVE-2025-4373) は Debian により Trixie と Sid では修正されていますが、Bookworm では修正されていません。Aikido Images 版の `debian:bookworm` にはパッチ適用済みのバージョンが含まれています `glib2.0` これによりこの脆弱性が修正されます。このイメージを使用すると、良好なセキュリティ体制を維持しながら破壊的変更を回避できます。

Aikido Imagesは、新しいCVEが報告されるたびに継続的に再ビルドされるため、依存しているベースイメージは常に最新の状態に保たれ、AutoFixが適切な更新を表示します。

## AutoFixでAikido Imagesを使用する

1. Aikidoで、次へ移動します **コンテナー**。セキュリティ問題のあるコンテナでは、そのエントリのケバブメニューを選択し、 **AutoFixをプレビュー** （その問題でAutoFixが利用可能な場合）。
   1. **注意：** 代わりに、次へ移動することもできます **AutoFix > コンテナ** に移動し、 **表示** の下の **ステータス** その問題の列。
2. コンテナ向けのAutoFixは、利用可能な場合に自動的にAikido Imageを提案します。イメージは次でホストされています `docker.aikido.io`.

<figure><img src="/files/b7d163abb1eb83830657cc861951caeb803c06e7" alt=""><figcaption></figcaption></figure>

この例では、次を使用しているDockerfileが表示されています `node:20-bookworm` ベースイメージ。Aikido Imagesのバリアントに切り替えることで、そのベースイメージに存在する322件の問題が解決されます。

3. 次を選択します **PRを作成** 修正を適用するために、SCMでプルリクエストを開きます。

### ローカルスキャナーでAikido Imagesを使用する

次を使ってイメージをスキャンする場合にも、Aikido Imagesを利用できます [Aikido Local Scanner](/docs/docs-ja/kontenaimjisukyan/local-image-scanning/setting-up-image-scanning-with-local-scanner.md)。Aikidoがソースコードにアクセスできない場合はローカルスキャナーが使用されるため、AutoFixはDockerfileに対してプルリクエストを開くことができません。代わりに、AikidoはUIで提案されたAikido Imageを表示し、以下の [ベースイメージを手動で変更する](#manually-changing-the-base-image) 手順に従って変更を自分で適用します。

## Aikido Images の利用可能状況

Aikidoでは、利用可能なベースイメージを次で表示できます **AutoFix** > **コンテナー** > **Aikido Images**.

<figure><img src="/files/a59c2d13689e6ba126efdbf837beb42370214d02" alt=""><figcaption></figcaption></figure>

すべてのイメージは次の両方で利用可能です `amd64` および `arm64` アーキテクチャ。

### ベースイメージを手動で変更する

クリック `パスを表示` ベースイメージの完全なパスを表示します。次のようになります：

```
docker.aikido.io/<token>/<image>:<tag>
```

トークンは、あなたのAikidoアカウントに固有の読み取り専用トークンです。例として、Debian Bookwormから対応するAikido Imageに切り替える方法は次のとおりです。Dockerfileでは、

```
FROM debian:bookworm
```

を次に設定します:

```
FROM docker.aikido.io/<token>/debian:bookworm
```

を置き換えるのを忘れないでください `<token>` を、Aikido UIに表示されているトークンに置き換えてください。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.aikido.dev/docs/docs-ja/autofix-to/scope/autofix-for-containers-using-aikido-images.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
