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

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

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2024-06-04 04:57:56 CMD ["postgres"]
0.00B 2024-06-04 04:57:56 EXPOSE map[5432/tcp:{}]
0.00B 2024-06-04 04:57:56 STOPSIGNAL SIGINT
0.00B 2024-06-04 04:57:56 ENTRYPOINT ["docker-entrypoint.sh"]
23.00B 2024-06-04 04:57:56 RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
14.96KB 2024-06-04 04:57:56 COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
0.00B 2024-06-04 04:57:56 VOLUME [/var/lib/postgresql/data]
0.00B 2024-06-04 04:57:56 RUN /bin/sh -c mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 1777 "$PGDATA" # buildkit
0.00B 2024-06-04 04:57:56 ENV PGDATA=/var/lib/postgresql/data
0.00B 2024-06-04 04:57:56 RUN /bin/sh -c mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 3777 /var/run/postgresql # buildkit
58.75KB 2024-06-04 04:57:56 RUN /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 # buildkit
238.49MB 2024-06-04 04:57:56 RUN /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 $DOCKER_PG_LLVM_DEPS bison coreutils dpkg-dev dpkg flex g++ gcc krb5-dev libc-dev libedit-dev libxml2-dev libxslt-dev linux-headers 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 zstd-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'; export LLVM_CONFIG="/usr/lib/llvm15/bin/llvm-config"; export CLANG=clang-15; ./configure --enable-option-checking=fatal --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-gssapi --with-ldap --with-tcl --with-perl --with-python --with-openssl --with-libxml --with-libxslt --with-icu --with-llvm --with-lz4 --with-zstd ; make -j "$(nproc)" world-bin; make install-world-bin; 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 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 # buildkit
0.00B 2024-06-04 04:57:56 ENV DOCKER_PG_LLVM_DEPS=llvm15-dev clang15
0.00B 2024-06-04 04:57:56 ENV PG_SHA256=a46fe49485ab6385e39dabbbb654f5d3049206f76cd695e224268729520998f7
0.00B 2024-06-04 04:57:56 ENV PG_VERSION=15.7
0.00B 2024-06-04 04:57:56 ENV PG_MAJOR=15
0.00B 2024-06-04 04:57:56 RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
0.00B 2024-06-04 04:57:56 ENV LANG=en_US.utf8
4.00B 2024-06-04 04:57:56 RUN /bin/sh -c set -eux; ln -svf gosu /usr/local/bin/su-exec; su-exec nobody true # backwards compatibility (removed in PostgreSQL 17+) # buildkit
2.65MB 2024-06-04 04:57:56 RUN /bin/sh -c set -eux; apk add --no-cache --virtual .gosu-deps ca-certificates dpkg gnupg ; 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; apk del --no-network .gosu-deps; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit
0.00B 2024-06-04 04:57:56 ENV GOSU_VERSION=1.17
3.07KB 2024-06-04 04:57:56 RUN /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 # buildkit
0.00B 2024-06-04 04:57:56 /bin/sh -c #(nop) CMD ["/bin/sh"]
8.83MB 2024-06-04 04:57:56 /bin/sh -c #(nop) ADD file:033626ac44156f3d5800a602c46870486b1492b9ba26096eaa66cceb6fcead77 in /

镜像信息

{
    "Id": "sha256:bee4d32eae61b28af45a45e44d8a65accc0bde271340dd34a51589c40c84a9eb",
    "RepoTags": [
        "postgres:15-alpine",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgres:15-alpine-linuxarm64"
    ],
    "RepoDigests": [
        "postgres@sha256:ede3a168dae0d2154440c2b1b2c7773201bfa969d85a1859c44b6f4ab2df0ef7",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgres@sha256:d5342d29f6e9abb7ac59814b79330f226f022d2fb5032f4144fbb4a997694e3c"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-06-03T20:57:56Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "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",
            "GOSU_VERSION=1.17",
            "LANG=en_US.utf8",
            "PG_MAJOR=15",
            "PG_VERSION=15.7",
            "PG_SHA256=a46fe49485ab6385e39dabbbb654f5d3049206f76cd695e224268729520998f7",
            "DOCKER_PG_LLVM_DEPS=llvm15-dev \t\tclang15",
            "PGDATA=/var/lib/postgresql/data"
        ],
        "Cmd": [
            "postgres"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": {
            "/var/lib/postgresql/data": {}
        },
        "WorkingDir": "",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null,
        "StopSignal": "SIGINT"
    },
    "Architecture": "arm64",
    "Os": "linux",
    "Size": 250042608,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/3d40cc76348ffa29105c291582d9fd43eecb79f7d7aa947c0dd8bc820da913e2/diff:/var/lib/docker/overlay2/89db9daf73dc1c504cc203c14281d7c3de21e1384db089dd4bebc6aa8714d968/diff:/var/lib/docker/overlay2/a6e36e75368b2a94ced4ca14480d72676ff4713f43c24a882435b662cd8ec429/diff:/var/lib/docker/overlay2/197b0728507f781c3043c586b28a7a9d1cc024b6e1bf3c314caad0ce6263b301/diff:/var/lib/docker/overlay2/19cb1e317beb9c7aef01a08a6a39ce9722d0cc1f995931efd568458a8b5c8f85/diff:/var/lib/docker/overlay2/831711e7ec1c6d8bb8ccfb04480432be6029842f96058a504461b825cee8e617/diff:/var/lib/docker/overlay2/bf1d8246b79f3be017ae502bdf2c70afd709a3069b7b73fee10c283d164e7b98/diff:/var/lib/docker/overlay2/3bdd5ead85a077b8b7a8eebfbf0f907d9158e3764a6f32524da27a4db39cd20f/diff:/var/lib/docker/overlay2/1bdd79e0cc1e77541a13ab444c2714043f9112b360c0604a7256894e493bf3c6/diff:/var/lib/docker/overlay2/d82a9aacb966700be9681334c41f4fb691215d99ad8371f58429412d211ab752/diff",
            "MergedDir": "/var/lib/docker/overlay2/d9da4f7d0c94f28107a6e4fd2b04b4c707a21c1fa967a5bca0f1d6399bc3c020/merged",
            "UpperDir": "/var/lib/docker/overlay2/d9da4f7d0c94f28107a6e4fd2b04b4c707a21c1fa967a5bca0f1d6399bc3c020/diff",
            "WorkDir": "/var/lib/docker/overlay2/d9da4f7d0c94f28107a6e4fd2b04b4c707a21c1fa967a5bca0f1d6399bc3c020/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:518cfe2a9d3ab835f77e061fb2e90e3e018d05032264afc0d4c3ddacfbd2db4e",
            "sha256:c573f23e09c170715d7711cf537ddedfbcfc394fd225500e25b90eef1e3e4944",
            "sha256:c041f99cde2bcb8c5a4dd2d8be195363ecc97d8666736d5bc94085f5b0a521cc",
            "sha256:ceaacb75dd75931e83813e3bdf8e99a74535fa90247d24fb105b53ce80281487",
            "sha256:2ce3fc4c5ff5672693700f7e68a80751cdd3ac19b2d717362958aae5de4dca8e",
            "sha256:3fc26dd0d46f95dc40b2c2b42b8b40e42d513da5319747d50790a5b95284efd0",
            "sha256:a5a2bfcf435f4ccdc81b71fa2e4c52f698f24b2ed49a126b2cf28fd3c51efb19",
            "sha256:266c63fcb8da037ab4707f567eed379df20e4e4c9634f53b1c0d63bc2ebdabd2",
            "sha256:c2c98e0fa64cc7f234bcbf3c3673087189d44529b74e1342502d761a861b553e",
            "sha256:cdb849ce2fbcc2eb27013ca14d3833e633ab773b0ec6acf9b082c8d8dc1e159d",
            "sha256:d07981c7afd81c27e40e08ac81ea880fdc1ee33ccacf4d19ca519485e600838e"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-07-08T15:04:03.487892343+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
905

docker.io/postgres:12.19-alpine3.20

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

docker.io/postgres:16.3-alpine3.20

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

docker.io/postgres:14-alpine

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

docker.io/postgres:15-alpine

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

docker.io/postgres:15.4

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

docker.io/postgres:9.6.21-alpine

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

docker.io/postgres:13.8

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

docker.io/postgres:16

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

docker.io/postgres:9.6.24

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

docker.io/postgres:15.3

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

docker.io/postgres:16.3

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

docker.io/postgres:16.3-bookworm

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

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
445

docker.io/postgres:12.2

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

docker.io/postgres:17

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

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
263

docker.io/postgres:10-alpine

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

docker.io/postgres:alpine

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

docker.io/postgres:14.7-alpine3.17

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

docker.io/postgres:14.11

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

docker.io/postgres:12.3

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

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
20

docker.io/postgres:16-alpine

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