logo
docker.io/bitnamilegacy/postgresql:17.6.0-debian-12-r4
linux/amd64 docker.io

docker.io/bitnamilegacy/postgresql是Bitnami提供的PostgreSQL容器镜像,PostgreSQL是一款功能强大的开源关系型数据库管理系统,该镜像集成了必要的依赖和配置,旨在简化PostgreSQL数据库的部署与运行,适用于开发、测试及生产等多种场景。

11
浏览次数
343.03MB
镜像大小
国内镜像
swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/bitnamilegacy/postgresql:17.6.0-debian-12-r4
源镜像
docker.io/bitnamilegacy/postgresql:17.6.0-debian-12-r4
镜像ID
sha256:c5041d46d3b0579ec10f90e78a4e29ac5f49eef5399dd4f450dc2214823528f1
镜像 TAG
17.6.0-debian-12-r4
镜像大小
343.03MB
平台架构
linux/amd64
镜像源
docker.io
CMD
/opt/bitnami/scripts/postgresql/run.sh
启动入口
/opt/bitnami/scripts/postgresql/entrypoint.sh
工作目录
OS/平台
linux/amd64
镜像创建
2025-08-26T12:31:51.277475365Z
同步时间
2026-08-22 09:40
浏览量
11 次
贡献者
🔌 开放端口 1
5432/tcp
📁 目录挂载 3
 /bitnami/postgresql  /docker-entrypoint-initdb.d  /docker-entrypoint-preinitdb.d
⚙️ 环境变量 11
KeyValue
PATH=/opt/bitnami/postgresql/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 0
HOME=/ 1
OS_ARCH=amd64 2
OS_FLAVOUR=debian-12 3
OS_NAME=linux 4
APP_VERSION=17.6.0 5
BITNAMI_APP_NAME=postgresql 6
IMAGE_REVISION=4 7
LANG=en_US.UTF-8 8
LANGUAGE=en_US:en 9
NSS_WRAPPER_LIB=/opt/bitnami/common/lib/libnss_wrapper.so 10
🏷️ 镜像标签 9
KeyValue
sha256:c50c90cfd9d12b445b011e6ad529f1ad3daea45c26d20b00732fae3cd71f6a83 com.vmware.cp.artifact.flavor
docker.io/bitnami/minideb:bookworm org.opencontainers.image.base.name
2025-08-26T12:29:16Z org.opencontainers.image.created
Application packaged by Broadcom, Inc. org.opencontainers.image.description
https://github.com/bitnami/containers/tree/main/bitnami/postgresql/README.md org.opencontainers.image.documentation
https://github.com/bitnami/containers/tree/main/bitnami/postgresql org.opencontainers.image.source
postgresql org.opencontainers.image.title
Broadcom, Inc. org.opencontainers.image.vendor
17.6.0 org.opencontainers.image.version
🛡️ 镜像安全扫描
debian 12.11 Trivy 2026-08-22 09:42 查看完整报告
168
低危 LOW
173
中危 MEDIUM
97
高危 HIGH
23
严重 CRITICAL
受影响目标 (3)
docker.io/bitnamilegacy/postgresql:17.6.0-debian-12-r4 (debian 12.11) debian Java jar opt/bitnami/postgresql bitnami

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/bitnamilegacy/postgresql:17.6.0-debian-12-r4
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/bitnamilegacy/postgresql:17.6.0-debian-12-r4  docker.io/bitnamilegacy/postgresql:17.6.0-debian-12-r4

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/bitnamilegacy/postgresql:17.6.0-debian-12-r4
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/bitnamilegacy/postgresql:17.6.0-debian-12-r4  docker.io/bitnamilegacy/postgresql:17.6.0-debian-12-r4

Shell快速替换命令

sed -i 's#bitnamilegacy/postgresql:17.6.0-debian-12-r4#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/bitnamilegacy/postgresql:17.6.0-debian-12-r4#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/bitnamilegacy/postgresql:17.6.0-debian-12-r4 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/bitnamilegacy/postgresql:17.6.0-debian-12-r4  docker.io/bitnamilegacy/postgresql:17.6.0-debian-12-r4'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/bitnamilegacy/postgresql:17.6.0-debian-12-r4 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/bitnamilegacy/postgresql:17.6.0-debian-12-r4  docker.io/bitnamilegacy/postgresql:17.6.0-debian-12-r4'

镜像构建历史


# 0001-01-01 08:00:00  343.03MB 
crane flatten sha256:509b9fd182c106455c58e1163e610c17d485627241006f401a952b10b4274cd4
                        
                    

镜像信息

{
    "Id": "sha256:c5041d46d3b0579ec10f90e78a4e29ac5f49eef5399dd4f450dc2214823528f1",
    "RepoTags": [
        "bitnamilegacy/postgresql:17.6.0-debian-12-r4",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/bitnamilegacy/postgresql:17.6.0-debian-12-r4"
    ],
    "RepoDigests": [
        "bitnamilegacy/postgresql@sha256:926356130b77d5742d8ce605b258d35db9b62f2f8fd1601f9dbaef0c8a710a8d",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/bitnamilegacy/postgresql@sha256:a6e1ea8a7267900a84c3b90036d79e868269a26f0c79fca83824c268a3e62384"
    ],
    "Parent": "",
    "Comment": "[{\"created\":\"2025-08-09T00:07:18.871906096Z\",\"comment\":\"from Bitnami with love\"},{\"created\":\"2025-08-26T12:31:31.556164828Z\",\"created_by\":\"ARG DOWNLOADS_URL=downloads.bitnami.com/files/stacksmith\",\"comment\":\"buildkit.dockerfile.v0\",\"empty_layer\":true},{\"created\":\"2025-08-26T12:31:31.556164828Z\",\"created_by\":\"ARG EXTRA_LOCALES\",\"comment\":\"buildkit.dockerfile.v0\",\"empty_layer\":true},{\"created\":\"2025-08-26T12:31:31.556164828Z\",\"created_by\":\"ARG TARGETARCH=amd64\",\"comment\":\"buildkit.dockerfile.v0\",\"empty_layer\":true},{\"created\":\"2025-08-26T12:31:31.556164828Z\",\"created_by\":\"ARG WITH_ALL_LOCALES=no\",\"comment\":\"buildkit.dockerfile.v0\",\"empty_layer\":true},{\"created\":\"2025-08-26T12:31:31.556164828Z\",\"created_by\":\"LABEL com.vmware.cp.artifact.flavor=sha256:c50c90cfd9d12b445b011e6ad529f1ad3daea45c26d20b00732fae3cd71f6a83 org.opencontainers.image.base.name=docker.io/bitnami/minideb:bookworm org.opencontainers.image.created=2025-08-26T12:29:16Z org.opencontainers.image.description=Application packaged by Broadcom, Inc. org.opencontainers.image.documentation=https://github.com/bitnami/containers/tree/main/bitnami/postgresql/README.md org.opencontainers.image.source=https://github.com/bitnami/containers/tree/main/bitnami/postgresql org.opencontainers.image.title=postgresql org.opencontainers.image.vendor=Broadcom, Inc. org.opencontainers.image.version=17.6.0\",\"comment\":\"buildkit.dockerfile.v0\",\"empty_layer\":true},{\"created\":\"2025-08-26T12:31:31.556164828Z\",\"created_by\":\"ENV HOME=/ OS_ARCH=amd64 OS_FLAVOUR=debian-12 OS_NAME=linux\",\"comment\":\"buildkit.dockerfile.v0\",\"empty_layer\":true},{\"created\":\"2025-08-26T12:31:31.556164828Z\",\"created_by\":\"COPY prebuildfs / # buildkit\",\"comment\":\"buildkit.dockerfile.v0\"},{\"created\":\"2025-08-26T12:31:31.556164828Z\",\"created_by\":\"SHELL [/bin/bash -o errexit -o nounset -o pipefail -c]\",\"comment\":\"buildkit.dockerfile.v0\",\"empty_layer\":true},{\"created\":\"2025-08-26T12:31:37.746999226Z\",\"created_by\":\"RUN |4 DOWNLOADS_URL=downloads.bitnami.com/files/stacksmith EXTRA_LOCALES= TARGETARCH=amd64 WITH_ALL_LOCALES=no /bin/bash -o errexit -o nounset -o pipefail -c install_packages ca-certificates curl libbsd0 libbz2-1.0 libedit2 libffi8 libgcc-s1 libgmp10 libgnutls30 libhogweed6 libicu72 libidn2-0 libldap-2.5-0 liblz4-1 liblzma5 libmd0 libnettle8 libp11-kit0 libpcre3 libreadline8 libsasl2-2 libsqlite3-0 libssl3 libstdc++6 libtasn1-6 libtinfo6 libunistring2 libuuid1 libxml2 libxslt1.1 libzstd1 locales procps zlib1g # buildkit\",\"comment\":\"buildkit.dockerfile.v0\"},{\"created\":\"2025-08-26T12:31:39.208576641Z\",\"created_by\":\"RUN |4 DOWNLOADS_URL=downloads.bitnami.com/files/stacksmith EXTRA_LOCALES= TARGETARCH=amd64 WITH_ALL_LOCALES=no /bin/bash -o errexit -o nounset -o pipefail -c DOWNLOADS_URL=${SECRET_DOWNLOADS_URL:-${DOWNLOADS_URL}} ;     mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ || exit 1 ;     COMPONENTS=(       \\\"postgresql-17.6.0-2-linux-${OS_ARCH}-debian-12\\\"     ) ;     for COMPONENT in \\\"${COMPONENTS[@]}\\\"; do       if [ ! -f \\\"${COMPONENT}.tar.gz\\\" ]; then         curl -SsLf \\\"https://${DOWNLOADS_URL}/${COMPONENT}.tar.gz\\\" -O ;         curl -SsLf \\\"https://${DOWNLOADS_URL}/${COMPONENT}.tar.gz.sha256\\\" -O ;       fi ;       sha256sum -c \\\"${COMPONENT}.tar.gz.sha256\\\" ;       tar -zxf \\\"${COMPONENT}.tar.gz\\\" -C /opt/bitnami --strip-components=2 --no-same-owner ;       rm -rf \\\"${COMPONENT}\\\".tar.gz{,.sha256} ;     done # buildkit\",\"comment\":\"buildkit.dockerfile.v0\"},{\"created\":\"2025-08-26T12:31:41.204178683Z\",\"created_by\":\"RUN |4 DOWNLOADS_URL=downloads.bitnami.com/files/stacksmith EXTRA_LOCALES= TARGETARCH=amd64 WITH_ALL_LOCALES=no /bin/bash -o errexit -o nounset -o pipefail -c apt-get update \\u0026\\u0026 apt-get upgrade -y \\u0026\\u0026     apt-get clean \\u0026\\u0026 rm -rf /var/lib/apt/lists /var/cache/apt/archives # buildkit\",\"comment\":\"buildkit.dockerfile.v0\"},{\"created\":\"2025-08-26T12:31:41.814910015Z\",\"created_by\":\"RUN |4 DOWNLOADS_URL=downloads.bitnami.com/files/stacksmith EXTRA_LOCALES= TARGETARCH=amd64 WITH_ALL_LOCALES=no /bin/bash -o errexit -o nounset -o pipefail -c chmod g+rwX /opt/bitnami # buildkit\",\"comment\":\"buildkit.dockerfile.v0\"},{\"created\":\"2025-08-26T12:31:42.519302889Z\",\"created_by\":\"RUN |4 DOWNLOADS_URL=downloads.bitnami.com/files/stacksmith EXTRA_LOCALES= TARGETARCH=amd64 WITH_ALL_LOCALES=no /bin/bash -o errexit -o nounset -o pipefail -c find / -perm /6000 -type f -exec chmod a-s {} \\\\; || true # buildkit\",\"comment\":\"buildkit.dockerfile.v0\"},{\"created\":\"2025-08-26T12:31:43.454669002Z\",\"created_by\":\"RUN |4 DOWNLOADS_URL=downloads.bitnami.com/files/stacksmith EXTRA_LOCALES= TARGETARCH=amd64 WITH_ALL_LOCALES=no /bin/bash -o errexit -o nounset -o pipefail -c update-locale LANG=C.UTF-8 LC_MESSAGES=POSIX \\u0026\\u0026     DEBIAN_FRONTEND=noninteractive dpkg-reconfigure locales \\u0026\\u0026     echo 'en_US.UTF-8 UTF-8' \\u003e\\u003e /etc/locale.gen # buildkit\",\"comment\":\"buildkit.dockerfile.v0\"},{\"created\":\"2025-08-26T12:31:44.6913148Z\",\"created_by\":\"RUN |4 DOWNLOADS_URL=downloads.bitnami.com/files/stacksmith EXTRA_LOCALES= TARGETARCH=amd64 WITH_ALL_LOCALES=no /bin/bash -o errexit -o nounset -o pipefail -c uninstall_packages curl # buildkit\",\"comment\":\"buildkit.dockerfile.v0\"},{\"created\":\"2025-08-26T12:31:45.291731499Z\",\"created_by\":\"COPY rootfs / # buildkit\",\"comment\":\"buildkit.dockerfile.v0\"},{\"created\":\"2025-08-26T12:31:46.123806042Z\",\"created_by\":\"RUN |4 DOWNLOADS_URL=downloads.bitnami.com/files/stacksmith EXTRA_LOCALES= TARGETARCH=amd64 WITH_ALL_LOCALES=no /bin/bash -o errexit -o nounset -o pipefail -c /opt/bitnami/scripts/postgresql/postunpack.sh # buildkit\",\"comment\":\"buildkit.dockerfile.v0\"},{\"created\":\"2025-08-26T12:31:48.376275837Z\",\"created_by\":\"RUN |4 DOWNLOADS_URL=downloads.bitnami.com/files/stacksmith EXTRA_LOCALES= TARGETARCH=amd64 WITH_ALL_LOCALES=no /bin/bash -o errexit -o nounset -o pipefail -c update-locale LANG=C.UTF-8 LC_MESSAGES=POSIX \\u0026\\u0026     DEBIAN_FRONTEND=noninteractive dpkg-reconfigure locales \\u0026\\u0026     echo 'en_US.UTF-8 UTF-8' \\u003e\\u003e /etc/locale.gen # buildkit\",\"comment\":\"buildkit.dockerfile.v0\"},{\"created\":\"2025-08-26T12:31:51.277475365Z\",\"created_by\":\"RUN |4 DOWNLOADS_URL=downloads.bitnami.com/files/stacksmith EXTRA_LOCALES= TARGETARCH=amd64 WITH_ALL_LOCALES=no /bin/bash -o errexit -o nounset -o pipefail -c /opt/bitnami/scripts/locales/generate-locales.sh # buildkit\",\"comment\":\"buildkit.dockerfile.v0\"},{\"created\":\"2025-08-26T12:31:51.277475365Z\",\"created_by\":\"ENV APP_VERSION=17.6.0 BITNAMI_APP_NAME=postgresql IMAGE_REVISION=4 LANG=en_US.UTF-8 LANGUAGE=en_US:en NSS_WRAPPER_LIB=/opt/bitnami/common/lib/libnss_wrapper.so PATH=/opt/bitnami/postgresql/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\",\"comment\":\"buildkit.dockerfile.v0\",\"empty_layer\":true},{\"created\":\"2025-08-26T12:31:51.277475365Z\",\"created_by\":\"VOLUME [/bitnami/postgresql /docker-entrypoint-initdb.d /docker-entrypoint-preinitdb.d]\",\"comment\":\"buildkit.dockerfile.v0\",\"empty_layer\":true},{\"created\":\"2025-08-26T12:31:51.277475365Z\",\"created_by\":\"EXPOSE map[5432/tcp:{}]\",\"comment\":\"buildkit.dockerfile.v0\",\"empty_layer\":true},{\"created\":\"2025-08-26T12:31:51.277475365Z\",\"created_by\":\"USER 1001\",\"comment\":\"buildkit.dockerfile.v0\",\"empty_layer\":true},{\"created\":\"2025-08-26T12:31:51.277475365Z\",\"created_by\":\"ENTRYPOINT [\\\"/opt/bitnami/scripts/postgresql/entrypoint.sh\\\"]\",\"comment\":\"buildkit.dockerfile.v0\",\"empty_layer\":true},{\"created\":\"2025-08-26T12:31:51.277475365Z\",\"created_by\":\"CMD [\\\"/opt/bitnami/scripts/postgresql/run.sh\\\"]\",\"comment\":\"buildkit.dockerfile.v0\",\"empty_layer\":true}]",
    "Created": "2025-08-26T12:31:51.277475365Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "1001",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "5432/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/opt/bitnami/postgresql/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "HOME=/",
            "OS_ARCH=amd64",
            "OS_FLAVOUR=debian-12",
            "OS_NAME=linux",
            "APP_VERSION=17.6.0",
            "BITNAMI_APP_NAME=postgresql",
            "IMAGE_REVISION=4",
            "LANG=en_US.UTF-8",
            "LANGUAGE=en_US:en",
            "NSS_WRAPPER_LIB=/opt/bitnami/common/lib/libnss_wrapper.so"
        ],
        "Cmd": [
            "/opt/bitnami/scripts/postgresql/run.sh"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": {
            "/bitnami/postgresql": {},
            "/docker-entrypoint-initdb.d": {},
            "/docker-entrypoint-preinitdb.d": {}
        },
        "WorkingDir": "",
        "Entrypoint": [
            "/opt/bitnami/scripts/postgresql/entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": {
            "com.vmware.cp.artifact.flavor": "sha256:c50c90cfd9d12b445b011e6ad529f1ad3daea45c26d20b00732fae3cd71f6a83",
            "org.opencontainers.image.base.name": "docker.io/bitnami/minideb:bookworm",
            "org.opencontainers.image.created": "2025-08-26T12:29:16Z",
            "org.opencontainers.image.description": "Application packaged by Broadcom, Inc.",
            "org.opencontainers.image.documentation": "https://github.com/bitnami/containers/tree/main/bitnami/postgresql/README.md",
            "org.opencontainers.image.source": "https://github.com/bitnami/containers/tree/main/bitnami/postgresql",
            "org.opencontainers.image.title": "postgresql",
            "org.opencontainers.image.vendor": "Broadcom, Inc.",
            "org.opencontainers.image.version": "17.6.0"
        },
        "Shell": [
            "/bin/bash",
            "-o",
            "errexit",
            "-o",
            "nounset",
            "-o",
            "pipefail",
            "-c"
        ]
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 343028983,
    "GraphDriver": {
        "Data": {
            "MergedDir": "/var/lib/docker/overlay2/d46eb513051a97400fee286c515aad482971f279ad488629e2430d86f4d9c1ee/merged",
            "UpperDir": "/var/lib/docker/overlay2/d46eb513051a97400fee286c515aad482971f279ad488629e2430d86f4d9c1ee/diff",
            "WorkDir": "/var/lib/docker/overlay2/d46eb513051a97400fee286c515aad482971f279ad488629e2430d86f4d9c1ee/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:72541a706b3fea0ad422305102a1b744cdf14518b493e1170668c8e5035436e8"
        ]
    },
    "Metadata": {
        "LastTagTime": "2026-08-22T09:40:15.879733207+08:00"
    }
}

更多版本

docker.io/bitnamilegacy/postgresql:15.3.0-debian-11-r0

linux/amd64 docker.io273.29MB2025-10-14 14:55
483

docker.io/bitnamilegacy/postgresql:16.4.0-debian-12-r11

linux/amd64 docker.io335.18MB2025-10-16 09:53
593

docker.io/bitnamilegacy/postgresql-repmgr:17.5.0-debian-12-r7

linux/arm64 docker.io373.84MB2025-10-20 13:10
452

docker.io/bitnamilegacy/postgresql-repmgr:17.6.0-debian-12-r2

linux/amd64 docker.io347.12MB2025-10-20 14:16
730

docker.io/bitnamilegacy/postgresql-repmgr:17.6.0-debian-12-r2

linux/arm64 docker.io373.77MB2025-10-20 14:19
401

docker.io/bitnamilegacy/postgresql:15.4.0-debian-11-r45

linux/amd64 docker.io274.13MB2025-10-20 18:38
623

docker.io/bitnamilegacy/postgresql:16.6.0

linux/amd64 docker.io338.02MB2025-11-27 04:16
511

docker.io/bitnamilegacy/postgresql:11.14.0

linux/amd64 docker.io262.25MB2025-12-24 14:23
424

docker.io/bitnamilegacy/postgresql:11.11.0

linux/amd64 docker.io257.56MB2026-02-10 21:25
388

docker.io/bitnamilegacy/postgresql:15.3.0-debian-11-r7

linux/amd64 docker.io272.66MB2026-02-13 12:36
349

docker.io/bitnamilegacy/postgresql:16.1.0-debian-11-r15

linux/amd64 docker.io274.42MB2026-03-27 15:13
260

docker.io/bitnamilegacy/postgresql:14.17.0-debian-12-r3

linux/amd64 docker.io337.21MB2026-06-18 09:19
133

docker.io/bitnamilegacy/postgresql:17.3.0-debian-12-r1

linux/amd64 docker.io339.04MB2026-07-13 15:53
96

docker.io/bitnamilegacy/postgresql:17.6.0-debian-12-r4

linux/amd64 docker.io343.03MB2026-08-22 09:40
10
检测到您正在使用广告拦截插件,本站为公益站点,依赖广告维持运转 🙏 查看如何关闭 ×