ghcr.io/cloudnative-pg/postgresql:18.0-system-trixie linux/arm64

ghcr.io/cloudnative-pg/postgresql:18.0-system-trixie - 国内下载镜像源 浏览次数:13 阿白 贡献同步 温馨提示: 这是一个 linux/arm64 系统架构镜像

这是一个 Cloud Native PG 提供的 PostgreSQL 数据库服务器 Docker 镜像。它提供了一种便捷的方式来在 Docker 环境中运行和管理 PostgreSQL 数据库。

源镜像 ghcr.io/cloudnative-pg/postgresql:18.0-system-trixie
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/cloudnative-pg/postgresql:18.0-system-trixie-linuxarm64
镜像ID sha256:997782b26f8a0304913590cf9f302ab3d674cbd93775b8060a9006b4bc5c017f
镜像TAG 18.0-system-trixie-linuxarm64
大小 830.93MB
镜像源 ghcr.io
CMD bash
启动入口
工作目录
OS/平台 linux/arm64
浏览量 13 次
贡献者
avatar
阿白
镜像创建 2025-11-10T08:23:23.900698778Z
同步时间 2026-03-08 00:08
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/18/bin PIP_BREAK_SYSTEM_PACKAGES=1
镜像标签
The CloudNativePG Contributors: org.opencontainers.image.authors sha256:a347fd7510ee31a84387619a492ad6c8eb0af2f2682b916ff3e643eb076f925a: org.opencontainers.image.base.digest docker.io/library/debian:trixie-slim: org.opencontainers.image.base.name 2025-11-10T08:07:23Z: org.opencontainers.image.created A system PostgreSQL 18.0 container image: org.opencontainers.image.description https://github.com/cloudnative-pg/postgres-containers: org.opencontainers.image.documentation Apache-2.0: org.opencontainers.image.licenses ad091f4dd45ce5496da3b083dc13109fa310f57a: org.opencontainers.image.revision https://github.com/cloudnative-pg/postgres-containers: org.opencontainers.image.source CloudNativePG PostgreSQL 18.0 system: org.opencontainers.image.title https://github.com/cloudnative-pg/postgres-containers: org.opencontainers.image.url The CloudNativePG Contributors: org.opencontainers.image.vendor 18.0: org.opencontainers.image.version

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/cloudnative-pg/postgresql:18.0-system-trixie-linuxarm64
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/cloudnative-pg/postgresql:18.0-system-trixie-linuxarm64  ghcr.io/cloudnative-pg/postgresql:18.0-system-trixie

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/cloudnative-pg/postgresql:18.0-system-trixie-linuxarm64
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/cloudnative-pg/postgresql:18.0-system-trixie-linuxarm64  ghcr.io/cloudnative-pg/postgresql:18.0-system-trixie

Shell快速替换命令

sed -i 's#ghcr.io/cloudnative-pg/postgresql:18.0-system-trixie#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/cloudnative-pg/postgresql:18.0-system-trixie-linuxarm64#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/cloudnative-pg/postgresql:18.0-system-trixie-linuxarm64 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/cloudnative-pg/postgresql:18.0-system-trixie-linuxarm64  ghcr.io/cloudnative-pg/postgresql:18.0-system-trixie'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/cloudnative-pg/postgresql:18.0-system-trixie-linuxarm64 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/cloudnative-pg/postgresql:18.0-system-trixie-linuxarm64  ghcr.io/cloudnative-pg/postgresql:18.0-system-trixie'

镜像构建历史


# 2025-11-10 16:23:23  0.00B 指定运行容器时使用的用户
USER 26
                        
# 2025-11-10 16:23:23  156.88MB 执行命令并创建新的镜像层
RUN |5 PG_VERSION=18.0 PG_MAJOR=18 EXTENSIONS=postgresql-18-pgaudit postgresql-18-pgvector postgresql-18-pg-failover-slots STANDARD_ADDITIONAL_POSTGRES_PACKAGES=postgresql-18-jit BARMAN_VERSION=3.16.2 /bin/sh -c apt-get update && 	apt-get install -y --no-install-recommends 		build-essential python3-dev 		python3-pip 		python3-psycopg2 		python3-setuptools 	&& 	pip3 install --no-cache-dir barman[cloud,azure,snappy,google,zstandard,lz4]==${BARMAN_VERSION} && 	apt-get remove -y --purge --autoremove build-essential python3-dev && 	apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false && 	rm -rf /var/lib/apt/lists/* /var/cache/* /var/log/* # buildkit
                        
# 2025-11-10 16:17:32  0.00B 指定运行容器时使用的用户
USER root
                        
# 2025-11-10 16:17:32  0.00B 设置环境变量 PIP_BREAK_SYSTEM_PACKAGES
ENV PIP_BREAK_SYSTEM_PACKAGES=1
                        
# 2025-11-10 16:17:32  0.00B 定义构建参数
ARG BARMAN_VERSION=3.16.2
                        
# 2025-11-10 16:17:32  0.00B 指定运行容器时使用的用户
USER 26
                        
# 2025-11-10 16:17:32  411.88MB 执行命令并创建新的镜像层
RUN |4 PG_VERSION=18.0 PG_MAJOR=18 EXTENSIONS=postgresql-18-pgaudit postgresql-18-pgvector postgresql-18-pg-failover-slots STANDARD_ADDITIONAL_POSTGRES_PACKAGES=postgresql-18-jit /bin/sh -c apt-get update &&     apt-get install -y --no-install-recommends locales-all ${STANDARD_ADDITIONAL_POSTGRES_PACKAGES} ${EXTENSIONS} &&     apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false &&     rm -rf /var/lib/apt/lists/* /var/cache/* /var/log/* # buildkit
                        
# 2025-11-10 16:15:35  0.00B 指定运行容器时使用的用户
USER root
                        
# 2025-11-10 16:15:35  0.00B 定义构建参数
ARG STANDARD_ADDITIONAL_POSTGRES_PACKAGES=postgresql-18-jit
                        
# 2025-11-10 16:15:35  0.00B 定义构建参数
ARG EXTENSIONS=postgresql-18-pgaudit postgresql-18-pgvector postgresql-18-pg-failover-slots
                        
# 2025-11-10 16:15:35  0.00B 指定运行容器时使用的用户
USER 26
                        
# 2025-11-10 16:15:35  1.82KB 执行命令并创建新的镜像层
RUN |2 PG_VERSION=18.0 PG_MAJOR=18 /bin/sh -c usermod -u 26 postgres # buildkit
                        
# 2025-11-10 16:15:35  161.61MB 执行命令并创建新的镜像层
RUN |2 PG_VERSION=18.0 PG_MAJOR=18 /bin/sh -c apt-get update &&     apt-get install -y --no-install-recommends postgresql-common ca-certificates gnupg &&     /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh -y -c "${PG_MAJOR}" &&     apt-get install -y --no-install-recommends -o Dpkg::::="--force-confdef" -o Dpkg::::="--force-confold" postgresql-common &&     sed -ri 's/#(create_main_cluster) .*$/\1 = false/' /etc/postgresql-common/createcluster.conf &&     apt-get install -y --no-install-recommends       libsasl2-modules libldap-common       -o Dpkg::::="--force-confdef" -o Dpkg::::="--force-confold" "postgresql-${PG_MAJOR}=${PG_VERSION}*" &&     apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false &&     rm -rf /var/lib/apt/lists/* /var/cache/* /var/log/* # buildkit
                        
# 2025-11-10 16:15:35  0.00B 设置环境变量 PATH
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/18/bin
                        
# 2025-11-10 16:15:35  0.00B 定义构建参数
ARG PG_MAJOR=18
                        
# 2025-11-10 16:15:35  0.00B 定义构建参数
ARG PG_VERSION=18.0
                        
# 2025-11-04 04:44:10  100.56MB 
# debian.sh --arch 'arm64' out/ 'trixie' '@1762202650'
                        
                    

镜像信息

{
    "Id": "sha256:997782b26f8a0304913590cf9f302ab3d674cbd93775b8060a9006b4bc5c017f",
    "RepoTags": [
        "ghcr.io/cloudnative-pg/postgresql:18.0-system-trixie",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/cloudnative-pg/postgresql:18.0-system-trixie-linuxarm64"
    ],
    "RepoDigests": [
        "ghcr.io/cloudnative-pg/postgresql@sha256:8221c6455c5b90bcdc739ebf2bb977fcb9525db4f3ff2339dd88054f920b1413",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/cloudnative-pg/postgresql@sha256:7e8b2c99d5d1adc664104c99eaee3aaf7108e339f946745f4e89a3863e2f502e"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2025-11-10T08:23:23.900698778Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "26",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/18/bin",
            "PIP_BREAK_SYSTEM_PACKAGES=1"
        ],
        "Cmd": [
            "bash"
        ],
        "Image": "",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": {
            "org.opencontainers.image.authors": "The CloudNativePG Contributors",
            "org.opencontainers.image.base.digest": "sha256:a347fd7510ee31a84387619a492ad6c8eb0af2f2682b916ff3e643eb076f925a",
            "org.opencontainers.image.base.name": "docker.io/library/debian:trixie-slim",
            "org.opencontainers.image.created": "2025-11-10T08:07:23Z",
            "org.opencontainers.image.description": "A system PostgreSQL 18.0 container image",
            "org.opencontainers.image.documentation": "https://github.com/cloudnative-pg/postgres-containers",
            "org.opencontainers.image.licenses": "Apache-2.0",
            "org.opencontainers.image.revision": "ad091f4dd45ce5496da3b083dc13109fa310f57a",
            "org.opencontainers.image.source": "https://github.com/cloudnative-pg/postgres-containers",
            "org.opencontainers.image.title": "CloudNativePG PostgreSQL 18.0 system",
            "org.opencontainers.image.url": "https://github.com/cloudnative-pg/postgres-containers",
            "org.opencontainers.image.vendor": "The CloudNativePG Contributors",
            "org.opencontainers.image.version": "18.0"
        }
    },
    "Architecture": "arm64",
    "Os": "linux",
    "Size": 830932418,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/4a51afd739cc4a81c66807e32c31b64dd4692aa336f81b979961686bf518f5a0/diff:/var/lib/docker/overlay2/9b68776335d2ca9f37e939aa077a503086e8bbac84ff728a2ca7bfea9bd7527b/diff:/var/lib/docker/overlay2/1ce398a4a875732a2669c7aae15c94075897562e133c7055b76c5ac78342a16c/diff:/var/lib/docker/overlay2/3356d3ef6dec0661f8bdf5e3d2f839bda281a7e432d47fc93f1784a27c13e7d1/diff",
            "MergedDir": "/var/lib/docker/overlay2/825ca5acbe9da94756c81a4d0d46a87a73a04d83a6e6305e86e86ad68cea8bdf/merged",
            "UpperDir": "/var/lib/docker/overlay2/825ca5acbe9da94756c81a4d0d46a87a73a04d83a6e6305e86e86ad68cea8bdf/diff",
            "WorkDir": "/var/lib/docker/overlay2/825ca5acbe9da94756c81a4d0d46a87a73a04d83a6e6305e86e86ad68cea8bdf/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:4819483eb3e46dfb249c0b42f3138e2ec3bdcb7b412e4bca96bb9967a86f6c7f",
            "sha256:1858b2ea5e82021c0852f3ce72a8707c6b298e2aa77711e10c2d187f96a2df53",
            "sha256:177f1eb766cb9280f0c1f30c914318d5c44dcddb2584e59f17eb8053dfa94053",
            "sha256:e7695b13509b77699488e55f04e2bb81d8ece9e392573f4c504565ae5a85c120",
            "sha256:0352b4a2aa0aa3f6e75e77bdda2a5b5aa49c226b1b61817cc5d22563d1cc9509"
        ]
    },
    "Metadata": {
        "LastTagTime": "2026-03-08T00:07:22.668881574+08:00"
    }
}

更多版本

ghcr.io/cloudnative-pg/postgresql:15

linux/amd64 ghcr.io610.35MB2025-05-06 09:53
1137

ghcr.io/cloudnative-pg/postgresql:17-bookworm

linux/amd64 ghcr.io651.76MB2025-09-02 02:13
443

ghcr.io/cloudnative-pg/postgresql:16.10-system-trixie

linux/amd64 ghcr.io805.21MB2025-10-28 20:30
341

ghcr.io/cloudnative-pg/postgresql:16

linux/amd64 ghcr.io740.81MB2025-10-28 20:47
488

ghcr.io/cloudnative-pg/postgresql:17

linux/amd64 ghcr.io742.62MB2025-10-29 14:41
670

ghcr.io/cloudnative-pg/postgresql:16-bookworm

linux/amd64 ghcr.io688.45MB2026-02-27 18:06
61

ghcr.io/cloudnative-pg/postgresql:15-bookworm

linux/amd64 ghcr.io681.17MB2026-02-28 15:51
50

ghcr.io/cloudnative-pg/postgresql:17.4-bookworm

linux/amd64 ghcr.io646.92MB2026-03-03 09:52
50

ghcr.io/cloudnative-pg/postgresql:15.17

linux/amd64 ghcr.io740.21MB2026-03-03 19:32
44

ghcr.io/cloudnative-pg/postgresql:18.0-system-trixie

linux/arm64 ghcr.io830.93MB2026-03-08 00:08
12

ghcr.io/cloudnative-pg/postgresql:18.0

linux/arm64 ghcr.io722.93MB2026-03-08 00:42
12