docker.io/postgres:9.6.16 linux/amd64

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

系统OS: debian 9.11 扫描引擎: Trivy 扫描时间: 2024-12-04 12:58

低危漏洞:53 中危漏洞:112 高危漏洞:218 严重漏洞:54

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2020-02-02 14:10:14 /bin/sh -c #(nop) CMD ["postgres"]
0.00B 2020-02-02 14:10:14 /bin/sh -c #(nop) EXPOSE 5432
0.00B 2020-02-02 14:10:14 /bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
34.00B 2020-02-02 14:10:14 /bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh / # backwards compat
9.35KB 2020-02-02 14:10:13 /bin/sh -c #(nop) COPY file:cbee5ff17d821d73b1907a597065e0b50774f8971d6495e6d3792ca01d557a2c in /usr/local/bin/
0.00B 2020-02-02 14:10:13 /bin/sh -c #(nop) VOLUME [/var/lib/postgresql/data]
0.00B 2020-02-02 14:10:12 /bin/sh -c mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA"
0.00B 2020-02-02 14:10:12 /bin/sh -c #(nop) ENV PGDATA=/var/lib/postgresql/data
0.00B 2020-02-02 14:10:11 /bin/sh -c #(nop) ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/9.6/bin
0.00B 2020-02-02 14:10:11 /bin/sh -c mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 2777 /var/run/postgresql
45.34KB 2020-02-02 14:10:10 /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
161.99MB 2020-02-02 14:10:09 /bin/sh -c set -ex; export PYTHONDONTWRITEBYTECODE=1; dpkgArch="$(dpkg --print-architecture)"; case "$dpkgArch" in amd64|i386|ppc64el) echo "deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main $PG_MAJOR" > /etc/apt/sources.list.d/pgdg.list; apt-get update; ;; *) echo "deb-src http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main $PG_MAJOR" > /etc/apt/sources.list.d/pgdg.list; case "$PG_MAJOR" in 9.* | 10 ) ;; *) echo 'deb http://deb.debian.org/debian stretch-backports main' >> /etc/apt/sources.list.d/pgdg.list; ;; esac; tempDir="$(mktemp -d)"; cd "$tempDir"; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get build-dep -y postgresql-common pgdg-keyring "postgresql-$PG_MAJOR=$PG_VERSION" ; DEB_BUILD_OPTIONS="nocheck parallel=$(nproc)" apt-get source --compile postgresql-common pgdg-keyring "postgresql-$PG_MAJOR=$PG_VERSION" ; apt-mark showmanual | xargs apt-mark auto > /dev/null; apt-mark manual $savedAptMark; ls -lAFh; dpkg-scanpackages . > Packages; grep '^Package: ' Packages; echo "deb [ trusted=yes ] file://$tempDir ./" > /etc/apt/sources.list.d/temp.list; apt-get -o Acquire::GzipIndexes=false update; ;; esac; apt-get install -y postgresql-common; sed -ri 's/#(create_main_cluster) .*$/\1 = false/' /etc/postgresql-common/createcluster.conf; apt-get install -y "postgresql-$PG_MAJOR=$PG_VERSION" "postgresql-contrib-$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' -- '{}' +
0.00B 2020-02-02 14:09:45 /bin/sh -c #(nop) ENV PG_VERSION=9.6.16-1.pgdg90+1
0.00B 2020-02-02 14:09:45 /bin/sh -c #(nop) ENV PG_MAJOR=9.6
4.63KB 2020-02-02 14:08:12 /bin/sh -c set -ex; key='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8'; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; gpg --batch --export "$key" > /etc/apt/trusted.gpg.d/postgres.gpg; command -v gpgconf > /dev/null && gpgconf --kill all; rm -rf "$GNUPGHOME"; apt-key list
0.00B 2020-02-02 14:08:08 /bin/sh -c mkdir /docker-entrypoint-initdb.d
1.08MB 2020-02-02 14:08:07 /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends libnss-wrapper; rm -rf /var/lib/apt/lists/*
0.00B 2020-02-02 14:08:00 /bin/sh -c #(nop) ENV LANG=en_US.utf8
16.53MB 2020-02-02 14:07:59 /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 locales; rm -rf /var/lib/apt/lists/*; localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
4.04MB 2020-02-02 14:07:49 /bin/sh -c set -x && apt-get update && apt-get install -y --no-install-recommends ca-certificates wget && rm -rf /var/lib/apt/lists/* && wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture)" && wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture).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 && { command -v gpgconf > /dev/null && gpgconf --kill all || :; } && rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc && chmod +x /usr/local/bin/gosu && gosu nobody true && apt-get purge -y --auto-remove ca-certificates wget
0.00B 2020-02-02 14:07:31 /bin/sh -c #(nop) ENV GOSU_VERSION=1.11
328.58KB 2020-02-02 14:07:31 /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
10.24MB 2020-02-02 14:07:30 /bin/sh -c set -ex; if ! command -v gpg > /dev/null; then apt-get update; apt-get install -y --no-install-recommends gnupg dirmngr ; rm -rf /var/lib/apt/lists/*; fi
0.00B 2020-02-02 01:23:58 /bin/sh -c #(nop) CMD ["bash"]
55.34MB 2020-02-02 01:23:57 /bin/sh -c #(nop) ADD file:003d2bac85e72555ed93f77a2b1d595a7fe51c4a9a2401496a82fc673a863fd6 in /

镜像信息

{
    "Id": "sha256:cb2889ab0680ba518e0dc1bb5a09cbe23f1e5908d9e484daea3d34f5e092ec17",
    "RepoTags": [
        "postgres:9.6.16",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgres:9.6.16"
    ],
    "RepoDigests": [
        "postgres@sha256:d6a6badb2b5b22de5e135490a217522cecc2ae90fe35b33290615827569310a1",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgres@sha256:c5df9349b2a361769ea3859d9d6b675cc3c08aab564115ab936632447aed15be"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2020-02-02T06:10:14.748219573Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "18.09.7",
    "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/9.6/bin",
            "GOSU_VERSION=1.11",
            "LANG=en_US.utf8",
            "PG_MAJOR=9.6",
            "PG_VERSION=9.6.16-1.pgdg90+1",
            "PGDATA=/var/lib/postgresql/data"
        ],
        "Cmd": [
            "postgres"
        ],
        "ArgsEscaped": true,
        "Image": "sha256:df5b934b874558f590c4d701e0fc365f014c16c6b6d6403809e4434e6b071a69",
        "Volumes": {
            "/var/lib/postgresql/data": {}
        },
        "WorkingDir": "",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 249610508,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/76c5993786d1a86ec5afc2bdd4cde12fdb1b0f5f8a35a769a37feb77583f0df5/diff:/var/lib/docker/overlay2/190f2d35fbd3dbbf945d6be9ef709b64b78143fd65ae451cf30b6c216d87de3e/diff:/var/lib/docker/overlay2/fa6639a937b4357f5f42253b943755dc22e6a6ba3e835010831ea5fade1d5734/diff:/var/lib/docker/overlay2/c7de63e787c74e731d3253b66560f7fdfbb75dafdd3a238cd593230826752335/diff:/var/lib/docker/overlay2/bd536d3ea251521d00bb7559095cd236990c4e3d397ae41a3113a36e576c089c/diff:/var/lib/docker/overlay2/ab5834ae82ecaa0b88e4145f1bca1f17e5838a69c92467b5106af28a85afe544/diff:/var/lib/docker/overlay2/55c972822e1f2dfadf7a93d019c1d76928978ce25b7e30063de7e8138112e282/diff:/var/lib/docker/overlay2/dff7319770bf3884137121094d420482c1294db97ca5f0cd63e8cafba322a201/diff:/var/lib/docker/overlay2/0cdf06adb79c3687275f64f657f48ce3b6a4d9306fff6b9f53e006a4dca5c587/diff:/var/lib/docker/overlay2/a726f0530071119f1fdbf7b512ff857c34083408cbd3b53eb0d5a0d87ea3f0fe/diff:/var/lib/docker/overlay2/e4e271b1f1327fd892928425b2a4a3d978ed4745af89be6d7df7318f43e52e06/diff:/var/lib/docker/overlay2/8d0498fc7ec5cc4538dbedd384b5cf48b21a4f33f598f6a0a22e1b742a25f6f6/diff:/var/lib/docker/overlay2/9751ae115bb76a5e93db5d1e8bfd5ae50b8b00188fb9538341bffcc97233a8ad/diff",
            "MergedDir": "/var/lib/docker/overlay2/fad6c1a198ef5ba0bd0684b67d86302be9f874643fd0eeb4a5b08af9dc0b76bc/merged",
            "UpperDir": "/var/lib/docker/overlay2/fad6c1a198ef5ba0bd0684b67d86302be9f874643fd0eeb4a5b08af9dc0b76bc/diff",
            "WorkDir": "/var/lib/docker/overlay2/fad6c1a198ef5ba0bd0684b67d86302be9f874643fd0eeb4a5b08af9dc0b76bc/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:e0db3ba0aaea8a01d5cb000aeb449c153be0a47a369cafc4e912b85fb18192cf",
            "sha256:db92a710edabdd9f92496865a93d48e5a680dda2a9647fd08b7c35ec1ff2f97c",
            "sha256:b7f2c5e33820f4bb8f24bb6d87f485480cea4798faba2e759baa88d80c22ff24",
            "sha256:f23f6d995871698af51513759caed6d4cf2a2cd121d19138bf5698a8166d8f3f",
            "sha256:26c47736aa5fbc3dd7afed487449477fd51815e0af9e50ebca49734387e358a5",
            "sha256:237d7f0d88ba7b88526ecca30ecc19f367cc0c40cea9c27c573845393061598d",
            "sha256:fd105bafa660c11d2d5579a081c2a7694b31670f1f47aa339b7b39e9cf23623d",
            "sha256:ba252f9a90034a7a454d19f65805187326e1ede8c182b12c3475d1be2dcd3fe7",
            "sha256:9e0995911d21ab16311cfac04efc2d13271e9c44c6da98155a0400bd4c5b4bef",
            "sha256:27e7268baa86a9fde1c8a46be61266d52e98c9317e70cf9a58157c9124e3d905",
            "sha256:3a9715e46b7a2f7b70729a1692778b6000f7291a8b2f58be448f0dca6ae81f82",
            "sha256:424fa7754dcdf533afe93e5e117cd1cca4e2252a1fa5a91fb62504341a31f2cb",
            "sha256:8cb49b682e4d796441ac73bcfc18c277c7e3ffe19ea85812670f4344ebe7ba06",
            "sha256:b1969cfa52804268f2d8a399f0a8b3e9e83223cd13a03c33e3c284376de1522f"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-12-04T12:56:44.889178439+08:00"
    }
}

更多版本

docker.io/postgres:12.19-bullseye

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

docker.io/postgres:15-alpine

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

docker.io/postgres:12.19-alpine3.20

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

docker.io/postgres:16.3-alpine3.20

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

docker.io/postgres:14-alpine

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

docker.io/postgres:15-alpine

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

docker.io/postgres:15.4

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

docker.io/postgres:9.6.21-alpine

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

docker.io/postgres:13.8

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

docker.io/postgres:16

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

docker.io/postgres:9.6.24

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

docker.io/postgres:15.3

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

docker.io/postgres:16.3

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

docker.io/postgres:16.3-bookworm

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

docker.io/postgres:14.2-alpine

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

docker.io/postgres:16.4

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

docker.io/postgres:12.2

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

docker.io/postgres:17

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

docker.io/postgres:17-alpine

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

docker.io/postgres:14.12

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

docker.io/postgres:13.14

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

docker.io/postgres:10-alpine

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

docker.io/postgres:alpine

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

docker.io/postgres:14.7-alpine3.17

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

docker.io/postgres:14.11

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

docker.io/postgres:12.3

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

docker.io/postgres:12

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

docker.io/postgres:9.5

linux/amd64 docker.io197.21MB2024-11-22 11:45
29

docker.io/postgres:11

linux/amd64 docker.io284.46MB2024-11-27 14:14
24

docker.io/postgres:16-alpine

linux/amd64 docker.io250.73MB2024-12-03 21:04
15

docker.io/postgres:9.6.16

linux/amd64 docker.io249.61MB2024-12-04 12:56
13