
如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。
只需在 AI 对话中先发送下面这句话即可:
请先完整阅读并严格遵守以下文档中的全部规则与要求:
https://xuanyuan.cloud/agents.md
在未充分阅读并理解该文档前,不要生成任何命令、配置、修改建议、故障排查方案或技术回答。后续所有输出都必须严格以该文档中的规范为最高优先级执行。查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
Maintained by:
https://github.com/TimWolla/docker-adminer
Where to get help:
https://dockr.ly/comm-slack, Server Fault, https://unix.stackexchange.com/help/on-topic, or https://stackoverflow.com/help/on-topic
Dockerfile linkshttps://github.com/TimWolla/docker-adminer/blob/5f***ec2f8ad8b2a5b94b42017cced5cae3e45/5/Dockerfile
https://github.com/TimWolla/docker-adminer/blob/5f***ec2f8ad8b2a5b94b42017cced5cae3e45/5/fastcgi/Dockerfile
https://github.com/TimWolla/docker-adminer/blob/0c0fd187e8646ad61fe592a80d66abec2c1dc951/4/Dockerfile
https://github.com/TimWolla/docker-adminer/blob/0c0fd187e8646ad61fe592a80d66abec2c1dc951/4/fastcgi/Dockerfile
Where to file issues:
https://github.com/TimWolla/docker-adminer/issues?q=
Supported architectures: (https://github.com/docker-library/official-images#architectures-other-than-amd64)
https://hub.docker.com/r/amd64/adminer/, https://hub.docker.com/r/arm32v6/adminer/, https://hub.docker.com/r/arm32v7/adminer/, https://hub.docker.com/r/arm64v8/adminer/, https://hub.docker.com/r/i386/adminer/, https://hub.docker.com/r/ppc64le/adminer/, https://hub.docker.com/r/riscv64/adminer/, https://hub.docker.com/r/s390x/adminer/
Published image artifact details:
https://github.com/docker-library/repo-info/blob/master/repos/adminer (https://github.com/docker-library/repo-info/commits/master/repos/adminer)
(image metadata, transfer size, etc)
Image updates:
https://github.com/docker-library/official-images/issues?q=label%3Alibrary%2Fadminer
https://github.com/docker-library/official-images/blob/master/library/adminer (https://github.com/docker-library/official-images/commits/master/library/adminer)
Source of this description:
https://github.com/docker-library/docs/tree/master/adminer (https://github.com/docker-library/docs/commits/master/adminer)
Adminer (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.
https://www.adminer.org
console$ docker run --link some_database:db -p 8080:8080 adminer
Then you can hit http://localhost:8080 or http://host-ip:8080 in your browser.
If you are already running a FastCGI capable web server you might prefer running Adminer via FastCGI:
console$ docker run --link some_database:db -p 9000:9000 adminer:fastcgi
Then point your web server to port 9000 of the container.
Note: 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.
Example compose.yaml for adminer:
yaml# Use root/example as user/password credentials services: adminer: image: adminer restart: always ports: - 8080:8080 db: image: mysql:5.6 restart: always environment: MYSQL_ROOT_PASSWORD: example
Run docker compose up, wait for it to initialize completely, and visit http://localhost:8080 or http://host-ip:8080 (as appropriate).
This image bundles all official Adminer plugins. You can find the list of plugins on GitHub: https://github.com/vrana/adminer/tree/master/plugins.
To load plugins you can pass a list of filenames in ADMINER_PLUGINS:
console$ docker run --link some_database:db -p 8080:8080 -e ADMINER_PLUGINS='tables-filter tinymce' adminer
If 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:
console$ docker run --link some_database:db -p 8080:8080 -e ADMINER_PLUGINS='login-servers' adminer Unable to load plugin file "login-servers", because it has required parameters: servers Create a file "/var/www/html/plugins-enabled/login-servers.php" with the following contents to load the plugin: <?php require_once('plugins/login-servers.php'); /** Set supported servers * @param array array($domain) or array($domain => $description) or array($category => array()) * @param string */ return new AdminerLoginServers( $servers = ???, $driver = 'server' );
To load a custom plugin you can add PHP scripts that return the instance of the plugin object to /var/www/html/plugins-enabled/.
The 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.
To use a bundled design you can pass its name in ADMINER_DESIGN:
console$ docker run --link some_database:db -p 8080:8080 -e ADMINER_DESIGN='nette' adminer
To use a custom design you can add a file called /var/www/html/adminer.css.
You 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.
consoledocker run -p 8080:8080 -e ADMINER_DEFAULT_SERVER=mysql adminer
While Adminer supports a wide range of database drivers this image only supports the following out of the box:
To add support for the other drivers you will need to install the following PHP extensions on top of this image:
pdo_dblib (MS SQL)oci8 (Oracle)interbase (Firebird)mongodb (MongoDB)View https://github.com/vrana/adminer/blob/master/LICENSE for the software contained in this image.
As 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).
Some additional license information which was able to be auto-detected might be found in https://github.com/docker-library/repo-info/tree/master/repos/adminer.
As 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.
以下是 adminer 相关的常用 Docker 镜像,适用于 不同场景 等不同场景:
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务