# アップグレード

{% hint style="warning" %}
ご利用の環境に変更を加える前に、「[バックアップと復元](https://newdocs.keeper.io/kcm-linux-rpm-method/installation/backup-and-recovery)」のページに記載されている手順に従ってバックアップを取ることをお勧めします。
{% endhint %}

Docker Composeインストールメソッドを使用した場合、Keeperコネクションマネージャーのdockerイメージをすべて更新するには、以下のコマンドを実行します (`docker-compose.yml`が現在のフォルダにあることが前提となります)。

```
sudo docker-compose pull
sudo docker-compose up -d
```

元々Docker自動インストールメソッド (kcm-setup.runスクリプト) を使用してインストールした場合は、以下のコマンドを実行します。

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

プロンプトが表示されると「Y」を選択します。

***

アップグレード中に何らかの問題が発生した場合には[トラブルシューティングのページ](/keeper-connection-manager/jp/troubleshooting.md)をご参照ください。


---

# 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/docker-compose-install/upgrading.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.
