docker.io/postgres:14.7-alpine3.17 linux/amd64

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

系统OS: alpine 3.17.3 扫描引擎: Trivy 扫描时间: 2024-10-29 17:41

低危漏洞:4 中危漏洞:41 高危漏洞:4 严重漏洞:0

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2023-03-30 09:52:50 /bin/sh -c #(nop) CMD ["postgres"]
0.00B 2023-03-30 09:52:50 /bin/sh -c #(nop) EXPOSE 5432
0.00B 2023-03-30 09:52:50 /bin/sh -c #(nop) STOPSIGNAL SIGINT
0.00B 2023-03-30 09:52:50 /bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
12.49KB 2023-03-30 09:52:50 /bin/sh -c #(nop) COPY file:e635913e9467265f505455bc3f08bed37d67ce6597a1f10365f8faf79f09b654 in /usr/local/bin/
0.00B 2023-03-30 09:52:50 /bin/sh -c #(nop) VOLUME [/var/lib/postgresql/data]
0.00B 2023-03-30 09:52:50 /bin/sh -c mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 1777 "$PGDATA"
0.00B 2023-03-30 09:52:49 /bin/sh -c #(nop) ENV PGDATA=/var/lib/postgresql/data
0.00B 2023-03-30 09:52:49 /bin/sh -c mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 3777 /var/run/postgresql
57.39KB 2023-03-30 09:52:49 /bin/sh -c set -eux; cp -v /usr/local/share/postgresql/postgresql.conf.sample /usr/local/share/postgresql/postgresql.conf.sample.orig; sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/local/share/postgresql/postgresql.conf.sample; grep -F "listen_addresses = '*'" /usr/local/share/postgresql/postgresql.conf.sample
234.59MB 2023-03-30 09:52:48 /bin/sh -c set -eux; wget -O postgresql.tar.bz2 "https://ftp.postgresql.org/pub/source/v$PG_VERSION/postgresql-$PG_VERSION.tar.bz2"; echo "$PG_SHA256 *postgresql.tar.bz2" | sha256sum -c -; mkdir -p /usr/src/postgresql; tar --extract --file postgresql.tar.bz2 --directory /usr/src/postgresql --strip-components 1 ; rm postgresql.tar.bz2; apk add --no-cache --virtual .build-deps bison coreutils dpkg-dev dpkg flex gcc krb5-dev libc-dev libedit-dev libxml2-dev libxslt-dev linux-headers llvm-dev clang g++ make openldap-dev openssl-dev perl-dev perl-ipc-run perl-utils python3-dev tcl-dev util-linux-dev zlib-dev icu-dev lz4-dev ; cd /usr/src/postgresql; awk '$1 == "#define" && $2 == "DEFAULT_PGSOCKET_DIR" && $3 == "\"/tmp\"" { $3 = "\"/var/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; grep '/var/run/postgresql' src/include/pg_config_manual.h.new; mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; wget -O config/config.guess 'https://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=7d3d27baf8107b630586c962c057e22149653deb'; wget -O config/config.sub 'https://git.savannah.gnu.org/cgit/config.git/plain/config.sub?id=7d3d27baf8107b630586c962c057e22149653deb'; ./configure --build="$gnuArch" --enable-integer-datetimes --enable-thread-safety --enable-tap-tests --disable-rpath --with-uuid=e2fs --with-gnu-ld --with-pgport=5432 --with-system-tzdata=/usr/share/zoneinfo --prefix=/usr/local --with-includes=/usr/local/include --with-libraries=/usr/local/lib --with-krb5 --with-gssapi --with-ldap --with-tcl --with-perl --with-python --with-openssl --with-libxml --with-libxslt --with-icu --with-llvm --with-lz4 ; make -j "$(nproc)" world; make install-world; make -C contrib install; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | grep -v -e perl -e python -e tcl )"; apk add --no-cache --virtual .postgresql-rundeps $runDeps bash su-exec tzdata zstd icu-data-full $([ "$(apk --print-arch)" != 'ppc64le' ] && echo 'nss_wrapper') ; apk del --no-network .build-deps; cd /; rm -rf /usr/src/postgresql /usr/local/share/doc /usr/local/share/man ; postgres --version
0.00B 2023-03-30 09:50:07 /bin/sh -c #(nop) ENV PG_SHA256=cef60f0098fa8101c1546f4254e45b722af5431337945b37af207007630db331
0.00B 2023-03-30 09:50:07 /bin/sh -c #(nop) ENV PG_VERSION=14.7
0.00B 2023-03-30 09:50:07 /bin/sh -c #(nop) ENV PG_MAJOR=14
0.00B 2023-03-30 09:47:13 /bin/sh -c mkdir /docker-entrypoint-initdb.d
0.00B 2023-03-30 09:47:13 /bin/sh -c #(nop) ENV LANG=en_US.utf8
4.71KB 2023-03-30 09:47:13 /bin/sh -c set -eux; addgroup -g 70 -S postgres; adduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; mkdir -p /var/lib/postgresql; chown -R postgres:postgres /var/lib/postgresql
0.00B 2023-03-30 02:19:24 /bin/sh -c #(nop) CMD ["/bin/sh"]
7.05MB 2023-03-30 02:19:24 /bin/sh -c #(nop) ADD file:9a4f77dfaba7fd2aa78186e4ef0e7486ad55101cefc1fabbc1b385601bb38920 in /

镜像信息

{
    "Id": "sha256:9d94e6318ef20718479e031c9afdd911c572c0fdf724437b4c87de4b24136dae",
    "RepoTags": [
        "postgres:14.7-alpine3.17",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgres:14.7-alpine3.17"
    ],
    "RepoDigests": [
        "postgres@sha256:07985c5c5e01ee550b30c67a2cf806f8b08b32f74e3f24c4cbef31305ef5776d",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgres@sha256:c06405f9394f2be49ba284304758c50a26770c1fe3d4bcce5ed877e617a3b137"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2023-03-30T01:52:50.75554073Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "20.10.23",
    "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",
            "LANG=en_US.utf8",
            "PG_MAJOR=14",
            "PG_VERSION=14.7",
            "PG_SHA256=cef60f0098fa8101c1546f4254e45b722af5431337945b37af207007630db331",
            "PGDATA=/var/lib/postgresql/data"
        ],
        "Cmd": [
            "postgres"
        ],
        "Image": "sha256:65b1ff77b7ebe0e297a9e36c1542bb0f88d1c9f225b81bcbe2c64ea72e95a4c9",
        "Volumes": {
            "/var/lib/postgresql/data": {}
        },
        "WorkingDir": "",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null,
        "StopSignal": "SIGINT"
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 241709880,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/3b3d36134e2e59f1e6fdc35f78d64fb82f8e57db635372810cf1132003733142/diff:/var/lib/docker/overlay2/df28754a8b943fb7275ddace57fbfbb4e11823f2ceaf82e2493355f1134cb0f4/diff:/var/lib/docker/overlay2/642fdb95668b415fcca303c33217aef30fdbf15a68c4ffa2e5f7cb0cc741edba/diff:/var/lib/docker/overlay2/fffcb0cbc0a88b8d69a81c3718b16b2f92e908d9783e827d044dfdc00ecd987f/diff:/var/lib/docker/overlay2/f234c49eba5c23c484c1617e5cff6c1803d9dd5a96b87b5732fc8824ddc8b588/diff:/var/lib/docker/overlay2/b73ea26f954adf80e3bbd15a1ec00e9798d7c9db92b35ce94a7d5764e8e9a082/diff:/var/lib/docker/overlay2/7f036f80e3a33cb1fbe2071347e4e7ed9b4c61911f14b57b1c52eadd95c72870/diff",
            "MergedDir": "/var/lib/docker/overlay2/57b50013294c3145ec65ed840a7da5464e8276e4aff50f7138a843dd3459bd5d/merged",
            "UpperDir": "/var/lib/docker/overlay2/57b50013294c3145ec65ed840a7da5464e8276e4aff50f7138a843dd3459bd5d/diff",
            "WorkDir": "/var/lib/docker/overlay2/57b50013294c3145ec65ed840a7da5464e8276e4aff50f7138a843dd3459bd5d/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:f1417ff83b319fbdae6dd9cd6d8c9c88002dcd75ecf6ec201c8c6894681cf2b5",
            "sha256:fcf02a753237f1b1b42cc1b01f064e519091b790f0a07c2b93ea57b5738ed0e4",
            "sha256:5a60e9fc7e1e4a0f1964971cc5e4ebfaadd3fe2aaebe7f8b50ba81919abdb322",
            "sha256:839a4846a4fecf45c573d92be44db3e389d975613e022e55b1ad5deef5524c4b",
            "sha256:9007bbe053adc0287fc978d39475e28ea74038c06332dfd87ba06c03af82af97",
            "sha256:b4d8c6f32a0dda6cb687c9407d9ad7c7e11fc9eccf620208ffb75bf3ebd0c7f6",
            "sha256:b2d4f940ecb460ba8474f12c0c06ffe4af45548602ba24020080432a3759c13d",
            "sha256:d1749f225e143ee5f5d9cee33936e4255ada80e9f578bdcd66358cff48e87d4a"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-10-29T17:40:40.527335216+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
866

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
179

docker.io/postgres:alpine

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

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
28

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