> 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ゼロのベースイメージのレジストリです。報告済みの **CRITICAL** または **HIGH** 重大なセキュリティ問題。Aikido Image を使用する AutoFix の提案を受け入れると、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) は Trixie と Sid では Debian により修正されていますが、Bookworm では修正されていません。Aikido Images 版の `debian:bookworm` には、 `glib2.0` のパッチ適用版が含まれており、この脆弱性を修正します。このイメージを使用すると、良好なセキュリティ態勢を維持しながら破壊的変更を避けられます。

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

## AutoFix で Aikido Images を使用する

1. Aikido で、 **コンテナ**に移動します。セキュリティ問題のあるコンテナについては、そのエントリのケバブメニューを選択し、 **AutoFix をプレビュー** をクリックします（その問題で AutoFix が利用可能な場合）。
   1. **注:** 代わりに、 **AutoFix > Containers** をクリックします **修正を表示** へ **ステータス** 列からその問題を確認できます。
2. コンテナ向けの AutoFix は、利用可能な場合に Aikido Image を自動的に提案します。そのイメージは `docker.aikido.io`.

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

この例では、 `node:20-bookworm` ベースイメージを使用している Dockerfile を確認します。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` アーキテクチャの両方で利用できます。

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

をクリック `Show Path` をクリックすると、ベースイメージの完全なパスを確認できます。次のようになります:

```
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.
