Adminer
:whale: Tiniest boxed dockerized Adminer (MySQL, PostgreSQL, SQLite, Mongo, Oracle) Dockerfiles
Install / Use
/learn @dockette/AdminerREADME

Prologue
There are few variants of this adminer image based:
- full (mysql, pgsql, sqlite, mongo)
- mysql (only)
- pgsql (only)
- mongo (only)
- mssql (only)
- oracle-11 / oracle-12 / oracle-19 (only)
- dg (custom)
Features
- Alpine Linux (full, editor, dg, mongo, mysql, postgres)
- Debian Bookworm (mssql, oracle-11, oracle-12, oracle-19)
- PHP 8 (concurrency via PHP cli workers)
Usage
docker run \
--rm
-p 8000:80
dockette/adminer:dg
By default container is running with these settings, you can override it using environment variables.
MEMORY=256M(memory_limit)UPLOAD=2048M(upload_max_filesize, post_max_size)PORT=80(PHP server listening port)WORKERS=4(concurrency)
docker run \
--rm
-p 8000:8080
-e MEMORY=512M
-e UPLOAD=4096M
-e PORT=8080
dockette/adminer:dg
Versions
| Image | Technologies | Size | Docker Hub | |------------------------------|---------------------------------------|------|---------------------------------------------------------| | dockette/adminer | MySQL / PostgreSQL / MongoDB / Sqlite | 12mb | link | | dockette/adminer:full | MySQL / PostgreSQL / MongoDB / Sqlite | 12mb | link | | dockette/adminer:mysql | MySQL | 9mb | link | | dockette/adminer:pgsql | PostgreSQL | 8mb | link | | dockette/adminer:mongo | MongoDB | 9mb | link | | dockette/adminer:mssql | MS SQL Server | - | link | | dockette/adminer:dg | MySQL / PostgreSQL / MongoDB / Sqlite | 16mb | link |
dockette/adminer:mssql
Debian-based image with Microsoft ODBC Driver 18 and PHP sqlsrv / pdo_sqlsrv extensions.
docker run \
--rm \
-p 8080:80 \
dockette/adminer:mssql
By default, TrustServerCertificate is set to yes so the image works out of the box with self-signed certificates (common in development). You can control encryption behavior via environment variables:
| Variable | Description | Default |
|---|---|---|
| ADMINER_PLUGIN_MSSQL_ENCRYPT | Set to 0 to disable the encryption plugin | enabled |
| ADMINER_MSSQL_ENCRYPT | yes, no, or strict | not set |
| ADMINER_MSSQL_TRUST_CERT | yes or no | yes |
dockette/adminer:dg
Customization for the best database management tool written in PHP, Adminer
You should take a look to the official github profile (https://github.com/dg/adminer-custom).

Plugins
Adminer plugins can be enabled via environment variables. All plugins are disabled by default. Available for all image variants except dg.
Autologin
Skips the login form and connects directly to a database server.
| Variable | Description |
|---|---|
| ADMINER_PLUGIN_AUTOLOGIN=1 | Enable the autologin plugin |
| ADMINER_AUTOLOGIN_SERVER | DSN connection string |
DSN format: driver://username:password@host:port/database
docker run \
--rm \
-p 8080:80 \
-e ADMINER_PLUGIN_AUTOLOGIN=1 \
-e ADMINER_AUTOLOGIN_SERVER=server://root:secret@mysql:3306/mydb \
dockette/adminer:full
Supported drivers: server (MySQL/MariaDB), pgsql, sqlite, mongo, oracle, elastic.
Server List
Displays a dropdown of pre-configured database servers with an Auto Sign-In button. Credentials are handled server-side and never exposed to the browser.
| Variable | Description |
|---|---|
| ADMINER_PLUGIN_SERVER_LIST=1 | Enable the server list plugin |
| ADMINER_SERVERS_<Name> | DSN for each server (suffix becomes the display name) |
docker run \
--rm \
-p 8080:80 \
-e ADMINER_PLUGIN_SERVER_LIST=1 \
-e ADMINER_SERVERS_MySQL=server://root:secret@mysql:3306/mydb \
-e ADMINER_SERVERS_PostgreSQL=pgsql://postgres:pwd@pg:5432/app \
-e ADMINER_SERVERS_DevDB=server://dev@devhost:3306 \
dockette/adminer:full
Servers without credentials in the DSN (e.g. server://devhost:3306) appear in the dropdown but require manual login. The Auto Sign-In button only appears for servers with stored credentials.
Note: Autologin takes precedence over Server List. If both plugins are enabled, only Autologin is activated.
Themes
You can apply a theme by setting the ADMINER_THEME environment variable:
docker run \
--rm
-p 8000:80
-e ADMINER_THEME=dracula
dockette/adminer:full
If the specified theme is not found, the container will list all available themes.
Available Themes
<table> <tr> <td align="center"><strong>default</strong><br><img src=".docs/assets/themes/default.png" width="200"></td> <td align="center"><strong>adminer-dark</strong><br><img src=".docs/assets/themes/adminer-dark.png" width="200"></td> <td align="center"><strong>brade</strong><br><img src=".docs/assets/themes/brade.png" width="200"></td> <td align="center"><strong>bueltge</strong><br><img src=".docs/assets/themes/bueltge.png" width="200"></td> <td align="center"><strong>dracula</strong><br><img src=".docs/assets/themes/dracula.png" width="200"></td> </tr> <tr> <td align="center"><strong>esterka</strong><br><img src=".docs/assets/themes/esterka.png" width="200"></td> <td align="center"><strong>flat</strong><br><img src=".docs/assets/themes/flat.png" width="200"></td> <td align="center"><strong>galkaev</strong><br><img src=".docs/assets/themes/galkaev.png" width="200"></td> <td align="center"><strong>haeckel</strong><br><img src=".docs/assets/themes/haeckel.png" width="200"></td> <td align="center"><strong>hever</strong><br><img src=".docs/assets/themes/hever.png" width="200"></td> </tr> <tr> <td align="center"><strong>konya</strong><br><img src=".docs/assets/themes/konya.png" width="200"></td> <td align="center"><strong>lavender-light</strong><br><img src=".docs/assets/themes/lavender-light.png" width="200"></td> <td align="center"><strong>lucas-sandery</strong><br><img src=".docs/assets/themes/lucas-sandery.png" width="200"></td> <td align="center"><strong>mancave</strong><br><img src=".docs/assets/themes/mancave.png" width="200"></td> <td align="center"><strong>mvt</strong><br><img src=".docs/assets/themes/mvt.png" width="200"></td> </tr> <tr> <td align="center"><strong>nette</strong><br><img src=".docs/assets/themes/nette.png" width="200"></td> <td align="center"><strong>ng9</strong><br><img src=".docs/assets/themes/ng9.png" width="200"></td> <td align="center"><strong>nicu</strong><br><img src=".docs/assets/themes/nicu.png" width="200"></td> <td align="center"><strong>pappu687</strong><br><img src=".docs/assets/themes/pappu687.png" width="200"></td> <td align="center"><strong>paranoiq</strong><br><img src=".docs/assets/themes/paranoiq.png" width="200"></td> </tr> <tr> <td align="center"><strong>pepa-linha</strong><br><img src=".docs/assets/themes/pepa-linha.png" width="200"></td> <td align="center"><strong>pokorny</strong><br><img src=".docs/assets/themes/pokorny.png" width="200"></td> <td align="center"><strong>price</strong><br><img src=".docs/assets/themes/price.png" width="200"></td> <td align="center"><strong>rmsoft</strong><br><img src=".docs/assets/themes/rmsoft.png" width="200"></td> <td align="center"><strong>rmsoft_blue</strong><br><img src=".docs/assets/themes/rmsoft_blue.png" width="200"></td> </tr> <tr> <td align="center"><strong>rmsoft_blue-dark</strong><br><img src=".docs/assets/themes/rmsoft_blue-dark.png" width="200"></td> <td align="center"><strong>win98</strong><br><img src=".docs/assets/themes/win98.png" width="200"></td> <td></td> <td></td> <td></td> </tr> </table>Upgrade
Upgrade Adminer and Adminer Editor versions to X.Y.Z
ADMINER_VERSION=4.8.1 make update-versions
Maintenance
See how to contribute to this package.
