> 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/self-managed-keeper/self-managed-keeper-overview/installation/auto-docker-install.md). Agents can also search and read this documentation through its [MCP server](https://docs.keeper.io/~gitbook/mcp).

# Auto Docker Install

Install a prebuilt Self-Managed Keeper bundle on a Linux host

## Overview

Auto Docker Install is Self-Managed Keeper's only supported installation method today.

Make sure to read [Preparing for Installation](https://docs.keeper.io/keeperpam/self-managed-keeper/self-managed-keeper-overview/installation/preparing-for-installation.md) first.

The Auto Docker Install method installs a prebuilt bundle onto a dedicated Linux host that already has Docker Engine and the Compose plugin. You do not need a source checkout or build tools.

## Licensing

Before installing, make sure you have a valid license. **Without a valid license, the installer stops before it changes anything.** For more info, see [Licensing](https://docs.keeper.io/keeperpam/self-managed-keeper/self-managed-keeper-overview/licensing.md).

## Installation

**(1) Download the bundle**

Put your license file at `./keeper.license` in the directory you'll run this from, then run:

{% code overflow="wrap" %}

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

{% endcode %}

This verifies your license and lists the available builds. If it's running on a Linux host that can run Self-Managed Keeper, it asks before downloading whether to install on this machine or just save the file (the default). Pass `--install` to skip the question and install. It then downloads the build you choose and checks its integrity. If you chose to install, it unpacks the bundle, puts your license in place, and hands off directly to the guided installer below.

**(2) Run the guided installer**

If the download didn't already hand off to it, unpack the bundle and run the installer from the extracted directory:

```bash
./smk install
```

The installer looks for your license in `install/config/keeper.license`, then for a `.license` file next to the bundle, and asks for its path only if it finds neither.

The installer asks for the inputs covered in [Preparing for Installation](https://docs.keeper.io/keeperpam/self-managed-keeper/self-managed-keeper-overview/installation/preparing-for-installation.md): hostname, service domain, TLS certificate choice, SMTP, the administrator's email and master password, and confirmation of the license it found. If you leave the hostname blank it uses `localhost`, which is reachable only from the host itself. It then shows a summary, with secrets replaced by `********`, before you confirm.

After you confirm, the installer loads images, generates configuration and keys, initializes the databases, starts services, and creates the administrator account. First startup can take several minutes.

## Save the administrator credentials

You choose the administrator's email and master password yourself during installation.

{% hint style="success" %}
Store the administrator's email address and master password in a secure location.
{% endhint %}

## Navigate to the URL in your browser

Once installation completes, open the URLs the installer printed, normally:

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

Sign in with the administrator email you chose. If you're prompted for device approval, request the approval email, enter the code, then enter your master password.

A system status UI providing container availability and system health can be found at:

{% code overflow="wrap" %}

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

{% endcode %}

## Installation Complete!

Before handing the installation to users, check its health:

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

See [Troubleshooting](https://docs.keeper.io/keeperpam/self-managed-keeper/self-managed-keeper-overview/troubleshooting.md) if either command reports a problem.


---

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