> For the complete documentation index, see [llms.txt](https://docs.keeper.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.keeper.io/keeperpam/jp/self-managed-keeper/self-managed-keeper-overview/installation/auto-docker-install.md).

# 自動Dockerインストール

構築済みのセルフマネージド型KeeperバンドルをLinuxホストにインストール

## 概要 <a href="#overview" id="overview"></a>

自動Dockerインストールは、現在、セルフマネージド型Keeperで利用できる唯一のインストール方法です。

最初に[インストールの準備](https://docs.keeper.io/keeperpam/jp/self-managed-keeper/self-managed-keeper-overview/installation/preparing-for-installation.md)をお読みください。

自動Dockerインストールでは、Docker EngineとComposeプラグインがインストール済みの専用Linuxホストに、構築済みのバンドルをインストールします。ソースのチェックアウトやビルドツールは不要です。

## ライセンス <a href="#licensing" id="licensing"></a>

インストールの前に、有効なライセンスがあることを確認してください。**有効なライセンスがない場合、インストーラは何も変更せずに停止します。** 詳しくは、[ライセンス](https://docs.keeper.io/keeperpam/jp/self-managed-keeper/self-managed-keeper-overview/licensing.md)をご参照ください。

## インストール <a href="#installation" id="installation"></a>

1. **バンドルをダウンロード**

ライセンスファイルを、実行するディレクトリの `./keeper.license` に置き、以下を実行します。

{% code overflow="wrap" %}

```bash
curl -fsSL https://keepersecurity.com/pam/smk/get | sh -s -- --license-file keeper.license
```

{% endcode %}

ライセンスを検証し、利用可能なビルドを一覧表示します。セルフマネージド型Keeperを実行できるLinuxホストで実行している場合は、ダウンロードの前に、このマシンにインストールするか、ファイルの保存のみを行うか (デフォルト) を尋ねられます。`--install` を指定すると、この質問をスキップしてインストールします。その後、選択したビルドをダウンロードし、整合性を確認します。インストールを選択した場合は、バンドルを展開してライセンスを所定の場所に配置し、以下のガイド付きインストーラに直接引き継ぎます。

2. **ガイド付きインストーラを実行**

ダウンロードの際にインストーラに引き継がれなかった場合は、バンドルを展開し、展開したディレクトリからインストーラを実行します。

```bash
./smk install
```

インストーラは、まず `install/config/keeper.license` にあるライセンスを探し、次にバンドルと同じ場所にある `.license` ファイルを探します。どちらも見つからない場合にのみ、パスの入力を求められます。

インストーラでは、[インストールの準備](https://docs.keeper.io/keeperpam/jp/self-managed-keeper/self-managed-keeper-overview/installation/preparing-for-installation.md)で取り上げた項目を入力します。ホスト名、サービスドメイン、TLS証明書の選択、SMTP、管理者のメールアドレスとマスターパスワード、そして見つかったライセンスの確認です。ホスト名を空欄にすると `localhost` が使用され、ホスト自身からのみ到達できます。その後、シークレットを `********` に置き換えた概要が表示され、確認を求められます。

確認すると、インストーラはイメージを読み込み、構成と鍵を生成し、データベースを初期化し、サービスを起動して、管理者アカウントを作成します。初回の起動には数分かかる場合があります。

## 管理者の認証情報を保存 <a href="#save-the-administrator-credentials" id="save-the-administrator-credentials"></a>

管理者のメールアドレスとマスターパスワードは、インストール中にご自身で設定します。

{% hint style="success" %}
管理者のメールアドレスとマスターパスワードは、安全な場所に保管してください。
{% endhint %}

## ブラウザでURLにアクセス <a href="#navigate-to-the-url-in-your-browser" id="navigate-to-the-url-in-your-browser"></a>

インストールが完了したら、インストーラが表示したURLを開きます。通常は以下のとおりです。

```
https://keeper.example.com/vault/
https://keeper.example.com/console/
```

選択した管理者のメールアドレスでサインインします。デバイス承認を求められたら、承認メールをリクエストし、コードを入力してから、マスターパスワードを入力します。

コンテナの稼働状況とシステムのヘルスを確認できるシステムステータスUIは、以下にあります。

{% code overflow="wrap" %}

```
https://keeper.example.com/status/
```

{% endcode %}

## インストール完了 <a href="#installation-complete" id="installation-complete"></a>

インストールをユーザーに引き渡す前に、ヘルスを確認します。

```bash
./smk status
./smk doctor
```

どちらかのコマンドで問題が報告された場合は、[トラブルシューティング](https://docs.keeper.io/keeperpam/jp/self-managed-keeper/self-managed-keeper-overview/troubleshooting.md)をご参照ください。


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.keeper.io/keeperpam/jp/self-managed-keeper/self-managed-keeper-overview/installation/auto-docker-install.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
