{"user":"library","name":"adminer","namespace":"library","repository_type":"image","status":1,"status_description":"active","description":"Database management in a single PHP file.","is_private":false,"is_automated":false,"star_count":982,"pull_count":413243338,"last_updated":"2026-11-28T17:48:35.479142Z","last_modified":"2026-11-25T19:12:02.904327Z","date_registered":"2017-01-27T21:45:14.651335Z","collaborator_count":0,"affiliation":null,"hub_user":"library","has_starred":false,"full_description":"# Quick reference\n\n-\t**Maintained by**:  \n\t[Tim Düsterhus (of the Docker Community)](https://github.com/TimWolla/docker-adminer)\n\n-\t**Where to get help**:  \n\t[the Docker Community Slack](https://dockr.ly/comm-slack), [Server Fault](https://serverfault.com/help/on-topic), [Unix \u0026 Linux](https://unix.stackexchange.com/help/on-topic), or [Stack Overflow](https://stackoverflow.com/help/on-topic)\n\n# Supported tags and respective `Dockerfile` links\n\n-\t[`6.3.1`, `6`, `latest`, `6.3.1-standalone`, `6-standalone`, `standalone`](https://github.com/TimWolla/docker-adminer/blob/c7030156876cd2e939b6ae3e9cca95faea0d28eb/6/Dockerfile)\n\n-\t[`6.3.1-fastcgi`, `6-fastcgi`, `fastcgi`](https://github.com/TimWolla/docker-adminer/blob/c7030156876cd2e939b6ae3e9cca95faea0d28eb/6/fastcgi/Dockerfile)\n\n-\t[`5.5.1`, `5`, `5.5.1-standalone`, `5-standalone`](https://github.com/TimWolla/docker-adminer/blob/5f14885ec2f8ad8b2a5b94b42017cced5cae3e45/5/Dockerfile)\n\n-\t[`5.5.1-fastcgi`, `5-fastcgi`](https://github.com/TimWolla/docker-adminer/blob/5f14885ec2f8ad8b2a5b94b42017cced5cae3e45/5/fastcgi/Dockerfile)\n\n# Quick reference (cont.)\n\n-\t**Where to file issues**:  \n\t[https://github.com/TimWolla/docker-adminer/issues](https://github.com/TimWolla/docker-adminer/issues?q=is:issue+is:pr)\n\n-\t**Supported architectures**: ([more info](https://github.com/docker-library/official-images#architectures-other-than-amd64))  \n\t[`amd64`](https://hub.docker.com/r/amd64/adminer/), [`arm32v6`](https://hub.docker.com/r/arm32v6/adminer/), [`arm32v7`](https://hub.docker.com/r/arm32v7/adminer/), [`arm64v8`](https://hub.docker.com/r/arm64v8/adminer/), [`i386`](https://hub.docker.com/r/i386/adminer/), [`ppc64le`](https://hub.docker.com/r/ppc64le/adminer/), [`riscv64`](https://hub.docker.com/r/riscv64/adminer/), [`s390x`](https://hub.docker.com/r/s390x/adminer/)\n\n-\t**Published image artifact details**:  \n\t[repo-info repo's `repos/adminer/` directory](https://github.com/docker-library/repo-info/blob/master/repos/adminer) ([history](https://github.com/docker-library/repo-info/commits/master/repos/adminer))  \n\t(image metadata, transfer size, etc)\n\n-\t**Image updates**:  \n\t[official-images repo's `library/adminer` label](https://github.com/docker-library/official-images/issues?q=label%3Alibrary%2Fadminer)  \n\t[official-images repo's `library/adminer` file](https://github.com/docker-library/official-images/blob/master/library/adminer) ([history](https://github.com/docker-library/official-images/commits/master/library/adminer))\n\n-\t**Source of this description**:  \n\t[docs repo's `adminer/` directory](https://github.com/docker-library/docs/tree/master/adminer) ([history](https://github.com/docker-library/docs/commits/master/adminer))\n\n# Adminer\n\n## What is Adminer?\n\nAdminer (formerly phpMinAdmin) is a full-featured database management tool written in PHP. Conversely to phpMyAdmin, it consist of a single file ready to deploy to the target server. Adminer is available for MySQL, PostgreSQL, SQLite, MS SQL, Oracle, Firebird, SimpleDB, Elasticsearch and MongoDB.\n\n\u003e [adminer.org](https://www.adminer.org)\n\n![logo](https://raw.githubusercontent.com/docker-library/docs/95569c9119afe7b11a233105d398f99d93d2fcce/adminer/logo.png)\n\n## How to use this image\n\n### Standalone\n\n```console\n$ docker run --link some_database:db -p 8080:8080 adminer\n```\n\nThen you can hit `http://localhost:8080` or `http://host-ip:8080` in your browser.\n\n### FastCGI\n\nIf you are already running a FastCGI capable web server you might prefer running Adminer via FastCGI:\n\n```console\n$ docker run --link some_database:db -p 9000:9000 adminer:fastcgi\n```\n\nThen point your web server to port 9000 of the container.\n\nNote: This exposes the FastCGI socket to the Internet. Make sure to add proper firewall rules or use a private Docker network instead to prevent a direct access.\n\n### ... via [`docker compose`](https://github.com/docker/compose)\n\nExample `compose.yaml` for `adminer`:\n\n```yaml\n# Use root/example as user/password credentials\n# WARNING: for local testing only. As written, Adminer is published on port 8080 on\n# every interface and the root password is \"example\", so anyone who can reach this\n# host on port 8080 can log in to the database as root. Change the password and\n# publish the port on localhost only (127.0.0.1:8080:8080) otherwise.\n\nservices:\n\n  adminer:\n    image: adminer\n    restart: always\n    ports:\n      - 8080:8080\n\n  db:\n    image: mysql:5.6\n    restart: always\n    environment:\n      MYSQL_ROOT_PASSWORD: example\n```\n\nRun `docker compose up`, wait for it to initialize completely, and visit `http://localhost:8080` or `http://host-ip:8080` (as appropriate).\n\n### Loading plugins\n\nThis image bundles all official Adminer plugins. You can find the list of plugins on GitHub: https://github.com/vrana/adminer/tree/master/plugins.\n\nTo load plugins you can pass a list of filenames in `ADMINER_PLUGINS`:\n\n```console\n$ docker run --link some_database:db -p 8080:8080 -e ADMINER_PLUGINS='tables-filter tinymce' adminer\n```\n\nIf a plugin *requires* parameters to work correctly instead of adding the plugin to `ADMINER_PLUGINS`, you need to add a custom file to the container:\n\n```console\n$ docker run --link some_database:db -p 8080:8080 -e ADMINER_PLUGINS='login-servers' adminer\nUnable to load plugin file \"login-servers\", because it has required parameters: servers\nCreate a file \"/var/www/html/plugins-enabled/login-servers.php\" with the following contents to load the plugin:\n\n\u003c?php\nrequire_once('plugins/login-servers.php');\n\n/** Set supported servers\n    * @param array array($domain) or array($domain =\u003e $description) or array($category =\u003e array())\n    * @param string\n    */\nreturn new AdminerLoginServers(\n    $servers = ???,\n    $driver = 'server'\n);\n```\n\nTo load a custom plugin you can add PHP scripts that return the instance of the plugin object to `/var/www/html/plugins-enabled/`.\n\n### Choosing a design\n\nThe image bundles all the designs that are available in the source package of adminer. You can find the list of designs on GitHub: https://github.com/vrana/adminer/tree/master/designs.\n\nTo use a bundled design you can pass its name in `ADMINER_DESIGN`:\n\n```console\n$ docker run --link some_database:db -p 8080:8080 -e ADMINER_DESIGN='nette' adminer\n```\n\nTo use a custom design you can add a file called `/var/www/html/adminer.css`.\n\n### Usage with external server\n\nYou can specify the default host with the `ADMINER_DEFAULT_SERVER` environment variable. This is useful if you are connecting to an external server or a docker container named something other than the default `db`.\n\n```console\ndocker run -p 8080:8080 -e ADMINER_DEFAULT_SERVER=mysql adminer\n```\n\n## Supported Drivers\n\nWhile Adminer supports a wide range of database drivers this image only supports the following out of the box:\n\n-\tMySQL\n-\tPostgreSQL\n-\tSQLite\n-\tSimpleDB\n-\tElasticsearch\n\nTo add support for the other drivers you will need to install the following PHP extensions on top of this image:\n\n-\t`pdo_dblib` (MS SQL)\n-\t`oci8` (Oracle)\n-\t`interbase` (Firebird)\n-\t`mongodb` (MongoDB)\n\n# License\n\nView [license information](https://github.com/vrana/adminer/blob/master/LICENSE) for the software contained in this image.\n\nAs with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).\n\nSome additional license information which was able to be auto-detected might be found in [the `repo-info` repository's `adminer/` directory](https://github.com/docker-library/repo-info/tree/master/repos/adminer).\n\nAs for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.","permissions":{"read":true,"write":false,"admin":false},"media_types":["application/vnd.docker.container.image.v1+json","application/vnd.docker.distribution.manifest.list.v2+json","application/vnd.oci.image.index.v1+json"],"content_types":["image"],"categories":[{"name":"Databases \u0026 storage","slug":"databases-and-storage"}],"immutable_tags_settings":{"enabled":false,"rules":[".*"]},"storage_size":91098146183,"source":null}