> 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 Images

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

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

{% hint style="info" %}
Aikido Images は、定義された [パッチ作成 SLA](/docs/docs-ja/autofix-to/faq/patch-creation-sla.md)のもとで OS レベルの CVE をカバーします。アプリケーションレベルのパッケージ脆弱性（Python、npm、Java、Go など）も修正されますが、SLA の保証はなく、ベストエフォートで対応します。アプリケーションレベルの保証された対応については、 [Aikido Libraries](/docs/docs-ja/autofix-to/aikido-libraries-overview.md).
{% endhint %}

たとえば、 [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> を置き換えるのを忘れないでください `<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.
