
如果你使用 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 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
Note: this is the "per-architecture" repository for the arm64v8 builds of https://hub.docker.com/_/postfixadmin -- for more information, see https://github.com/docker-library/official-images#architectures-other-than-amd64 and https://github.com/docker-library/faq#an-images-source-changed-in-git-now-what.
Maintained by:
https://github.com/postfixadmin/docker
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/postfixadmin/docker/blob/30a4ef0267e429de7e64f235863752235024230f/apache/Dockerfile
https://github.com/postfixadmin/docker/blob/30a4ef0267e429de7e64f235863752235024230f/fpm/Dockerfile
https://github.com/postfixadmin/docker/blob/30a4ef0267e429de7e64f235863752235024230f/fpm-alpine/Dockerfile
Where to file issues:
https://github.com/postfixadmin/docker/issues?q=is:issue+is:pr
Supported architectures: (https://github.com/docker-library/official-images#architectures-other-than-amd64)
https://hub.docker.com/r/amd64/postfixadmin/, https://hub.docker.com/r/arm32v6/postfixadmin/, https://hub.docker.com/r/arm32v7/postfixadmin/, https://hub.docker.com/r/arm64v8/postfixadmin/, https://hub.docker.com/r/i386/postfixadmin/, https://hub.docker.com/r/ppc64le/postfixadmin/, https://hub.docker.com/r/riscv64/postfixadmin/, https://hub.docker.com/r/s390x/postfixadmin/
Published image artifact details:
https://github.com/docker-library/repo-info/blob/master/repos/postfixadmin (https://github.com/docker-library/repo-info/commits/master/repos/postfixadmin)
(image metadata, transfer size, etc)
Image updates:
https://github.com/docker-library/official-images/issues?q=label%3Alibrary%2Fpostfixadmin
https://github.com/docker-library/official-images/blob/master/library/postfixadmin (https://github.com/docker-library/official-images/commits/master/library/postfixadmin)
Source of this description:
https://github.com/docker-library/docs/tree/master/postfixadmin (https://github.com/docker-library/docs/commits/master/postfixadmin)
Postfix Admin is a web based interface to configure and manage a Postfix based email server for many users. Features include support for virtual domains and aliases, quotas, and vacation/out-of-the-office messages. It requires PHP, Postfix and one of MySQL, PostgreSQL or SQLite.
If you do not have a config.local.php, then we fall back to look for environment variables to generate one.
console$ docker run -e POSTFIXADMIN_DB_TYPE=mysqli \ -e POSTFIXADMIN_DB_HOST=whatever \ -e POSTFIXADMIN_DB_USER=user \ -e POSTFIXADMIN_DB_PASSWORD=topsecret \ -e POSTFIXADMIN_DB_NAME=postfixadmin \ --name some-postfixadmin \ arm64v8/postfixadmin
POSTFIXADMIN_DB_TYPE can be one of :
Note: An SQLite database is not recommend but used as a fallback if you do not have a config.local.php and do not specify the above variables. Do not forget to add a volume for the SQLite path.
You can also specify a POSTFIXADMIN_SETUP_PASSWORD environment variable.
If you'd like to be able to access the instance from the host without the container's IP, standard port mappings can be used:
console$ docker run -e POSTFIXADMIN_DB_TYPE=mysqli \ -e POSTFIXADMIN_DB_HOST=whatever \ -e POSTFIXADMIN_DB_USER=user \ -e POSTFIXADMIN_DB_PASSWORD=topsecret \ -e POSTFIXADMIN_DB_NAME=postfixadmin \ --name some-postfixadmin \ -p 8080:80 arm64v8/postfixadmin
Then, access it via http://localhost:8080 or http://host-ip:8080 in a browser.
console$ docker run -v /local/path/to/config.local.php:/var/www/html/config.local.php \ --name some-postfixadmin \ -p 8080:80 \ arm64v8/postfixadmin
... via https://github.com/docker/compose
Example compose.yaml for postfixadmin:
yamlservices: db: image: mysql:8.0 restart: always environment: MYSQL_RANDOM_ROOT_PASSWORD: 1 MYSQL_DATABASE: postfixadmin MYSQL_USER: postfixadmin MYSQL_PASSWORD: example postfixadmin: depends_on: - db image: postfixadmin ports: - 8000:80 restart: always environment: POSTFIXADMIN_DB_TYPE: mysqli POSTFIXADMIN_DB_HOST: db POSTFIXADMIN_DB_USER: postfixadmin POSTFIXADMIN_DB_NAME: postfixadmin POSTFIXADMIN_DB_PASSWORD: example
Run docker compose up, wait for it to initialize completely, and visit http://localhost:8080 or http://host-ip:8080 (as appropriate).
The arm64v8/postfixadmin images come in many flavors, each designed for a specific use case.
arm64v8/postfixadmin:<version>This is the defacto image. If you are unsure about what your needs are, you probably want to use this one. It is designed to be used both as a throw away container (mount your source code and start the container to start your app), as well as the base to build other images off of.
This starts an Apache webserver with PHP, so you can use postfixadmin out of the box.
This image starts only a PHP FPM container. Use this variant if you already have a seperate webserver.
This image has a very small footprint. It is based on Alpine Linux and starts only a PHP FPM process. Use this variant if you already have a seperate webserver. If you need more tools, that are not available on Alpine Linux, use the fpm image instead.
View https://github.com/postfixadmin/postfixadmin/blob/master/LICENSE.TXT 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/postfixadmin.
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.
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务