> 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/service-management.md). Agents can also search and read this documentation through its [MCP server](https://docs.keeper.io/~gitbook/mcp).

# Service Management

Auto Docker Install service management

### Overview

The Auto Docker Install method starts a set of containers automatically once installation completes: the vault, the admin console, their databases, the mail sender that delivers through your SMTP server, the front-door reverse proxy, and, when the PAM routing tier is enabled (the default), the routing and relay services.

The installer also writes a `.env` file and a `config/` directory under `install/` in the directory you extracted the bundle into. Together with the bundle's `install/compose.yml`, these are the configuration files that manage the multi-container deployment. If you need to make further changes, use the `./smk` commands below rather than editing and restarting Docker Compose directly, so the installation keeps its ownership labels.

### Managing the Service

From inside the extracted bundle directory, the `./smk` command manages the entire deployment and its underlying containers.

| Command                        | Description                                                                      |
| ------------------------------ | -------------------------------------------------------------------------------- |
| `./smk up`                     | Start, or reconcile after a configuration change, every selected service         |
| `./smk down`                   | Stop every service. Non-destructive; installation data is preserved              |
| `./smk status`                 | Show what's running                                                              |
| `./smk doctor`                 | Check whether the parts of the deployment agree with each other                  |
| `./smk version`                | Identify the installed build's exact version                                     |
| `./smk wizard`                 | Open the guided backup, restore, and upgrade menu                                |
| `./smk backup --output <path>` | Capture a verified backup. The installation stays in maintenance afterwards      |
| `./smk restore <backup>`       | Restore from a verified backup                                                   |
| `./smk support collect`        | Create a sanitized archive for a support case                                    |
| `./smk remove`                 | Delete the containers and Docker volumes. Destructive; asks you to type `remove` |
| `./smk help`                   | List every available command                                                     |

Every selected core service restarts automatically after a host reboot. A service you stopped explicitly stays stopped.

## Stored Data

Self-Managed Keeper separates what each operation affects:

| Data                                                                        | Where it lives                                                          | Survives                        |
| --------------------------------------------------------------------------- | ----------------------------------------------------------------------- | ------------------------------- |
| Databases and audit events                                                  | Docker volumes                                                          | `./smk down`                    |
| Attachments and other stored files                                          | a host directory (`KEEPER_FILES_PATH`, `install/data/files` by default) | `./smk down` and `./smk remove` |
| Hostname, TLS, mail settings, generated secrets, the database root password | the extracted directory (`install/.env` and `install/config/`)          | deleting containers and volumes |

{% hint style="danger" %}
Removing the Docker volumes deletes the vaults which cannot be undone.
{% endhint %}

{% hint style="danger" %}
Removing the extracted directory deletes both the auto-generated secrets and any uploaded file attachments.
{% endhint %}


---

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