> 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/standalone-registries/gitlab-self-managed-container-registry.md).

# GitLab Self-Managed Container Registry

Aikido と GitLab のセルフマネージド Container Registry を連携して、既知の脆弱性がないかコンテナをスキャンできます。

この機能を有効にするには、以下の簡単な手順に従ってください:

**ステップ 1:** GitLab アカウントにログインして、いくつかのデータを取得します。

ユーザー名を取得する必要があります（スクリーンショット参照）

![](/files/11eda05f49e5e375c832defb54c1e13e3707a496)

**ステップ 2:** Container Registry があるグループ ID をコピーします（スクリーンショット参照）

![](/files/66258b2216a8a90a9114f5e4abce9ce00785c2af)

**ステップ 3:** に移動し **個人設定** >> **アクセストークン**、そして Aikido 用の新しい個人アクセストークンを作成します（[直接リンク](https://gitlab.com/-/user_settings/personal_access_tokens)）。正しいスコープを設定してください: `read_api`, `read_registry`

{% hint style="warning" %}
必ず **Personal Access Token**を作成し、 **Impersonation Token**.
{% endhint %}

![](/files/42352d80950c44fbd382fc7d9d6f7e5755108981)

**ステップ 4:** 収集したデータを Aikido に入力します（直接リンク: <https://app.aikido.dev/settings/container-image-registry/add/gitlab-self>)

![必要な認証情報を使って GitLab のセルフホスト型コンテナイメージレジストリを接続するフォーム。](/files/97a42303c7c0d1d03f496b2ee0d4a748ab5bf405)

**ステップ 5:** Aikido がアクセス可能なすべてのコンテナリポジトリを見つけて一覧表示します。

**ステップ 6:** リポジトリは、検出結果の重複排除をより適切に行うためにコードリポジトリにリンクできます。この手順は任意です！

**ステップ 7:** レジストリ横のアクションメニューで「scan repos in registry」をクリックして開始します。結果は Feed に表示されます！

***


---

# 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/standalone-registries/gitlab-self-managed-container-registry.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.
