> 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/kontenaimjisukyan/configuration/automatically-link-repository-to-container-via-smart-suggestions.md).

# スマート提案でリポジトリをコンテナに自動リンク

この機能は、インテリジェントな照合を使用して、コンテナを正しいコードリポジトリに自動的に接続するのに役立ちます。

#### なぜコンテナをリンクするのですか？

* 適切なリポジトリの文脈で、コンテナの脆弱性を直接表示します。
* Dockerfile の問題を自動的に修正できる Container Autofix を利用できるようになります。

### Aikido のスマートサジェストの仕組み

* Aikido は、リポジトリ名と一般的なパスパターンに基づくスマートマッチングを使用します。
* Aikido は、あなたが **確認して承認する**これにより、どの項目がリンクされるかを引き続き管理できます。

### リポジトリを自動的にリンクする手順

Container AutoLink は、インテリジェントな照合を使用して、コンテナを正しいコードリポジトリに自動的に接続するのに役立ちます。

#### なぜコンテナをリンクするのですか？

* 適切なリポジトリの文脈で、コンテナの脆弱性を直接表示します。
* Dockerfile の問題を自動的に修正できる Container Autofix を利用できるようになります。

***

### AutoLink の仕組み

* リポジトリ名と一般的なパスパターンに基づくスマートマッチングを使用します。
* 提案を表示します **確認して承認する**これにより、どの項目がリンクされるかを引き続き管理できます。

***

### Container AutoLink の使い方

{% stepper %}
{% step %}
**開く**[ **コンテナ設定**](https://app.aikido.dev/settings/container-image-registry)

スマートサジェストが利用可能な場合、ページ上部にバナーが表示されます。

<figure><img src="/files/ceeefd132c8c5e3d433062894bf96f9fdbc47fb2" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**提案を確認して承認する**

コンテナに対して提案されたリポジトリリンクを表示する概要ページに移動します。

* 提案された一致をすべて確認してください。
* 確認したいものを選択してください。
* 必要に応じて、リポジトリを調整するか手動でリンクすることもできます。

<figure><img src="/files/abb8d7b510ed1c759dfdd118c5f6b6aeb567c4e6" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}


---

# 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/kontenaimjisukyan/configuration/automatically-link-repository-to-container-via-smart-suggestions.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.
