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

docker.io/postgres:15.3-alpine - 国内下载镜像源 浏览次数:55 安全受验证的发布者-Postgres
PostgreSQL 是一个开源的关系数据库管理系统(RDBMS),提供了传输控制协议(TCP)上的 PostgreSQL 服务。该镜像支持多种操作系统和存储引擎,方便开发、测试和部署应用程序。
源镜像 docker.io/postgres:15.3-alpine
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgres:15.3-alpine
镜像ID sha256:049a8e6cb3b4607b01e9ec97ba6b0555d6e6671d12b3802021e0ec0a34f93db3
镜像TAG 15.3-alpine
大小 236.75MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD postgres
启动入口 docker-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 55 次
贡献者
镜像创建 2023-08-09T02:35:31.46648229Z
同步时间 2025-03-03 11:32
更新时间 2025-03-30 09:43
开放端口
5432/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LANG=en_US.utf8 PG_MAJOR=15 PG_VERSION=15.3 PG_SHA256=ffc7d4891f00ffbf5c3f4eab7fbbced8460b8c0ee63c5a5167133b9e6599d932 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.3-alpine
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgres:15.3-alpine  docker.io/postgres:15.3-alpine

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2023-08-09 10:35:31  0.00B 
/bin/sh -c #(nop)  CMD ["postgres"]
                        
# 2023-08-09 10:35:31  0.00B 
/bin/sh -c #(nop)  EXPOSE 5432
                        
# 2023-08-09 10:35:31  0.00B 
/bin/sh -c #(nop)  STOPSIGNAL SIGINT
                        
# 2023-08-09 10:35:31  0.00B 
/bin/sh -c #(nop)  ENTRYPOINT ["docker-entrypoint.sh"]
                        
# 2023-08-09 10:35:31  12.49KB 
/bin/sh -c #(nop) COPY file:e635913e9467265f505455bc3f08bed37d67ce6597a1f10365f8faf79f09b654 in /usr/local/bin/ 
                        
# 2023-08-09 10:35:30  0.00B 
/bin/sh -c #(nop)  VOLUME [/var/lib/postgresql/data]
                        
# 2023-08-09 10:35:30  0.00B 
/bin/sh -c mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 1777 "$PGDATA"
                        
# 2023-08-09 10:35:30  0.00B 
/bin/sh -c #(nop)  ENV PGDATA=/var/lib/postgresql/data
                        
# 2023-08-09 10:35:30  0.00B 
/bin/sh -c mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 3777 /var/run/postgresql
                        
# 2023-08-09 10:35:29  58.77KB 
/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
                        
# 2023-08-09 10:35:28  229.34MB 
/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; 	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
                        
# 2023-08-09 10:32:50  0.00B 
/bin/sh -c #(nop)  ENV DOCKER_PG_LLVM_DEPS=llvm15-dev 		clang15
                        
# 2023-08-09 10:32:50  0.00B 
/bin/sh -c #(nop)  ENV PG_SHA256=ffc7d4891f00ffbf5c3f4eab7fbbced8460b8c0ee63c5a5167133b9e6599d932
                        
# 2023-08-09 10:32:50  0.00B 
/bin/sh -c #(nop)  ENV PG_VERSION=15.3
                        
# 2023-08-09 10:32:50  0.00B 
/bin/sh -c #(nop)  ENV PG_MAJOR=15
                        
# 2023-08-09 10:26:58  0.00B 
/bin/sh -c mkdir /docker-entrypoint-initdb.d
                        
# 2023-08-09 10:26:58  0.00B 
/bin/sh -c #(nop)  ENV LANG=en_US.utf8
                        
# 2023-08-09 10:26:58  4.71KB 
/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
                        
# 2023-08-08 03:20:20  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/sh"]
                        
# 2023-08-08 03:20:20  7.34MB 
/bin/sh -c #(nop) ADD file:32ff5e7a78b890996ee4681cc0a26185d3e9acdb4eb1e2aaccb2411f922fed6b in / 
                        
                    

镜像信息

{
    "Id": "sha256:049a8e6cb3b4607b01e9ec97ba6b0555d6e6671d12b3802021e0ec0a34f93db3",
    "RepoTags": [
        "postgres:15.3-alpine",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgres:15.3-alpine"
    ],
    "RepoDigests": [
        "postgres@sha256:4ca65a9209f164bdb30f715ac2ed9182cc0737d0f0a549031b3c1b0b7e652f3a",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgres@sha256:78745fdcd92f385ce305f04bfe270ddd7fbc81aa3e9cab5b741f3d5f341a50e5"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2023-08-09T02:35:31.46648229Z",
    "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=15",
            "PG_VERSION=15.3",
            "PG_SHA256=ffc7d4891f00ffbf5c3f4eab7fbbced8460b8c0ee63c5a5167133b9e6599d932",
            "DOCKER_PG_LLVM_DEPS=llvm15-dev \t\tclang15",
            "PGDATA=/var/lib/postgresql/data"
        ],
        "Cmd": [
            "postgres"
        ],
        "Image": "sha256:3ce0015549c00330ec29fc7ebccb6a7d6eb9da0d1b834cd4ed3b503f4afb7c4e",
        "Volumes": {
            "/var/lib/postgresql/data": {}
        },
        "WorkingDir": "",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null,
        "StopSignal": "SIGINT"
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 236748661,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/f52a5b613968fee87057bb1b6668e8d3a71a08a4e62b2d94d7ebd5f6c19c3186/diff:/var/lib/docker/overlay2/3b53fdbfacf8a91a8e80152f5bcf446a0183d33d097ab09909f2d03b8c7e7ad2/diff:/var/lib/docker/overlay2/0a5ca82a5d725afd4b05e5d0e5414ecd2db098cc4bb0044973ac8c75e921c771/diff:/var/lib/docker/overlay2/1b838a3ace1b0b10ef857870b5c40553cab50ffa65c0a708b2e50b9b2715933b/diff:/var/lib/docker/overlay2/c364f2e0a1c6bc5ff84df0ca726aa036b660e72dbdf5ebe8aff54c29f0d58769/diff:/var/lib/docker/overlay2/79f2693a1a3d3e0415f3fe718da6d649a306eb95878f65cba17d8db82d955c68/diff:/var/lib/docker/overlay2/82e70a22bd048bfcd86f23bc8219d55293f721d8a1937ee5257882360093c941/diff",
            "MergedDir": "/var/lib/docker/overlay2/446ed0cb55d1b8c5cd9d853f6e7052ad393d2fd0a376e04838312d86ba3f1f77/merged",
            "UpperDir": "/var/lib/docker/overlay2/446ed0cb55d1b8c5cd9d853f6e7052ad393d2fd0a376e04838312d86ba3f1f77/diff",
            "WorkDir": "/var/lib/docker/overlay2/446ed0cb55d1b8c5cd9d853f6e7052ad393d2fd0a376e04838312d86ba3f1f77/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:4693057ce2364720d39e57e85a5b8e0bd9ac3573716237736d6470ec5b7b7230",
            "sha256:50df5bf6a7731c1f1b78b469a80e11f4a56bbd6d19b217e0a565abb8b11367a9",
            "sha256:0129a3a7da15e43a01355d3a949c685434362c1a42f7a669b18d859e11f34ef7",
            "sha256:218fb144c356bab67c6fbe30fc8e6ae76e72bb93694a8f22e3bfaf71ad7b0c2f",
            "sha256:ca63ee69c63fcc7fab03d28f53c85952d65f8034a0cd6631abc02cde122d0d81",
            "sha256:af98cea1e658f788d9a4da585c360218d150743657ba3d04e27e933734254aa3",
            "sha256:1985fc280a07c0af003a166d0f2b7ad4411f7be0ccde3306226d2aef2b0cc729",
            "sha256:02923eb72309725fd3a6b94cc291d065a0bbab4ad7675006b2fe717a1fc04d9c"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-03-03T11:32:19.738473589+08:00"
    }
}

更多版本

docker.io/postgres:12.19-bullseye

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

docker.io/postgres:15-alpine

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

docker.io/postgres:12.19-alpine3.20

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

docker.io/postgres:16.3-alpine3.20

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

docker.io/postgres:14-alpine

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

docker.io/postgres:15-alpine

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

docker.io/postgres:15.4

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

docker.io/postgres:9.6.21-alpine

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

docker.io/postgres:13.8

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

docker.io/postgres:16

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

docker.io/postgres:9.6.24

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

docker.io/postgres:15.3

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

docker.io/postgres:16.3

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

docker.io/postgres:16.3-bookworm

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

docker.io/postgres:14.2-alpine

linux/amd64 docker.io210.71MB2024-08-15 15:18
278

docker.io/postgres:16.4

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

docker.io/postgres:12.2

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

docker.io/postgres:17

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

docker.io/postgres:17-alpine

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

docker.io/postgres:14.12

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

docker.io/postgres:13.14

linux/amd64 docker.io419.14MB2024-10-15 10:01
397

docker.io/postgres:10-alpine

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

docker.io/postgres:alpine

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

docker.io/postgres:14.7-alpine3.17

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

docker.io/postgres:14.11

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

docker.io/postgres:12.3

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

docker.io/postgres:12

linux/amd64 docker.io418.59MB2024-11-09 11:00
125

docker.io/postgres:9.5

linux/amd64 docker.io197.21MB2024-11-22 11:45
135

docker.io/postgres:11

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

docker.io/postgres:16-alpine

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

docker.io/postgres:9.6.16

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

docker.io/postgres:12.4

linux/arm64 docker.io299.56MB2024-12-19 18:46
121

docker.io/postgres:17.2

linux/amd64 docker.io434.77MB2024-12-19 19:20
242

docker.io/postgrest/postgrest:v12.0.1

linux/amd64 docker.io17.42MB2024-12-24 10:07
222

docker.io/postgres:16.6-alpine3.21

linux/amd64 docker.io274.85MB2024-12-30 14:08
140

docker.io/postgres:15.6

linux/amd64 docker.io425.45MB2025-01-03 13:48
143

docker.io/postgres:13-alpine

linux/amd64 docker.io267.85MB2025-01-03 14:51
123

docker.io/postgres:17.2-alpine3.21

linux/amd64 docker.io277.63MB2025-01-07 14:18
146

docker.io/postgres:11.4

linux/amd64 docker.io312.47MB2025-01-20 14:59
88

docker.io/postgres:14

linux/arm64 docker.io444.02MB2025-01-27 12:55
111

docker.io/postgres:17

linux/arm64 docker.io456.53MB2025-01-27 18:45
143

docker.io/postgres:14.15

linux/amd64 docker.io422.30MB2025-02-04 11:33
100

docker.io/postgres:16.6-bookworm

linux/amd64 docker.io432.28MB2025-02-13 17:57
71

docker.io/postgres:17.2-bookworm

linux/amd64 docker.io434.73MB2025-02-13 18:00
68

docker.io/postgres:17.3-alpine

linux/amd64 docker.io284.35MB2025-02-14 10:44
112

docker.io/postgres:16.4-bullseye

linux/amd64 docker.io400.01MB2025-02-14 11:10
68

docker.io/postgres:15-bullseye

linux/amd64 docker.io418.13MB2025-02-26 16:42
70

docker.io/postgres:15.3

linux/amd64 docker.io411.84MB2025-03-03 11:27
47

docker.io/postgres:15.3-alpine

linux/amd64 docker.io236.75MB2025-03-03 11:32
54

docker.io/postgres:14.17-bookworm

linux/amd64 docker.io426.07MB2025-03-04 10:33
59

docker.io/postgres:13.17

linux/amd64 docker.io419.45MB2025-03-10 16:32
58

docker.io/postgres:13.20

linux/amd64 docker.io423.33MB2025-03-11 17:26
60

docker.io/postgres:15.6

linux/arm64 docker.io447.23MB2025-03-13 15:13
46

docker.io/postgres:16.3-bullseye

linux/amd64 docker.io399.85MB2025-03-13 15:49
43

docker.io/postgres:15.12

linux/amd64 docker.io429.51MB2025-03-17 11:09
51

docker.io/postgres:15.2-alpine

linux/amd64 docker.io243.09MB2025-03-19 10:17
48

docker.io/postgres:15.6-bookworm

linux/arm64 docker.io447.23MB2025-03-19 14:48
32

docker.io/postgres:15.6-bookworm

linux/amd64 docker.io425.45MB2025-03-20 15:17
38

docker.io/postgres:11.22-alpine

linux/amd64 docker.io231.90MB2025-03-20 17:24
33

docker.io/postgres:17.4

linux/amd64 docker.io438.36MB2025-03-26 11:02
54

docker.io/postgres:latest

linux/amd64 docker.io438.36MB2025-03-26 14:07
64

docker.io/postgres:13

linux/amd64 docker.io423.34MB2025-03-29 23:54
12