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

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

系统OS: alpine 3.16.3 扫描引擎: Trivy 扫描时间: 2024-10-27 16:43

低危漏洞:0 中危漏洞:14 高危漏洞:12 严重漏洞:0

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2022-11-12 17:57:07 /bin/sh -c #(nop) CMD ["postgres"]
0.00B 2022-11-12 17:57:07 /bin/sh -c #(nop) EXPOSE 5432
0.00B 2022-11-12 17:57:07 /bin/sh -c #(nop) STOPSIGNAL SIGINT
0.00B 2022-11-12 17:57:07 /bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
34.00B 2022-11-12 17:57:06 /bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh / # backwards compat
12.13KB 2022-11-12 17:57:06 /bin/sh -c #(nop) COPY file:232dce6cf487afb0c0cc43d38932ff29614a74b57cd04557dc7398e6d2b93b8f in /usr/local/bin/
0.00B 2022-11-12 17:57:06 /bin/sh -c #(nop) VOLUME [/var/lib/postgresql/data]
0.00B 2022-11-12 17:57:06 /bin/sh -c mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA"
0.00B 2022-11-12 17:57:05 /bin/sh -c #(nop) ENV PGDATA=/var/lib/postgresql/data
0.00B 2022-11-12 17:57:05 /bin/sh -c mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 2777 /var/run/postgresql
45.84KB 2022-11-12 17:57:04 /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
73.48MB 2022-11-12 17:57:04 /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 make openldap-dev openssl-dev perl-dev perl-ipc-run perl-utils python3-dev tcl-dev util-linux-dev zlib-dev icu-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 ; 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 del --no-network .build-deps; cd /; rm -rf /usr/src/postgresql /usr/local/share/doc /usr/local/share/man ; postgres --version
0.00B 2022-11-12 17:54:52 /bin/sh -c #(nop) ENV PG_SHA256=94a4b2528372458e5662c18d406629266667c437198160a18cdfd2c4a4d6eee9
0.00B 2022-11-12 17:54:51 /bin/sh -c #(nop) ENV PG_VERSION=10.23
0.00B 2022-11-12 17:54:51 /bin/sh -c #(nop) ENV PG_MAJOR=10
0.00B 2022-11-12 17:38:15 /bin/sh -c mkdir /docker-entrypoint-initdb.d
0.00B 2022-11-12 17:38:15 /bin/sh -c #(nop) ENV LANG=en_US.utf8
4.71KB 2022-11-12 17:38:15 /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-11-12 12:19:23 /bin/sh -c #(nop) CMD ["/bin/sh"]
5.54MB 2022-11-12 12:19:23 /bin/sh -c #(nop) ADD file:ceeb6e8632fafc657116cbf3afbd522185a16963230b57881073dad22eb0e1a3 in /

镜像信息

{
    "Id": "sha256:02c83b13f6ea0ddfe91471a401e2fb0db27667dd25fa3c501a5b465974f0865d",
    "RepoTags": [
        "postgres:10-alpine",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgres:10-alpine"
    ],
    "RepoDigests": [
        "postgres@sha256:63cfb6eac6b362c7c994f22c3804c61b31898cf0cb52f8e7e86bd99a244f4366",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgres@sha256:0ef5c91f95997d189f13a0f6367f137979a0cd421053c37930e6e7d16a6e9d87"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2022-11-12T09:57:07.382959191Z",
    "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=10",
            "PG_VERSION=10.23",
            "PG_SHA256=94a4b2528372458e5662c18d406629266667c437198160a18cdfd2c4a4d6eee9",
            "PGDATA=/var/lib/postgresql/data"
        ],
        "Cmd": [
            "postgres"
        ],
        "Image": "sha256:7cc6d22d42812e1c8155fd98d61c04cb12b83f64e4e976789c1a8d8123718212",
        "Volumes": {
            "/var/lib/postgresql/data": {}
        },
        "WorkingDir": "",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null,
        "StopSignal": "SIGINT"
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 79090044,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/a2b925971888df7ecd0c86bc175abebafc3de517089afd6bba5ad74953534d65/diff:/var/lib/docker/overlay2/0e347c995759c336ead04d739946c1af1f516a384f45ab3f0812a94a1f6c20d3/diff:/var/lib/docker/overlay2/bd67c193cba960e90198be319990a5691995eddf933d2f81c110c8eaa2c25b1e/diff:/var/lib/docker/overlay2/df7d5993f89bafa4ced389bd41349404a453bd4ad94e8b03ad0451a7a8782053/diff:/var/lib/docker/overlay2/75becd14664bac5242b1e75b018dff00d2d0f823b9d3622b4a6f997fe2a0f3a6/diff:/var/lib/docker/overlay2/0a6006d1aa9662a387bffaaa58d86fec136a8bda551c1fa7d955af671e60fe44/diff:/var/lib/docker/overlay2/6664b68e3f03d0c5ccd934649f06801a6c1a477e5638dd402add4ba50f6eea26/diff:/var/lib/docker/overlay2/694f2fb4d1008c283d3662f42f84274c2b620b0a49047574762648577f3c1756/diff",
            "MergedDir": "/var/lib/docker/overlay2/85a7596803417b4a38bbc7d8f8e903dede6e0a0dbed6a4997c6235a1159c5165/merged",
            "UpperDir": "/var/lib/docker/overlay2/85a7596803417b4a38bbc7d8f8e903dede6e0a0dbed6a4997c6235a1159c5165/diff",
            "WorkDir": "/var/lib/docker/overlay2/85a7596803417b4a38bbc7d8f8e903dede6e0a0dbed6a4997c6235a1159c5165/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:e5e13b0c77cbb769548077189c3da2f0a764ceca06af49d8d558e759f5c232bd",
            "sha256:518c5585ea05222202ee17fb549e7720f2267e338d0ac231868e2f2c8bf9befc",
            "sha256:9f1634b92cb976694923149680039cb067fd5ceb8245085d90fe7362591927d7",
            "sha256:857938c618d303139d00a55b94ff14796413f1c60e7b64b239dc91ee6cc0f785",
            "sha256:908adc1ade68e23ac817058b2106f92746b6e828bbe07ece89e756e1e1383590",
            "sha256:00db5df0c2e942c6154eda43d3c1aed5df8274f543c0597da8dfb70097202622",
            "sha256:960dec6fc90782f7ad84a71ad756ba89e8971aac6a563904830235ccf7caaf8b",
            "sha256:fc4887d630299e25b78b43ba52791721a662772e3d08fa820b23040c940c27cc",
            "sha256:ed4a9f052356b546efa3288cc66525da28e5af201fcc09acdc1b93615a6baf0c"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-10-15T20:02:55.567734275+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
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
178

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