> 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/oracle-container-registry.md).

# Oracle Container Registry

このガイドを使用して、Oracle コンテナレジストリを Aikido に接続し、イメージスキャンを行います。<br>

Aikido に必要なのは読み取り（pull）権限のみで、すべてのリポジトリの一覧を表示できる必要があります。イメージの push、変更、削除は一切行いません。

## 前提条件

* Oracle Container Registry のレジストリ URL（docker login 時に使用するもの）
* スキャンしたいリポジトリに対して pull 権限を持つユーザー。

  対象を最小限のリポジトリまたは名前空間に絞り、リポジトリ一覧を取得できることを確認してください。
* （任意）レジストリがファイアウォールの内側にある場合は、Aikido の送信元 IP を許可リストに追加してください。

## 設定

### ステップ 1: Aikido 用の認証情報を作成する

* 正しい権限を持つ新しいユーザーを作成します。pull 権限を持ち、すべてのリポジトリを表示できる必要があります。
* [認証トークンを生成する](https://docs.oracle.com/en-us/iaas/Content/Registry/Tasks/registrygettingauthtoken.htm) この新しいユーザー用に。

### ステップ 2: docker login で確認する

Aikido に接続する前に、認証情報がローカルで機能することを確認してください。

```
docker logout example.ocir.io 2>/dev/null || true
docker login example.ocir.io
# ユーザー名: <your-username-or-service-account>
# パスワード: <your-access-token-or password>
```

次に、既知のイメージを pull して権限を確認します:

```
docker pull registry.example.ocir.io/namespace/image:tag
```

これが失敗する場合は、レジストリ内のトークンのスコープまたはリポジトリ権限を調整してください。

### ステップ 3: Aikido にレジストリを追加する

Oracle Container Registry 用の明示的な項目はありませんが、OCI オプションは Oracle Container Registry を含む多くのコンテナレジストリで動作します。

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

Container image registry connection で、以下を入力してください:

| Aikido 内の項目 | 入力内容                         | 例                        |
| ----------- | ---------------------------- | ------------------------ |
| ユーザー名       | 作成したユーザー名またはサービス/ロボットアカウント   | robot\_aikido            |
| アクセストークン    | docker login で使用したトークン/パスワード | ••••••••                 |
| レジストリ名      | レジストリのホスト名（プロトコルなし）          | registry.example.ocir.io |

「保存」をクリックします。


---

# 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/oracle-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.
