docker.io/library/httpd:alpine linux/amd64

docker.io/library/httpd:alpine - 国内下载镜像源 浏览次数:194 安全受验证的发布者-Docker
这是镜像docker.io/library/httpd的描述:

Apache HTTP Server

    Apache HTTP 服务器是一个开放源码的 Web 服务器。它提供了一个通用的 HTTP 服务,并且支持 CGI、SSI 等脚本语言执行。

源镜像 docker.io/library/httpd:alpine
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/httpd:alpine
镜像ID sha256:a7ccaadd632cf0d0af3a00528a83a486f52a1c1f7b9f2262c3ff15eb52d43f01
镜像TAG alpine
大小 62.88MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD httpd-foreground
启动入口
工作目录 /usr/local/apache2
OS/平台 linux/amd64
浏览量 194 次
贡献者
镜像创建 2024-07-17T23:31:14Z
同步时间 2024-09-23 10:49
更新时间 2024-11-22 17:12
开放端口
80/tcp
环境变量
PATH=/usr/local/apache2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin HTTPD_PREFIX=/usr/local/apache2 HTTPD_VERSION=2.4.62 HTTPD_SHA256=674188e7bf44ced82da8db522da946849e22080d73d16c93f7f4df89e25729ec HTTPD_PATCHES=

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2024-07-18 07:31:14 CMD ["httpd-foreground"]
0.00B 2024-07-18 07:31:14 EXPOSE map[80/tcp:{}]
138.00B 2024-07-18 07:31:14 COPY httpd-foreground /usr/local/bin/ # buildkit
0.00B 2024-07-18 07:31:14 STOPSIGNAL SIGWINCH
15.96MB 2024-07-18 07:31:14 RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps apr-dev apr-util-dev coreutils dpkg-dev dpkg gcc gnupg libc-dev patch curl-dev jansson-dev libxml2-dev lua-dev make nghttp2-dev openssl openssl-dev pcre-dev tar zlib-dev brotli-dev ; ddist() { local f="$1"; shift; local distFile="$1"; shift; local success=; local distUrl=; for distUrl in 'https://www.apache.org/dyn/closer.cgi?action=download&filename=' https://downloads.apache.org/ https://www-us.apache.org/dist/ https://www.apache.org/dist/ https://archive.apache.org/dist/ ; do if wget -O "$f" "$distUrl$distFile" && [ -s "$f" ]; then success=1; break; fi; done; [ -n "$success" ]; }; ddist 'httpd.tar.bz2' "httpd/httpd-$HTTPD_VERSION.tar.bz2"; echo "$HTTPD_SHA256 *httpd.tar.bz2" | sha256sum -c -; ddist 'httpd.tar.bz2.asc' "httpd/httpd-$HTTPD_VERSION.tar.bz2.asc"; export GNUPGHOME="$(mktemp -d)"; for key in DE29FB3971E71543FD2DC049508EAEC5302DA568 13155B0E9E634F42BF6C163FDDBA64BA2C312D2F 8B39757B1D8A994DF2433ED58B3A601F08C975E5 31EE1A81B8D066548156D37B7D6DBFD1F08E012A A10208FEC3152DD7C0C9B59B361522D782AB7BD1 3DE024AFDA7A4B15CB6C14410F81AA8AB0D5F771 EB138C6AF0FC691001B16D93344A844D751D7F27 CBA5A7C21EC143314C41393E5B968010E04F9A89 3C016F2B764621BB549C66B516A96495E2226795 937FB3994A242BA9BF49E93021454AF0CC8B0F7E EAD1359A4C0F2D37472AAF28F55DF0293A4E7AC9 4C1EADADB4EF5007579C919C6635B6C0DE885DD3 01E475360FCCF1D0F24B9D145D414AE1E005C9CB 92CCEF0AA7DD46AC3A0F498BCA6939748103A37E D395C7573A68B9796D38C258153FA0CD75A67692 FA39B617B61493FD283503E7EED1EA392261D073 984FB3350C1D5C7A3282255BB31B213D208F5064 FE7A49DAA875E890B4167F76CCB2EB46E76CF6D0 39F6691A0ECF0C50E8BB849CF78875F642721F00 29A2BA848177B73878277FA475CAA2A3F39B3750 120A8667241AEDD4A78B46104C042818311A3DE5 453510BDA6C5855624E009236D0BC73A40581837 0DE5C55C6BF3B2352DABB89E13249B4FEC88A0BF 7CDBED100806552182F98844E8E7E00B4DAA1988 A8BA9617EF3BCCAC3B29B869EDB105896F9522D8 3E6AC004854F3A7F03566B592FF06894E55B0D0E 5B5181C2C0AB13E59DA3F7A3EC582EB639FF092C A93D62ECC3C8EA12DB220EC934EA76E6791485A8 65B2D44FE74BD5E3DE3AC3F082781DE46D5954FA 8935926745E1CE7E3ED748F6EC99EE267EB5F61A E3480043595621FE56105F112AB12A7ADC55C003 93525CFCF6FDFFB3FD9700DD5A4B10AE43B56A27 C55AB7B9139EB2263CD1AABC19B033D1760C227B 26F51EF9A82F4ACB43F1903ED377C9E7D1944C66 ; do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; done; gpg --batch --verify httpd.tar.bz2.asc httpd.tar.bz2; command -v gpgconf && gpgconf --kill all || :; rm -rf "$GNUPGHOME" httpd.tar.bz2.asc; mkdir -p src; tar -xf httpd.tar.bz2 -C src --strip-components=1; rm httpd.tar.bz2; cd src; patches() { while [ "$#" -gt 0 ]; do local patchFile="$1"; shift; local patchSha256="$1"; shift; ddist "$patchFile" "httpd/patches/apply_to_$HTTPD_VERSION/$patchFile"; echo "$patchSha256 *$patchFile" | sha256sum -c -; patch -p0 < "$patchFile"; rm -f "$patchFile"; done; }; patches $HTTPD_PATCHES; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; ./configure --build="$gnuArch" --prefix="$HTTPD_PREFIX" --enable-mods-shared=reallyall --enable-mpms-shared=all ; make -j "$(nproc)"; make install; cd ..; rm -r src man manual; sed -ri -e 's!^(\s*CustomLog)\s+\S+!\1 /proc/self/fd/1!g' -e 's!^(\s*ErrorLog)\s+\S+!\1 /proc/self/fd/2!g' -e 's!^(\s*TransferLog)\s+\S+!\1 /proc/self/fd/1!g' -e 's!^(\s*User)\s+daemon\s*$!\1 www-data!g' -e 's!^(\s*Group)\s+daemon\s*$!\1 www-data!g' "$HTTPD_PREFIX/conf/httpd.conf" "$HTTPD_PREFIX/conf/extra/httpd-ssl.conf" ; grep -E '^\s*User www-data$' "$HTTPD_PREFIX/conf/httpd.conf"; grep -E '^\s*Group www-data$' "$HTTPD_PREFIX/conf/httpd.conf"; deps="$( 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-network --virtual .httpd-so-deps $deps; apk del --no-network .build-deps; httpd -v # buildkit
0.00B 2024-07-18 07:31:14 ENV HTTPD_PATCHES=
0.00B 2024-07-18 07:31:14 ENV HTTPD_SHA256=674188e7bf44ced82da8db522da946849e22080d73d16c93f7f4df89e25729ec
0.00B 2024-07-18 07:31:14 ENV HTTPD_VERSION=2.4.62
39.13MB 2024-07-18 07:31:14 RUN /bin/sh -c set -eux; apk add --no-cache apr apr-util apr-util-ldap ca-certificates perl ; # buildkit
0.00B 2024-07-18 07:31:14 WORKDIR /usr/local/apache2
0.00B 2024-07-18 07:31:14 RUN /bin/sh -c mkdir -p "$HTTPD_PREFIX" && chown www-data:www-data "$HTTPD_PREFIX" # buildkit
0.00B 2024-07-18 07:31:14 ENV PATH=/usr/local/apache2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
0.00B 2024-07-18 07:31:14 ENV HTTPD_PREFIX=/usr/local/apache2
3.04KB 2024-07-18 07:31:14 RUN /bin/sh -c set -x && adduser -u 82 -D -S -G www-data www-data # buildkit
0.00B 2024-07-18 07:31:14 /bin/sh -c #(nop) CMD ["/bin/sh"]
7.80MB 2024-07-18 07:31:14 /bin/sh -c #(nop) ADD file:5758b97d8301c84a204a6e516241275d785a7cade40b2fb99f01fe122482e283 in /

镜像信息

{
    "Id": "sha256:a7ccaadd632cf0d0af3a00528a83a486f52a1c1f7b9f2262c3ff15eb52d43f01",
    "RepoTags": [
        "httpd:alpine",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/httpd:alpine"
    ],
    "RepoDigests": [
        "httpd@sha256:66c49302c02430619abb84240a438bcfc083015661009fcaaeaac931450f62cd",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/httpd@sha256:4569f9c2d16ab178a5a674dd2aae44cc5e6da447861166109ac2aa1005c7f5e2"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-07-17T23:31:14Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "80/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/apache2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "HTTPD_PREFIX=/usr/local/apache2",
            "HTTPD_VERSION=2.4.62",
            "HTTPD_SHA256=674188e7bf44ced82da8db522da946849e22080d73d16c93f7f4df89e25729ec",
            "HTTPD_PATCHES="
        ],
        "Cmd": [
            "httpd-foreground"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/usr/local/apache2",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null,
        "StopSignal": "SIGWINCH"
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 62884525,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/e0d11642c9ee60ea261968f148d5f93b4cc08b0ef834e50ebaf2f7cb6d38d3de/diff:/var/lib/docker/overlay2/9e80365e4b07615392c10f5f0013a6d4e20e34a1f190ec0c3f728c68187f62e2/diff:/var/lib/docker/overlay2/719e79d64a268f0040c0d5c4503ffd15a6b9cb88eb14998f3e70549b846afcc2/diff:/var/lib/docker/overlay2/7cdf995f8131908d07a720ecfff2c8b0329b077535adcec32bc9624d4956c971/diff:/var/lib/docker/overlay2/c52665791e80f7e372a9b6eb032c835240b5a54a446c0589980b7bfd2f76d9b7/diff:/var/lib/docker/overlay2/94dd1ec1a9e30e4bd836ab706b9d4674a4941f4ffda26bd7daf74118c12222b7/diff",
            "MergedDir": "/var/lib/docker/overlay2/b5a05c74958f709e13ca50dcc89a107bd40c3bb1342912aec3a6d9b38b207ac9/merged",
            "UpperDir": "/var/lib/docker/overlay2/b5a05c74958f709e13ca50dcc89a107bd40c3bb1342912aec3a6d9b38b207ac9/diff",
            "WorkDir": "/var/lib/docker/overlay2/b5a05c74958f709e13ca50dcc89a107bd40c3bb1342912aec3a6d9b38b207ac9/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:63ca1fbb43ae5034640e5e6cb3e083e05c290072c5366fcaa9d62435a4cced85",
            "sha256:548b6e138bb1fc50965f1fcbc89d41baa5c955854b55aa872865274a77d091f7",
            "sha256:608ed78c15cc9faebcba2b9abb1635182e6cb459e515154eeec7e161920d31c5",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:af55a0ac44327387637084d24aede0ce400df5bc877b197307bb0d57d312e1df",
            "sha256:280780e824046152121115fea23ff7fa06e05fa27290f673da544609d711f998",
            "sha256:ce2e5f9c9fb608eadd03d50f4dd0130d48ea2afbfb871bd17ed4f29de40acdb3"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-09-23T10:49:49.02187553+08:00"
    }
}

更多版本

docker.io/library/httpd:alpine

linux/amd64 docker.io62.88MB2024-09-23 10:49
193