docker.io/postgres:14.2-alpine linux/amd64

docker.io/postgres:14.2-alpine - 国内下载镜像源 浏览次数:150 安全受验证的发布者-Postgres
PostgreSQL 是一个开源的关系数据库管理系统(RDBMS),提供了传输控制协议(TCP)上的 PostgreSQL 服务。该镜像支持多种操作系统和存储引擎,方便开发、测试和部署应用程序。
源镜像 docker.io/postgres:14.2-alpine
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgres:14.2-alpine
镜像ID sha256:ebf01b748a56f9aa05d67a960d21c53ee0fff7fd14f4791161f5410ea1769e36
镜像TAG 14.2-alpine
大小 210.71MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD postgres
启动入口 docker-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 150 次
贡献者
镜像创建 2022-04-05T07:29:39.859498261Z
同步时间 2024-08-15 15:18
更新时间 2024-11-21 15:51
开放端口
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.2 PG_SHA256=2cf78b2e468912f8101d695db5340cf313c2e9f68a612fb71427524e8c9a977a PGDATA=/var/lib/postgresql/data

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2022-04-05 15:29:39 /bin/sh -c #(nop) CMD ["postgres"]
0.00B 2022-04-05 15:29:39 /bin/sh -c #(nop) EXPOSE 5432
0.00B 2022-04-05 15:29:39 /bin/sh -c #(nop) STOPSIGNAL SIGINT
0.00B 2022-04-05 15:29:39 /bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
12.12KB 2022-04-05 15:29:39 /bin/sh -c #(nop) COPY file:e8928645623137de410cce68a2aa3b22f07a64e6391025598a60f3e461c606a3 in /usr/local/bin/
0.00B 2022-04-05 15:29:39 /bin/sh -c #(nop) VOLUME [/var/lib/postgresql/data]
0.00B 2022-04-05 15:29:39 /bin/sh -c mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA"
0.00B 2022-04-05 15:29:38 /bin/sh -c #(nop) ENV PGDATA=/var/lib/postgresql/data
0.00B 2022-04-05 15:29:38 /bin/sh -c mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 2777 /var/run/postgresql
57.39KB 2022-04-05 15:29:38 /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
205.06MB 2022-04-05 15:29:37 /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 ; apk del --no-network .build-deps; cd /; rm -rf /usr/src/postgresql /usr/local/share/doc /usr/local/share/man ; postgres --version
0.00B 2022-04-05 15:24:40 /bin/sh -c #(nop) ENV PG_SHA256=2cf78b2e468912f8101d695db5340cf313c2e9f68a612fb71427524e8c9a977a
0.00B 2022-04-05 15:24:40 /bin/sh -c #(nop) ENV PG_VERSION=14.2
0.00B 2022-04-05 15:24:40 /bin/sh -c #(nop) ENV PG_MAJOR=14
0.00B 2022-04-05 15:24:40 /bin/sh -c mkdir /docker-entrypoint-initdb.d
0.00B 2022-04-05 15:24:39 /bin/sh -c #(nop) ENV LANG=en_US.utf8
4.71KB 2022-04-05 15:24:39 /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 2022-04-05 08:19:59 /bin/sh -c #(nop) CMD ["/bin/sh"]
5.57MB 2022-04-05 08:19:59 /bin/sh -c #(nop) ADD file:5d673d25da3a14ce1f6cf66e4c7fd4f4b85a3759a9d93efb3fd9ff852b5b56e4 in /

镜像信息

{
    "Id": "sha256:ebf01b748a56f9aa05d67a960d21c53ee0fff7fd14f4791161f5410ea1769e36",
    "RepoTags": [
        "postgres:14.2-alpine",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgres:14.2-alpine"
    ],
    "RepoDigests": [
        "postgres@sha256:20e49432a20e1a63bb985977c32ec8f110bc609b93de35ad4f19c5486abcefaa",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgres@sha256:2fb5718f2a23dbac9bd1258e886eee90250a5903785e3136d62dd65e19f34982"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2022-04-05T07:29:39.859498261Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "20.10.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=14",
            "PG_VERSION=14.2",
            "PG_SHA256=2cf78b2e468912f8101d695db5340cf313c2e9f68a612fb71427524e8c9a977a",
            "PGDATA=/var/lib/postgresql/data"
        ],
        "Cmd": [
            "postgres"
        ],
        "Image": "sha256:50d81d73c90694ee381152a659098f2172afa85e1a42adc81aa470f12d2e5403",
        "Volumes": {
            "/var/lib/postgresql/data": {}
        },
        "WorkingDir": "",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null,
        "StopSignal": "SIGINT"
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 210710225,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/93f3e353b3f8a9867da3b519609844fe2ec6b07464b93e5da30816b874a4c868/diff:/var/lib/docker/overlay2/ff9f8ef82462c657b71f43a3b3c3a17fc047640d9278632e7d991854ba1f364f/diff:/var/lib/docker/overlay2/36bead762b585dcff6658036f109b0820ec4220740d7c0e09837c51bf18f1c24/diff:/var/lib/docker/overlay2/9716f455d43efc38aba1d98b4875eefc4df9d04507f65bcc97f62a4fb97e91df/diff:/var/lib/docker/overlay2/70ff8b677e61610e606ddfc62af278bebd42ee2107c29457e61b821cdb72d304/diff:/var/lib/docker/overlay2/421f786385baec8da5dc23c4223e1f4e6a74a058524b663a857c178f0ea4c405/diff:/var/lib/docker/overlay2/e93475227a1447ab56c58990a2f19f95df94fb312b2115ecb33b2d8ad2983e2a/diff",
            "MergedDir": "/var/lib/docker/overlay2/9d6988e07bcb72bae7f2bc9dcf857d85aa9ca7ab10c77dd74e4f24c19ceaf61a/merged",
            "UpperDir": "/var/lib/docker/overlay2/9d6988e07bcb72bae7f2bc9dcf857d85aa9ca7ab10c77dd74e4f24c19ceaf61a/diff",
            "WorkDir": "/var/lib/docker/overlay2/9d6988e07bcb72bae7f2bc9dcf857d85aa9ca7ab10c77dd74e4f24c19ceaf61a/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:4fc242d58285699eca05db3cc7c7122a2b8e014d9481f323bd9277baacfa0628",
            "sha256:84c9808b11589ec95b83f7f917d4994a2e4590b2bb9ccac63252310a1f6e580b",
            "sha256:af993d97c0bc6d9187a858bdd4685965025dd4ca0ed5c69dbcd5fd6df57d8d30",
            "sha256:8581d388f87229f3e5c7021fca97698e0465ec03fed3dcdfbd4f783dddf65130",
            "sha256:22ed55bda66831b745575a24e924ec9005bb653bd7148d53b0eb80a1a9188994",
            "sha256:2dbe3b92c44eca07f3d44a91c425e0de70fdde601c816129cf1405833bfc5100",
            "sha256:4e1f68d8ca428ec96e8c827d5ca858866c7f1abaf4dda6516040d50f2477a313",
            "sha256:aabb6814cff4ba7759fd8d58eba9b822ca4c25e48b8d163bf6d234f687270acc"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-08-15T15:17:50.263923247+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
226

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