docker.io/postgres:9.6.21-alpine linux/arm64

docker.io/postgres:9.6.21-alpine - 国内下载镜像源 浏览次数:154 安全受验证的发布者-Postgres 温馨提示: 这是一个 linux/arm64 系统架构镜像
PostgreSQL 是一个开源的关系数据库管理系统(RDBMS),提供了传输控制协议(TCP)上的 PostgreSQL 服务。该镜像支持多种操作系统和存储引擎,方便开发、测试和部署应用程序。
源镜像 docker.io/postgres:9.6.21-alpine
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgres:9.6.21-alpine-linuxarm64
镜像ID sha256:987f2cb23288908e8d2e1c3b234aa019844a1c91a4d7a033bf400f9888ec086f
镜像TAG 9.6.21-alpine-linuxarm64
大小 35.93MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD postgres
启动入口 docker-entrypoint.sh
工作目录
OS/平台 linux/arm64
浏览量 154 次
贡献者
镜像创建 2021-04-15T06:43:28.675341195Z
同步时间 2024-07-24 11:50
更新时间 2024-11-20 22:52
开放端口
5432/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LANG=en_US.utf8 PG_MAJOR=9.6 PG_VERSION=9.6.21 PG_SHA256=930feaef28885c97ec40c26ab6221903751eeb625de92b22602706d7d47d1634 PGDATA=/var/lib/postgresql/data

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2021-04-15 14:43:28 /bin/sh -c #(nop) CMD ["postgres"]
0.00B 2021-04-15 14:43:27 /bin/sh -c #(nop) EXPOSE 5432
0.00B 2021-04-15 14:43:26 /bin/sh -c #(nop) STOPSIGNAL SIGINT
0.00B 2021-04-15 14:43:25 /bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
34.00B 2021-04-15 14:43:24 /bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh / # backwards compat
11.32KB 2021-04-15 14:43:21 /bin/sh -c #(nop) COPY file:e881105b30bb0f1591c0f7f6dfe19bf5351d029d5babae597d2698e04a16ec8b in /usr/local/bin/
0.00B 2021-04-15 14:43:19 /bin/sh -c #(nop) VOLUME [/var/lib/postgresql/data]
0.00B 2021-04-15 14:43:18 /bin/sh -c mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA"
0.00B 2021-04-15 14:43:15 /bin/sh -c #(nop) ENV PGDATA=/var/lib/postgresql/data
0.00B 2021-04-15 14:43:14 /bin/sh -c mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 2777 /var/run/postgresql
22.42KB 2021-04-15 14:43:10 /bin/sh -c sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/local/share/postgresql/postgresql.conf.sample
30.54MB 2021-04-15 14:43:07 /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 libc-dev libedit-dev libxml2-dev libxslt-dev linux-headers make openssl-dev perl-utils perl-ipc-run util-linux-dev zlib-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-openssl --with-libxml --with-libxslt ; 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 }' )"; apk add --no-cache --virtual .postgresql-rundeps $runDeps bash su-exec tzdata ; apk del --no-network .build-deps; cd /; rm -rf /usr/src/postgresql /usr/local/share/doc /usr/local/share/man ; postgres --version
0.00B 2021-04-15 14:39:51 /bin/sh -c #(nop) ENV PG_SHA256=930feaef28885c97ec40c26ab6221903751eeb625de92b22602706d7d47d1634
0.00B 2021-04-15 14:39:50 /bin/sh -c #(nop) ENV PG_VERSION=9.6.21
0.00B 2021-04-15 14:39:49 /bin/sh -c #(nop) ENV PG_MAJOR=9.6
0.00B 2021-04-15 14:22:58 /bin/sh -c mkdir /docker-entrypoint-initdb.d
0.00B 2021-04-15 14:22:55 /bin/sh -c #(nop) ENV LANG=en_US.utf8
4.68KB 2021-04-15 14:22:54 /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 2021-04-15 02:42:38 /bin/sh -c #(nop) CMD ["/bin/sh"]
5.35MB 2021-04-15 02:42:37 /bin/sh -c #(nop) ADD file:ca9d8b5d1cc2f2186983fc6b9507da6ada5eb92f2b518c06af1128d5396c6f34 in /

镜像信息

{
    "Id": "sha256:987f2cb23288908e8d2e1c3b234aa019844a1c91a4d7a033bf400f9888ec086f",
    "RepoTags": [
        "postgres:9.6.21-alpine",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgres:9.6.21-alpine-linuxarm64"
    ],
    "RepoDigests": [
        "postgres@sha256:9169becabc33ea452d14b085a1b073f9e855232ee7a3ce6492dfaf16fe37cd88",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgres@sha256:d7cbb321c5979318a2befc1ce2a320e5e89fb545e5813af0b1b658758f055b2b"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2021-04-15T06:43:28.675341195Z",
    "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",
            "LANG=en_US.utf8",
            "PG_MAJOR=9.6",
            "PG_VERSION=9.6.21",
            "PG_SHA256=930feaef28885c97ec40c26ab6221903751eeb625de92b22602706d7d47d1634",
            "PGDATA=/var/lib/postgresql/data"
        ],
        "Cmd": [
            "postgres"
        ],
        "Image": "sha256:dedba3f79a90422dd3699048c0df5096be617ab84fbc6419ddb84b85e7a9c700",
        "Volumes": {
            "/var/lib/postgresql/data": {}
        },
        "WorkingDir": "",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null,
        "StopSignal": "SIGINT"
    },
    "Architecture": "arm64",
    "Os": "linux",
    "Size": 35932392,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/6bba9d8016948b7a81c9f64d9b220bd0c0b0818cb390bbf284958d1dc9a58566/diff:/var/lib/docker/overlay2/61110d3ce73626d384a56b5a70ea27acadedce267353899434b2ff81fba4c94a/diff:/var/lib/docker/overlay2/65d2afa320d1dcd95a552a7dfadead8113fc259a5291d03e55b800f7120d2e02/diff:/var/lib/docker/overlay2/77a1a63837f2b6dca78cb42f18ec11b45274a18bcba5f243dffd8d11e73d9730/diff:/var/lib/docker/overlay2/f4b254e0c14e0f4c4d91798eda160ae501ef987929e02d1a15719d836bcc8cad/diff:/var/lib/docker/overlay2/381dab0d5f256c0c87339645cd132780a39eb5c20f05ae1e8de841d3a214eecc/diff:/var/lib/docker/overlay2/7bb3c1c9364d0a1439b218f9b92de357ca0b9b6aa56628c4418bc9fd3f91c41b/diff:/var/lib/docker/overlay2/ed957fb53f76e265e0336a3d90dd5490dfcee039700666f5f0f4c52290fce42d/diff",
            "MergedDir": "/var/lib/docker/overlay2/897fd60ae601fecf3587c82f26019d8215e8702062c2cbe5e0550bbd79387cb4/merged",
            "UpperDir": "/var/lib/docker/overlay2/897fd60ae601fecf3587c82f26019d8215e8702062c2cbe5e0550bbd79387cb4/diff",
            "WorkDir": "/var/lib/docker/overlay2/897fd60ae601fecf3587c82f26019d8215e8702062c2cbe5e0550bbd79387cb4/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:c55d5dbdab4094da9ba390de49be10dd3b42e990670236a81a792fd2c933fceb",
            "sha256:77f63485ab98e6f97f9fcce60e605483bc9136d0bfce04112fbad36553893882",
            "sha256:c557e446a2d6d553b8865a97af11bb405be12765599fd23126f7f3d4bd9930a1",
            "sha256:a2214c2dc6c49ff62dade1d2b5a8b7595e21937ac7941e7db773d83500fc285a",
            "sha256:fe06c06a37c08061abcfa0a24a0ffc96ed1228d98c7f0feac281dbd944384461",
            "sha256:23dc9e48a5e9e1ea89d9072164573a1ef261559423109b492cb0fb2221455b79",
            "sha256:b7eeb4a7dbfd9f63293fcae540f8d52ab6b3a0c297a9aa6be3a3782be0804d95",
            "sha256:b421b0341f1d0f45c811fd8052587f108700ed38248c2bf29d06be107a16c35d",
            "sha256:3fd7a5ff4cfd99eec0c424fac9f3fe4263ff1229c41eba644e87c4f824052569"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-07-24T11:50:40.694099008+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
153

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
223

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