docker.io/postgres:9.5 linux/amd64

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

系统OS: debian 9.13 扫描引擎: Trivy 扫描时间: 2024-11-22 11:47

低危漏洞:52 中危漏洞:69 高危漏洞:97 严重漏洞:13

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2021-05-12 22:39:14 /bin/sh -c #(nop) CMD ["postgres"]
0.00B 2021-05-12 22:39:14 /bin/sh -c #(nop) EXPOSE 5432
0.00B 2021-05-12 22:39:13 /bin/sh -c #(nop) STOPSIGNAL SIGINT
0.00B 2021-05-12 22:39:13 /bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
34.00B 2021-05-12 22:39:13 /bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh / # backwards compat
11.31KB 2021-05-12 22:39:11 /bin/sh -c #(nop) COPY file:b14ac9ddf7e0a36b021a2f5ce366f60c1befa4d9e96285f4c5a38ce8c3886b3e in /usr/local/bin/
0.00B 2021-05-12 22:39:11 /bin/sh -c #(nop) VOLUME [/var/lib/postgresql/data]
0.00B 2021-05-12 22:39:10 /bin/sh -c mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA"
0.00B 2021-05-12 22:39:09 /bin/sh -c #(nop) ENV PGDATA=/var/lib/postgresql/data
0.00B 2021-05-12 22:39:09 /bin/sh -c #(nop) ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/9.5/bin
0.00B 2021-05-12 22:39:08 /bin/sh -c mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 2777 /var/run/postgresql
43.60KB 2021-05-12 22:39:07 /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
109.20MB 2021-05-12 22:39:06 /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 --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" "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 2021-05-12 22:38:49 /bin/sh -c #(nop) ENV PG_VERSION=9.5.25-1.pgdg90+1
0.00B 2021-05-12 22:38:49 /bin/sh -c #(nop) ENV PG_MAJOR=9.5
5.20KB 2021-05-12 22:36:38 /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 2021-05-12 22:36:35 /bin/sh -c mkdir /docker-entrypoint-initdb.d
1.36MB 2021-05-12 22:36:33 /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends libnss-wrapper xz-utils ; rm -rf /var/lib/apt/lists/*
0.00B 2021-05-12 22:36:29 /bin/sh -c #(nop) ENV LANG=en_US.utf8
16.53MB 2021-05-12 22:36:29 /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/*; localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
4.15MB 2021-05-12 22:36:23 /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
0.00B 2021-05-12 22:36:11 /bin/sh -c #(nop) ENV GOSU_VERSION=1.12
328.58KB 2021-05-12 22:36:11 /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 2021-05-12 22:36:10 /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 2021-05-12 09:23:22 /bin/sh -c #(nop) CMD ["bash"]
55.34MB 2021-05-12 09:23:21 /bin/sh -c #(nop) ADD file:a88164546613d1850e5c5494cccad7124d713187bfabf592a783eb9328de51eb in /

镜像信息

{
    "Id": "sha256:6d176851b77f575c4380852ee2b795850fdbc832397b2282e63636947f1754bf",
    "RepoTags": [
        "postgres:9.5",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgres:9.5"
    ],
    "RepoDigests": [
        "postgres@sha256:75ebf479151a8fd77bf2fed46ef76ce8d518c23264734c48f2d1de42b4eb40ae",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgres@sha256:78bdf72abdd619368cd22fd6372553f4ece87b2ca0f8f9fa4a2ab0e3a3932c36"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2021-05-12T14:39:14.459636345Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "19.03.12",
    "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.5/bin",
            "GOSU_VERSION=1.12",
            "LANG=en_US.utf8",
            "PG_MAJOR=9.5",
            "PG_VERSION=9.5.25-1.pgdg90+1",
            "PGDATA=/var/lib/postgresql/data"
        ],
        "Cmd": [
            "postgres"
        ],
        "Image": "sha256:2de03fe0ada24e4a397c6f0ef216bebcb9db7711524a6870a067771ffe80f557",
        "Volumes": {
            "/var/lib/postgresql/data": {}
        },
        "WorkingDir": "",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null,
        "StopSignal": "SIGINT"
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 197213971,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/507f808f718f9e3ad4d2470dab06055549aa4f9c0227ae8c2f1854917afdfd8e/diff:/var/lib/docker/overlay2/d553cfbfba98af6ef9e67fe2f14f521d674db19c68725433e27750f49415f9a0/diff:/var/lib/docker/overlay2/a0fde142c33cddd9d4091e8cc127cfed7610ff95e3527226ce87a480afb2ccf3/diff:/var/lib/docker/overlay2/aa1ecebfa3761c0cc1e3a78df13a86d7c9890b216190aefaeeb419f933f5b211/diff:/var/lib/docker/overlay2/069cc6f258275ab2032452bae9c167646a03c830aa2e3465724430d879a3a87b/diff:/var/lib/docker/overlay2/b368d688363dfab662983d0f43175085497bb6dc432636b3d36ba0b101e80391/diff:/var/lib/docker/overlay2/913b8280291fc27352142589dd0854dd59da5293132af9cd6660bfb979fc3ae7/diff:/var/lib/docker/overlay2/d93814a56989aad05d6aed952a318d9f2a6aa07b0619b248b2749463edf7595a/diff:/var/lib/docker/overlay2/c58add9b1760fd3b81e840043b8050317dd606c1535e9f765facdbceedd70426/diff:/var/lib/docker/overlay2/42af2d58e9c94699a85d432b596200f1a38b224b5b63c3e1337615196965f63f/diff:/var/lib/docker/overlay2/7ef281df509a4585a6d259a2511b2b190e4f019d03ba6c6ff234e42eeadb348f/diff:/var/lib/docker/overlay2/b0288fda8d59ecdacaac9738804c8cec4229354e3a8907484f81afeabb290866/diff:/var/lib/docker/overlay2/0525230cd7f80e5fa5d15ec7578061ccaf4121b463ab1f6b3131233a3a5e170d/diff",
            "MergedDir": "/var/lib/docker/overlay2/62c723ada39c4ee60f0cae9c6e4ecd26a6d17dc9e193b7aef4b4d3bcf2e3050b/merged",
            "UpperDir": "/var/lib/docker/overlay2/62c723ada39c4ee60f0cae9c6e4ecd26a6d17dc9e193b7aef4b4d3bcf2e3050b/diff",
            "WorkDir": "/var/lib/docker/overlay2/62c723ada39c4ee60f0cae9c6e4ecd26a6d17dc9e193b7aef4b4d3bcf2e3050b/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:5f682eac6c77746da208b984e7ebbf526e3af4cc02960c10b152df198623c32d",
            "sha256:9dce5d890e0e10b2d58bd578fb761a736c099a4d386d889b13266bea49d0c658",
            "sha256:538f4118a82a5dfefbb3b56de2c56923832cd03680f43b75cba00884f1c5f2f0",
            "sha256:c0e78bc61573f9ca09dce30e96174457a667196430a90b310d7236c2191a1b61",
            "sha256:51fe8c094d72d64d215fc24a619eb7c17b5fe7ef0951fac15489da44e9119699",
            "sha256:590540afdf9c41207e80746e9e620f321006f4e2e90b5f01f0dce2559d75df6f",
            "sha256:26fabc9e88e05d76760ca1f32d064824f0e3c7d7637de6e032e66f6d58340e99",
            "sha256:15ec5850a582b3da21d03a12ba9ccceedd3fb552d62c3e9ee8063f0f07bba971",
            "sha256:00abbe98c703e8995fda1c22544c25ce32c7e491e1bb51bda41def6a0b5be647",
            "sha256:d429db99daabcf9d1a8bb31f4e140eae7e0c84428eb268eb36448a74c00b2a01",
            "sha256:0d811bb91aa86c935a06b79ee01726602b7ba1c4c09b0eea8ce030c244b6c4e2",
            "sha256:b853877fd557f39cc1121663354d33b832116864ce778d70204eb85a09502111",
            "sha256:eb7049883ab499de3bb66f1fbccc5ee2219877060329ff7f8b1d919b0b30b336",
            "sha256:480f374bfd75dfac139b2c34ad294165372bfa4cf11677ffbe97377af78e619f"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-11-22T11:45:40.868770041+08:00"
    }
}

更多版本

docker.io/postgres:12.19-bullseye

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

docker.io/postgres:15-alpine

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

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
437

docker.io/postgres:14-alpine

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

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
242

docker.io/postgres:16

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

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
246

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
161

docker.io/postgres:16.4

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

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
270

docker.io/postgres:17-alpine

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

docker.io/postgres:14.12

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

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
226

docker.io/postgres:14.7-alpine3.17

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

docker.io/postgres:14.11

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

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
27

docker.io/postgres:11

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

docker.io/postgres:16-alpine

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

docker.io/postgres:9.6.16

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