# Database images

For convenience, Docker images for both MySQL and PostgreSQL are provided which automatically initialize themselves using the Apache Guacamole database schema:

<table><thead><tr><th width="284.3333333333333">Image name</th><th>Base image</th><th>Description</th></tr></thead><tbody><tr><td><a href="/pages/FUGlIM7D5ZI0PmccUy2v"><code>keeper/guacamole-db-mysql</code></a></td><td><a href="https://hub.docker.com/_/mysql"><code>mysql:5</code></a></td><td>An instance of MySQL, automatically initialized with the Apache Guacamole database schema.</td></tr><tr><td><a href="/pages/P7RtZ2zsWj858OWlEWyU"><code>keeper/guacamole-db-postgres</code></a></td><td><a href="https://hub.docker.com/_/postgres"><code>postgres:11</code></a></td><td>An instance of PostgreSQL, automatically initialized with the Apache Guacamole database schema.</td></tr></tbody></table>

Each of these images:

* Is based off Docker's official images for the same databases, and thus each accepts the same core environment variables.
* Accepts a common set of Guacamole-specific environment variables defining the name to be used for Guacamole's database and the reduced-privilege credentials to be used by Guacamole to execute queries.
* Requires the same `ACCEPT_EULA` environment variable as the [`keeper/guacamole`](/keeper-connection-manager/installation/docker-compose-install/keeper-guacamole.md) and [`keeper/guacd`](/keeper-connection-manager/installation/docker-compose-install/keeper-guacd.md) images.

The images may be used as part of an entirely Dockerized deployment of Apache Guacamole, or separately as an easier method of deploying a functional, pre-initialized, and supported database. When combined with the [`keeper/guacamole`](/keeper-connection-manager/installation/docker-compose-install/keeper-guacamole.md) and [`keeper/guacd`](/keeper-connection-manager/installation/docker-compose-install/keeper-guacd.md) images using [docker-compose](https://github.com/docker/compose), an entire deployment of Apache Guacamole can be created and managed using a single `docker-compose.yml`.


---

# 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/installation/docker-compose-install/database-images.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.
