# パッケージの追加

Docker自動インストール方式を使用する場合、生成されたDocker Composeファイルを直接変更することでパッケージを追加できます。SSOまたはLDAPのサポートの追加はこの手順で行います。

Keeperコネクションマネージャーの環境を変更するには、以下の場所にある`docker-compose.yml`ファイルを編集します。

**`/etc/kcm-setup/docker-compose.yml`**

**設定の変更を適用する**

kcm-setup.run スクリプトには`apply`機能があり、コンテナを更新せずに設定の変更を適用できます。Linuxコマンド ラインから、curlコマンドを使用して最新のインストーラースクリプトに更新します。

```
curl -O https://keepersecurity.com/kcm/kcm-setup.run
```

変更を適用します。

```
sudo ./kcm-setup.run apply
```

**コンテナを更新して再起動します**

環境を更新するには、`kcm-setup.run upgrade`コマンドを使用してコンテナを更新し、最新の設定を使用して起動します。

```
sudo ./kcm-setup.run stop
sudo ./kcm-setup.run upgrade
```

または以下を行います。

```
sudo su
cd /etc/kcm-setup/
docker-compose -p kcm up -d
```

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


---

# Agent Instructions: 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:

```
GET https://docs.keeper.io/keeper-connection-manager/jp/installation/auto-docker-install/adding-packages.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
