
如果你使用 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 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
GeoServer is an open source server for sharing geospatial data. It can publish data from most common spatial data sources using open standards. This docker image is built with a number of common plugins and fonts to help you get up and running quickly.
This image is available as a download on the docker hub, and can be used directly or as a starting point for your own image. Pull the image from the docker hub.
$ docker pull thinkwhere/geoserver
You can also download the source repository to build your own custom image.
$ git clone https://github.com/thinkwhere/GeoServer-docker.git
All images are based on official Tomcat images.
v2.15+:
< v2.15:
The following plugins are included with the GeoServer images
All images include basic fonts: DejaVu Sans, DejaVu Serif, Dialog, DialogInput, Monospaced
Additional fonts are built into newer image as follows:
If you wish to build this container with your own preferred options, download the docker build files from our github repository:
Git repository: https://github.com/thinkWhere/GeoServer-Docker
It is recommended that Geoserver is run with an external geoserver_data directory mapped as a docker volume allowing the configuration to be persisted or shared with other instances. To create a running container with an external volume do:
mkdir -p ~/geoserver_data docker run \ --name=geoserver_8085 \ -p 8085:8080 \ -d \ -v $HOME/geoserver_data:/opt/geoserver/data_dir \ -e "GEOSERVER_LOG_LOCATION=/opt/geoserver/data_dir/logs/geoserver_8085.log" \ -t thinkwhere/geoserver
For installations with multiple containers on the same machine, map port 8080 to a different port for each instance. It is recommended that the instance name contains the mapped port no for ease of reference. Also use a separate log file for each instance as shown in the example above.
To set Tomcat properties such as maximum heap memory size, create a setenv.sh file such as:
JAVA_OPTS="$JAVA_OPTS -Xmx1024M" JAVA_OPTS="$JAVA_OPTS -Djava.awt.headless=true -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled"
Then pass the setenv.sh file as a volume at /usr/local/tomcat/bin/setenv.sh when running:
docker run -d
-v $HOME/tomcat/setenv.sh:/usr/local/tomcat/bin/setenv.sh
thinkwhere/geserver
Credits: Adapted from the container by Tim Sutton: kartoza/geoserver
2.19, 2.19.0 : GeoServer 2.19.0 (on tomcat:9.0-JRE11-slim)
2.18, 2.18.3, latest : GeoServer 2.18.3 (on tomcat:9.0-JRE11-slim) (also available: 2.18.0, 2.18.1, 2.18.2)
2.17, 2.17.5 : GeoServer 2.17.5 (on tomcat:9.0-JRE11-slim) (also available: 2.17.0,2.17.1,2.17.2,2.17.3,2.17.4)
2.16, 2.16.5 : GeoServer 2.16.5 (on tomcat:9.0-JRE11-slim) (also available: 2.16.0,2.16.1,2.16.2,2.16.3,2.16.4)
2.15, 2.15.4 : GeoServer 2.15.4 (on tomcat:9.0-JRE11-slim) (also available: 2.15.0-slim,2.15.1,2.15.2,2.15.3)
2.14,2.14.5 : GeoServer 2.14.5 (also available: 2.14.0,2.14.1,2.14.2,2.14.3,2.14.4)
2.13, 2.13.4 : GeoServer 2.13.4 (also available: 2.13.0, 2.13.1, 2.13.2, 2.13.3)
2.12, 2.12.5 : GeoServer 2.12.5 (also available: 2.12.4)
2.11, 2.11.5 : GeoServer 2.11.5
2.10, 2.10.4 : GeoServer 2.10.4
2.9, 2.9.4 : GeoServer 2.9.4
2.8, 2.8.5 : GeoServer 2.8.5
2.8-nogwc, 2.8.5-nogwc : GeoServer 2.8.5 with GeoWebCache disabled
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务