专属域名
文档搜索
轩辕助手
Run助手
邀请有礼
返回顶部
快速返回页面顶部
收起
收起工具栏
轩辕镜像 官方专业版
轩辕镜像 官方专业版轩辕镜像 官方专业版官方专业版
首页个人中心搜索镜像

交易
充值流量我的订单
工具
提交工单镜像收录一键安装
Npm 源Pip 源Homebrew 源
帮助
常见问题
其他
关于我们网站地图

官方QQ群: 1072982923

热门搜索:openclaw🔥nginx🔥redis🔥mysqlopenjdkcursorweb2apimemgraphzabbixetcdubuntucorednsjdk
postgis

mfortunato/postgis

mfortunato

下载次数: 0状态:社区镜像维护者:mfortunato仓库类型:镜像最近更新:9 年前
轩辕镜像,不浪费每一次拉取。点击查看
镜像简介版本下载
轩辕镜像,不浪费每一次拉取。点击查看

A Docker container running PostgreSQL/PostGIS, based on an publicly available image on the Kartoza repository (https://hub.docker.com/r/kartoza/postgis/). The image has been realized for educational purposes using another image, GeoServer (https://hub.docker.com/r/mfortunato/geoserver/), to work together as a support and testing software for a personalized demo of web mapping. The use of the application requires the simultaneous run of two containers created with the reference image.

To build the application geoserver/www/demo:

  1. download the directory “edugeo” from Bitbucket with git clone https://bitbucket.org/mfortunato/edugeo_dir
  2. from the shell, run the commands cd edugeo_dir/edugeo docker-compose up -d
  3. type in the browser address bar localhost:8080/geoserver/www/demo/mapindex.html 4.Enjoy it!

Note: this image has more tags associated with it. We recommend the use of the final version, with lst tag.

GET IMAGES AND RUN CONTAINERS

The easiest method to download images on your system consists of:

docker pull mfortunato/geoserver
docker pull mfortunato/postgis

While, for the creation of running containers, the commands are:

sudo docker run --name "postgis" -d -t  mfortunato/postgis
sudo docker run --name "geoserver" --link postgis:postgis -p 8080:8080 -d -t mfortunato/geoserver

To simplify, it is recommended to use a .yml script which makes the downloading of images, the creation of the two containers, their connection and their start-up, in a single step. The script must be launched with the tool Docker Compose (link).

The used docker-compose.yml file contains the following script:

postgis:
 image: mfortunato/postgis:lst
geoserver:
 image: mfortunato/geoserver:lst
 ports:
 - "8080:8080"
 links: 
- postgis
volumes: 
- $PWD/www:/opt/geoserver/data_dir/www/

Two containers are defined, as "postgis" and "geoserver"; this is the same value that is associated with the flag --name of docker run described above. For each container is defined the starting image (eg. image: mfortunato/postgis:lst). In the case of "geoserver", it is also defined the matching of the ports (ports:-"8080:8080") and the link with the “postgis” container (links:-postgis). The option volumes connects the www folder to the /opt/geoserver/data_dir/www/ position, in the "geoserver" container. So it becomes a shared folder between the host and the container.

The .yml files must be placed in a edugeo named folder. The folder, containing the docker-compose.yml file and the www folder. The edugeo folder can be downloaded locally from a Bitbucket repository, with shell command:

git clone https://bitbucket.org/mfortunato/edugeo_dir

After, get in edugeo directory through terminal and give the docker-compose up -d command. To close the session, use docker-compose stop. These commands must be run in the directory that contains docker-compose.yml.

Note: GeoServer default user is "admin" and the password is "geoserver"; while PostgreSQL default user is "docker" with “docker” password. Both are editable. The access to PostGIS can be done via pfm (Form Postgres), after making sure you have installed it on your host (sudo apt-get install pfm). GeoServer is accessible via GUI by typing in browser: localhost:8080/geoserver/web.

STORING DATA ON DOCKER VOLUME

Docker volumes can be used to share a folder between host and container. Inside edugeo, in addition to .yml files, there is a www folder, intended to serve as a volume. The folder is named www because it create a shared folder between the container GeoServer and the edugeo folder, replacing a folder with the same name on existing path (/opt/geoserver/data_dir/www/). WWW is a GeoServer default directory, needed to run the web map client. The creation of a volume within a pre-existing folder, delete all the files in the same folder, replacing them with those of volume-folder. For this reason it was decided to add into the www folder of edugeo also the default files inside the www folder at the installation of GeoServer, so that the same functions are maintained.

In the case of the use of docker-compose.yml file described above, the volume is automatically built with containers, by running docker-compose up -d command. Changing the contents of the local folder, the change also occurs in the same folder within the container.

LICENCE

PostgreSQL and PostGIS are licensed under the GPL.

查看更多 postgis 相关镜像 →

postgis/postgis logo

postgis/postgis

postgis
PostGIS是PostgreSQL对象关系型数据库的空间数据库扩展器,它为PostgreSQL增添了对空间数据类型(如点、线、面、几何体集合等)的支持,提供空间索引功能以提升空间数据查询效率,并集成了丰富的空间分析函数(包括距离计算、缓冲区分析、叠加操作等),使PostgreSQL能够高效存储、管理与分析空间数据,广泛应用于地理信息系统(GIS)、位置服务、地图绘制等领域。
293 次收藏1亿+ 次下载
25 天前更新
postgis/postgis-build-env logo

postgis/postgis-build-env

postgis
这是用于PostGIS持续集成测试的环境,集成了其核心依赖组件PostgreSQL、GDAL、PROJ及GEOS的多种版本,旨在通过覆盖不同版本组合,确保PostGIS在各类环境配置下的兼容性与稳定性,为开发过程中的自动化测试提供可靠支撑。
9 次收藏10万+ 次下载
22 天前更新
corpusops/postgis logo

corpusops/postgis

corpusops
CorpusOps Docker Images是一个预构建且可定制的Docker镜像集合,针对各类开发与生产环境优化,包含用于CI/CD流水线、基础设施自动化及应用部署的工具,专注于安全性、性能与易维护性,并提供全面文档及社区驱动的更新。
5 次收藏10万+ 次下载
1 年前更新
rootpublic/postgis logo

rootpublic/postgis

rootpublic
Root精选PostGIS镜像是安全、轻量且便捷的容器化应用起点,基于官方postgis/postgis构建,具备减少镜像大小、最小化攻击面和改进初始安全状态的特性。
4.2千+ 次下载
7 个月前更新
mdillon/postgis logo

mdillon/postgis

mdillon
基于官方Postgres镜像的PostGIS容器,预安装PostGIS 2.5及相关扩展(postgis、postgis_topology、fuzzystrmatch、postgis_tiger_geocoder),支持Postgres 9.4-9.6、10和11版本,可快速部署空间数据库。
425 次收藏5000万+ 次下载
7 年前更新
kartoza/postgis logo

kartoza/postgis

kartoza
即开即用的PostGIS地理空间数据库是基于PostgreSQL的高效空间扩展解决方案,可快速存储、查询和分析各类地理空间数据,涵盖矢量数据(如点、线、面要素)与栅格数据处理,支持空间索引优化、地理编码转换、拓扑关系验证及空间分析函数等核心功能,适用于GIS应用开发、城市规划、环境监测、位置服务等多场景,无需复杂配置即可直接部署使用。
200 次收藏1000万+ 次下载
24 天前更新

轩辕镜像配置手册

探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式

Docker 配置

登录仓库拉取

通过 Docker 登录认证访问私有仓库

专属域名拉取

无需登录使用专属域名

K8s Containerd

Kubernetes 集群配置 Containerd

K3s

K3s 轻量级 Kubernetes 镜像加速

Dev Containers

VS Code Dev Containers 配置

Podman

Podman 容器引擎配置

Singularity/Apptainer

HPC 科学计算容器配置

其他仓库配置

ghcr、Quay、nvcr 等镜像仓库

Harbor 镜像源配置

Harbor Proxy Repository 对接专属域名

Portainer 镜像源配置

Portainer Registries 加速拉取

Nexus 镜像源配置

Nexus3 Docker Proxy 内网缓存

系统配置

Linux

在 Linux 系统配置镜像服务

Windows/Mac

在 Docker Desktop 配置镜像

MacOS OrbStack

MacOS OrbStack 容器配置

Docker Compose

Docker Compose 项目配置

NAS 设备

群晖

Synology 群晖 NAS 配置

飞牛

飞牛 fnOS 系统配置镜像

绿联

绿联 NAS 系统配置镜像

威联通

QNAP 威联通 NAS 配置

极空间

极空间 NAS 系统配置服务

网络设备

爱快路由

爱快 iKuai 路由系统配置

宝塔面板

在宝塔面板一键配置镜像

需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单

镜像拉取常见问题

使用与功能问题

配置了专属域名后,docker search 为什么会报错?

docker search 限制

Docker Hub 上有的镜像,为什么在轩辕镜像网站搜不到?

站内搜不到镜像

机器不能直连外网时,怎么用 docker save / load 迁镜像?

离线 save/load

docker pull 拉插件报错(plugin v1+json)怎么办?

插件要用 plugin install

WSL 里 Docker 拉镜像特别慢,怎么排查和优化?

WSL 拉取慢

轩辕镜像安全吗?如何用 digest 校验镜像没被篡改?

安全与 digest

第一次用轩辕镜像拉 Docker 镜像,要怎么登录和配置?

新手拉取配置

错误码与失败问题

docker pull 提示 manifest unknown 怎么办?

manifest unknown

docker pull 提示 no matching manifest 怎么办?

no matching manifest(架构)

镜像已拉取完成,却提示 invalid tar header 或 failed to register layer 怎么办?

invalid tar header(解压)

Docker pull 时 HTTPS / TLS 证书验证失败怎么办?

TLS 证书失败

Docker pull 时 DNS 解析超时或连不上仓库怎么办?

DNS 超时

Docker 拉取出现 410 Gone 怎么办?

410 Gone 排查

出现 402 或「流量用尽」提示怎么办?

402 与流量用尽

Docker 拉取提示 UNAUTHORIZED(401)怎么办?

401 认证失败

遇到 429 Too Many Requests(请求太频繁)怎么办?

429 限流

docker login 提示 Cannot autolaunch D-Bus,还算登录成功吗?

D-Bus 凭证提示

为什么会出现「单层超过 20GB」或 413,无法加速拉取?

413 与超大单层

账号 / 计费 / 权限

轩辕镜像免费版和专业版有什么区别?

免费版与专业版区别

轩辕镜像支持哪些 Docker 镜像仓库?

支持的镜像仓库

镜像拉取失败还会不会扣流量?

失败是否计费

麒麟 V10 / 统信 UOS 提示 KYSEC 权限不够怎么办?

KYSEC 拦截脚本

如何在轩辕镜像申请开具发票?

申请开票

怎么修改轩辕镜像的网站登录和仓库登录密码?

修改登录密码

如何注销轩辕镜像账户?要注意什么?

注销账户

配置与原理类

写了 registry-mirrors,为什么还是走官方或仍然报错?

mirrors 不生效

怎么用 docker tag 去掉镜像名里的轩辕域名前缀?

去掉域名前缀

如何拉取指定 CPU 架构的镜像(如 ARM64、AMD64)?

指定架构拉取

用轩辕镜像拉镜像时快时慢,常见原因有哪些?

拉取速度原因

查看全部问题→

用户好评

来自真实用户的反馈,见证轩辕镜像的优质服务

用户头像

oldzhang

运维工程师

Linux服务器

5

"Docker访问体验非常流畅,大镜像也能快速完成下载。"

轩辕镜像
镜像详情
...
mfortunato/postgis
博客公告Docker 镜像公告与技术博客
热门镜像查看热门 Docker 镜像推荐
一键安装一键安装 Docker 并配置镜像源
镜像拉取问题咨询请 提交工单,官方技术交流群:1072982923。轩辕镜像所有镜像均来源于原始仓库,本站不存储、不修改、不传播任何镜像内容。
镜像拉取问题咨询请提交工单,官方技术交流群:。轩辕镜像所有镜像均来源于原始仓库,本站不存储、不修改、不传播任何镜像内容。
商务合作:点击复制邮箱
©2024-2026 源码跳动
商务合作:点击复制邮箱Copyright © 2024-2026 杭州源码跳动科技有限公司. All rights reserved.