docker.io/postgres:14.11 linux/amd64

docker.io/postgres:14.11 - 国内下载镜像源 浏览次数:28 安全受验证的发布者-Postgres
PostgreSQL 是一个开源的关系数据库管理系统(RDBMS),提供了传输控制协议(TCP)上的 PostgreSQL 服务。该镜像支持多种操作系统和存储引擎,方便开发、测试和部署应用程序。
源镜像 docker.io/postgres:14.11
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgres:14.11
镜像ID sha256:db0f5d551b0dc11eacae674e7a8a066aeaca0630f637349887f76ffddaeed840
镜像TAG 14.11
大小 421.97MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD postgres
启动入口 docker-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 28 次
贡献者
镜像创建 2024-02-21T00:46:13Z
同步时间 2024-11-05 19:40
更新时间 2024-11-20 08:01
开放端口
5432/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/14/bin GOSU_VERSION=1.17 LANG=en_US.utf8 PG_MAJOR=14 PG_VERSION=14.11-1.pgdg120+2 PGDATA=/var/lib/postgresql/data
镜像安全扫描 查看Trivy扫描报告

系统OS: debian 12.5 扫描引擎: Trivy 扫描时间: 2024-11-05 19:40

低危漏洞:115 中危漏洞:67 高危漏洞:56 严重漏洞:8

Docker拉取命令 无权限下载?点我修复

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgres:14.11
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgres:14.11  docker.io/postgres:14.11

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgres:14.11
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgres:14.11  docker.io/postgres:14.11

Shell快速替换命令

sed -i 's#postgres:14.11#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgres:14.11#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgres:14.11 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgres:14.11  docker.io/postgres:14.11'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgres:14.11 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgres:14.11  docker.io/postgres:14.11'

镜像历史

大小 创建时间 层信息
0.00B 2024-02-21 08:46:13 CMD ["postgres"]
0.00B 2024-02-21 08:46:13 EXPOSE map[5432/tcp:{}]
0.00B 2024-02-21 08:46:13 STOPSIGNAL SIGINT
0.00B 2024-02-21 08:46:13 ENTRYPOINT ["docker-entrypoint.sh"]
23.00B 2024-02-21 08:46:13 RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
14.96KB 2024-02-21 08:46:13 COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
0.00B 2024-02-21 08:46:13 VOLUME [/var/lib/postgresql/data]
0.00B 2024-02-21 08:46:13 RUN /bin/sh -c mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 1777 "$PGDATA" # buildkit
0.00B 2024-02-21 08:46:13 ENV PGDATA=/var/lib/postgresql/data
0.00B 2024-02-21 08:46:13 RUN /bin/sh -c mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 3777 /var/run/postgresql # buildkit
58.06KB 2024-02-21 08:46:13 RUN /bin/sh -c set -eux; dpkg-divert --add --rename --divert "/usr/share/postgresql/postgresql.conf.sample.dpkg" "/usr/share/postgresql/$PG_MAJOR/postgresql.conf.sample"; cp -v /usr/share/postgresql/postgresql.conf.sample.dpkg /usr/share/postgresql/postgresql.conf.sample; ln -sv ../postgresql.conf.sample "/usr/share/postgresql/$PG_MAJOR/"; sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/share/postgresql/postgresql.conf.sample; grep -F "listen_addresses = '*'" /usr/share/postgresql/postgresql.conf.sample # buildkit
304.59MB 2024-02-21 08:46:13 RUN /bin/sh -c set -ex; export PYTHONDONTWRITEBYTECODE=1; dpkgArch="$(dpkg --print-architecture)"; aptRepo="[ signed-by=/usr/local/share/keyrings/postgres.gpg.asc ] http://apt.postgresql.org/pub/repos/apt/ bookworm-pgdg main $PG_MAJOR"; case "$dpkgArch" in amd64 | arm64 | ppc64el | s390x) echo "deb $aptRepo" > /etc/apt/sources.list.d/pgdg.list; apt-get update; ;; *) echo "deb-src $aptRepo" > /etc/apt/sources.list.d/pgdg.list; savedAptMark="$(apt-mark showmanual)"; tempDir="$(mktemp -d)"; cd "$tempDir"; apt-get update; apt-get install -y --no-install-recommends dpkg-dev; echo "deb [ trusted=yes ] file://$tempDir ./" > /etc/apt/sources.list.d/temp.list; _update_repo() { dpkg-scanpackages . > Packages; apt-get -o Acquire::GzipIndexes=false update; }; _update_repo; nproc="$(nproc)"; export DEB_BUILD_OPTIONS="nocheck parallel=$nproc"; apt-get build-dep -y postgresql-common pgdg-keyring; apt-get source --compile postgresql-common pgdg-keyring; _update_repo; apt-get build-dep -y "postgresql-$PG_MAJOR=$PG_VERSION"; apt-get source --compile "postgresql-$PG_MAJOR=$PG_VERSION"; apt-mark showmanual | xargs apt-mark auto > /dev/null; apt-mark manual $savedAptMark; ls -lAFh; _update_repo; grep '^Package: ' Packages; cd /; ;; esac; apt-get install -y --no-install-recommends postgresql-common; sed -ri 's/#(create_main_cluster) .*$/\1 = false/' /etc/postgresql-common/createcluster.conf; apt-get install -y --no-install-recommends "postgresql-$PG_MAJOR=$PG_VERSION" ; rm -rf /var/lib/apt/lists/*; if [ -n "$tempDir" ]; then apt-get purge -y --auto-remove; rm -rf "$tempDir" /etc/apt/sources.list.d/temp.list; fi; find /usr -name '*.pyc' -type f -exec bash -c 'for pyc; do dpkg -S "$pyc" &> /dev/null || rm -vf "$pyc"; done' -- '{}' +; postgres --version # buildkit
0.00B 2024-02-21 08:46:13 ENV PG_VERSION=14.11-1.pgdg120+2
0.00B 2024-02-21 08:46:13 ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/14/bin
0.00B 2024-02-21 08:46:13 ENV PG_MAJOR=14
3.98KB 2024-02-21 08:46:13 RUN /bin/sh -c set -ex; key='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8'; export GNUPGHOME="$(mktemp -d)"; mkdir -p /usr/local/share/keyrings/; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; gpg --batch --export --armor "$key" > /usr/local/share/keyrings/postgres.gpg.asc; gpgconf --kill all; rm -rf "$GNUPGHOME" # buildkit
0.00B 2024-02-21 08:46:13 RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
3.18MB 2024-02-21 08:46:13 RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends libnss-wrapper xz-utils zstd ; rm -rf /var/lib/apt/lists/* # buildkit
0.00B 2024-02-21 08:46:13 ENV LANG=en_US.utf8
25.20MB 2024-02-21 08:46:13 RUN /bin/sh -c set -eux; if [ -f /etc/dpkg/dpkg.cfg.d/docker ]; then grep -q '/usr/share/locale' /etc/dpkg/dpkg.cfg.d/docker; sed -ri '/\/usr\/share\/locale/d' /etc/dpkg/dpkg.cfg.d/docker; ! grep -q '/usr/share/locale' /etc/dpkg/dpkg.cfg.d/docker; fi; apt-get update; apt-get install -y --no-install-recommends locales; rm -rf /var/lib/apt/lists/*; echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen; locale-gen; locale -a | grep 'en_US.utf8' # buildkit
4.16MB 2024-02-21 08:46:13 RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends ca-certificates wget; rm -rf /var/lib/apt/lists/*; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit
0.00B 2024-02-21 08:46:13 ENV GOSU_VERSION=1.17
9.93MB 2024-02-21 08:46:13 RUN /bin/sh -c set -ex; apt-get update; apt-get install -y --no-install-recommends gnupg less ; rm -rf /var/lib/apt/lists/* # buildkit
4.32KB 2024-02-21 08:46:13 RUN /bin/sh -c set -eux; groupadd -r postgres --gid=999; useradd -r -g postgres --uid=999 --home-dir=/var/lib/postgresql --shell=/bin/bash postgres; mkdir -p /var/lib/postgresql; chown -R postgres:postgres /var/lib/postgresql # buildkit
0.00B 2024-02-21 08:46:13 /bin/sh -c #(nop) CMD ["bash"]
74.83MB 2024-02-21 08:46:13 /bin/sh -c #(nop) ADD file:4b1be1de1a1e5aa608c688cad2824587262081866180d7368feb79d33ca05953 in /

镜像信息

{
    "Id": "sha256:db0f5d551b0dc11eacae674e7a8a066aeaca0630f637349887f76ffddaeed840",
    "RepoTags": [
        "postgres:14.11",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgres:14.11"
    ],
    "RepoDigests": [
        "postgres@sha256:d6850c40261fdc9a4fb33b9521d9d641c4a5dcb82145f7bcc32c9258f81e75a2",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgres@sha256:d38e107115d570990c7e3ed6d95bc91de3660abc067f12933e423cee05a9aa77"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-02-21T00:46:13Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "5432/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/14/bin",
            "GOSU_VERSION=1.17",
            "LANG=en_US.utf8",
            "PG_MAJOR=14",
            "PG_VERSION=14.11-1.pgdg120+2",
            "PGDATA=/var/lib/postgresql/data"
        ],
        "Cmd": [
            "postgres"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": {
            "/var/lib/postgresql/data": {}
        },
        "WorkingDir": "",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null,
        "StopSignal": "SIGINT"
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 421972465,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/8aea175db617ae2685f7c2212af7b4f969ec20bdb6c073d1650e9ed25f1c49a4/diff:/var/lib/docker/overlay2/a93839febbf1e396d69e6436a9fc0f52045fadd12a4408d88e4f756d22d71d17/diff:/var/lib/docker/overlay2/578c62355175f8009cd3b3b779c9775cb7365b754a9fa0777e09d383de1645a4/diff:/var/lib/docker/overlay2/c3acd6ebf40dbc48304193a3117f314da182c3f1de73e023e258007b07548be3/diff:/var/lib/docker/overlay2/b3961193b870f01c6701b68d2ea522adf0758e81309fee576053f4dacf2cc782/diff:/var/lib/docker/overlay2/540dd5c2763dfd07f7528d7a4eacefe8d431b6a6855b9bdf7661259648b2e934/diff:/var/lib/docker/overlay2/880fdd0b8c2945eb5f4c9248ad4c7d6c747bfd02081c16db087581ffcfcd36d4/diff:/var/lib/docker/overlay2/4df90d9f32d820386e5d02a774d729ebffdc5171d94f9fd2c2872f97939973cd/diff:/var/lib/docker/overlay2/9b876e5b4cb99a1ad00848bc39d25b1a77d074bd5573ad0d0faecec7566151d5/diff:/var/lib/docker/overlay2/6e6d004d7138cc1abdee68499c548e840d36f2548ffcacb8e0c38683c484bb0f/diff:/var/lib/docker/overlay2/9ae5d938871b7dae4d9b90b0dbe35ed4b77017a869ba4b2e5fbdf5ebd61f8abe/diff:/var/lib/docker/overlay2/f415cc60e2fc61617bb9fb4ea4de87a05540ebb8b8365469e97ce28dd7979ab1/diff:/var/lib/docker/overlay2/194d56006cb9f8fbc4caa6a7e7898d5453bf82b71efd73e554e1f6a56dd50538/diff",
            "MergedDir": "/var/lib/docker/overlay2/b680990cf487c272c0c9cb4e9f2deed61e0c99ff3b1265509b0b3edd1288a6cc/merged",
            "UpperDir": "/var/lib/docker/overlay2/b680990cf487c272c0c9cb4e9f2deed61e0c99ff3b1265509b0b3edd1288a6cc/diff",
            "WorkDir": "/var/lib/docker/overlay2/b680990cf487c272c0c9cb4e9f2deed61e0c99ff3b1265509b0b3edd1288a6cc/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:52ec5a4316fadc09a4a51f82b8d7b66ead0d71bea4f75e81e25b4094c4219061",
            "sha256:66491a09fd92224820e8a63261e83b7824e4f1d391f372f1a0aec671c21316e1",
            "sha256:186cf4386be1ac5204da5f5ddcd1f6b8720eb82a30ad5e533138cc43d707db99",
            "sha256:9c36efa3f05aa0e0bd2281faff61cc8f8e65cb599b7171bdeb1277617841cc27",
            "sha256:4e26e60d719f01fb1cad4de83e372a870c97ea06861bce06b34efcb23d4f7299",
            "sha256:a0c9513f820fa2b803551ce663addb8264c63eb8368691a8acd2d98c024bac5a",
            "sha256:647ac9b03a7103a49196aeaf2d20e5ea790a191410a46c1b2e3c414451e7b30b",
            "sha256:0dcb206f137400913e0d82f343ba8ad96956cac5c1d6b53558e567b712128d26",
            "sha256:90c16afce9e89c4dabef4d25f37fce00cff90772a3ea978a2add8acb48468672",
            "sha256:a52e83f9280067e54141323481bf484cfddcb08b8684ac08fd2b297a8e1cdfb9",
            "sha256:558287d8b8be1c830952f6d6bccaf7a45327a7b50186b8ec53f51aaa80b93ad7",
            "sha256:a603395438a7c77fc6bb432f2d611f5dc01d9a9e72fb05f188c13f7c285263e4",
            "sha256:1a72b2df88328ffabb765dc22076b7056a7902aa332c0406331ffa2144460cf2",
            "sha256:e20b2f5b2634e956af6d9c5ca6a07829777b230b195c1ed54063c48888a1e632"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-11-05T19:40:11.645073548+08:00"
    }
}

更多版本

docker.io/postgres:12.19-bullseye

linux/amd64 docker.io386.93MB2024-06-16 13:12
304

docker.io/postgres:15-alpine

linux/amd64 docker.io248.31MB2024-06-19 17:31
865

docker.io/postgres:12.19-alpine3.20

linux/amd64 docker.io236.26MB2024-06-28 17:32
180

docker.io/postgres:16.3-alpine3.20

linux/amd64 docker.io244.93MB2024-06-28 17:32
421

docker.io/postgres:14-alpine

linux/amd64 docker.io241.40MB2024-07-03 23:43
315

docker.io/postgres:15-alpine

linux/arm64 docker.io250.04MB2024-07-08 15:04
772

docker.io/postgres:15.4

linux/amd64 docker.io410.61MB2024-07-18 12:35
719

docker.io/postgres:9.6.21-alpine

linux/arm64 docker.io35.93MB2024-07-24 11:50
154

docker.io/postgres:13.8

linux/arm64 docker.io354.23MB2024-07-24 23:02
221

docker.io/postgres:16

linux/amd64 docker.io431.58MB2024-07-26 18:25
437

docker.io/postgres:9.6.24

linux/amd64 docker.io199.69MB2024-08-01 16:37
328

docker.io/postgres:15.3

linux/arm64 docker.io433.16MB2024-08-01 16:55
223

docker.io/postgres:16.3

linux/amd64 docker.io431.58MB2024-08-02 14:29
223

docker.io/postgres:16.3-bookworm

linux/amd64 docker.io431.58MB2024-08-08 17:41
128

docker.io/postgres:14.2-alpine

linux/amd64 docker.io210.71MB2024-08-15 15:18
149

docker.io/postgres:16.4

linux/amd64 docker.io431.68MB2024-08-27 17:28
425

docker.io/postgres:12.2

linux/amd64 docker.io313.75MB2024-09-13 17:25
166

docker.io/postgres:17

linux/amd64 docker.io434.31MB2024-10-01 13:14
224

docker.io/postgres:17-alpine

linux/amd64 docker.io248.16MB2024-10-03 21:57
155

docker.io/postgres:14.12

linux/amd64 docker.io421.93MB2024-10-14 14:43
118

docker.io/postgres:13.14

linux/amd64 docker.io419.14MB2024-10-15 10:01
226

docker.io/postgres:10-alpine

linux/amd64 docker.io79.09MB2024-10-15 20:03
178

docker.io/postgres:alpine

linux/amd64 docker.io248.16MB2024-10-24 11:56
193

docker.io/postgres:14.7-alpine3.17

linux/amd64 docker.io241.71MB2024-10-29 17:41
225

docker.io/postgres:14.11

linux/amd64 docker.io421.97MB2024-11-05 19:40
27

docker.io/postgres:12.3

linux/amd64 docker.io313.02MB2024-11-07 08:48
30

docker.io/postgres:12

linux/amd64 docker.io418.59MB2024-11-09 11:00
31