docker.io/nextcloud/aio-apache:latest linux/amd64

docker.io/nextcloud/aio-apache:latest - 国内下载镜像源 浏览次数:135

温馨提示:此镜像为latest tag镜像,本站无法保证此版本为最新镜像

Nextcloud AIO Apache
Apache-based image with Nextcloud installed.
源镜像 docker.io/nextcloud/aio-apache:latest
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nextcloud/aio-apache:latest
镜像ID sha256:dc12e9895b977d6b49405810c2db2aca5a5d6ae00c0eac96d55462be7a414fd8
镜像TAG latest
大小 173.38MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD /usr/bin/supervisord -c /supervisord.conf
启动入口 /start.sh
工作目录 /usr/local/apache2
OS/平台 linux/amd64
浏览量 135 次
贡献者 56******1@qq.com
镜像创建 2024-08-01T10:16:52.700497316Z
同步时间 2024-08-28 14:26
更新时间 2025-01-14 10:42
开放端口
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=
镜像标签
false: com.centurylinklabs.watchtower.enable

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nextcloud/aio-apache:latest
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nextcloud/aio-apache:latest  docker.io/nextcloud/aio-apache:latest

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nextcloud/aio-apache:latest
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nextcloud/aio-apache:latest  docker.io/nextcloud/aio-apache:latest

Shell快速替换命令

sed -i 's#nextcloud/aio-apache:latest#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nextcloud/aio-apache:latest#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nextcloud/aio-apache:latest && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nextcloud/aio-apache:latest  docker.io/nextcloud/aio-apache:latest'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nextcloud/aio-apache:latest && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nextcloud/aio-apache:latest  docker.io/nextcloud/aio-apache:latest'

镜像构建历史


# 2024-08-01 18:16:52  0.00B 添加元数据标签
LABEL com.centurylinklabs.watchtower.enable=false
                        
# 2024-08-01 18:16:52  0.00B 指定检查容器健康状态的命令
HEALTHCHECK &{["CMD-SHELL" "/healthcheck.sh"] "0s" "0s" "0s" "0s" '\x00'}
                        
# 2024-08-01 18:16:52  0.00B 设置默认要执行的命令
CMD ["/usr/bin/supervisord" "-c" "/supervisord.conf"]
                        
# 2024-08-01 18:16:52  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/start.sh"]
                        
# 2024-08-01 18:16:52  0.00B 指定运行容器时使用的用户
USER www-data
                        
# 2024-08-01 18:16:52  69.82MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -ex;     apk upgrade --no-cache -a;     apk add --no-cache shadow;     groupmod -g 33 www-data;     usermod -u 33 -g 33 www-data;     apk del --no-cache shadow;         mkdir -p /mnt/data;     chown -R www-data:www-data /mnt/data;     chown -R 777 /tmp;         apk add --no-cache         bash         supervisor         tzdata         ca-certificates         openssl         bind-tools         netcat-openbsd;         sed -i             -e '/^Listen /d'             -e 's/^#\(LoadModule .*mod_rewrite.so\)/\1/'             -e 's/^#\(LoadModule .*mod_headers.so\)/\1/'             -e 's/^#\(LoadModule .*mod_proxy.so\)/\1/'             -e 's/^#\(LoadModule .*mod_proxy_fcgi.so\)/\1/'             -e 's/^#\(LoadModule .*mod_setenvif.so\)/\1/'             -e 's/^#\(LoadModule .*mod_env.so\)/\1/'             -e 's/^#\(LoadModule .*mod_mime.so\)/\1/'             -e 's/^#\(LoadModule .*mod_dir.so\)/\1/'             -e 's/^#\(LoadModule .*mod_authz_core.so\)/\1/'             -e 's/^#\(LoadModule .*mod_alias.so\)/\1/'             -e 's/^#\(LoadModule .*mod_mpm_event.so\)/\1/'             -e 's/^#\(LoadModule .*mod_brotli.so\)/\1/'             -e 's/\(LoadModule .*mod_mpm_worker.so\)/#\1/'             -e 's/\(LoadModule .*mod_mpm_prefork.so\)/#\1/'             -e 's/\(ScriptAlias \)/#\1/'         /usr/local/apache2/conf/httpd.conf;     echo "Include conf/nextcloud.conf" | tee -a /usr/local/apache2/conf/httpd.conf;     echo "ServerName localhost" | tee -a /usr/local/apache2/conf/httpd.conf;     sed -i 's|MaxRequestWorkers.*|MaxRequestWorkers 5000|' /usr/local/apache2/conf/extra/httpd-mpm.conf;     grep -q '<IfModule mpm_event_module>' /usr/local/apache2/conf/extra/httpd-mpm.conf;     sed -i '/<IfModule mpm_event_module>/a\ \ \ \ ServerLimit 200' /usr/local/apache2/conf/extra/httpd-mpm.conf;         rm -rf /usr/local/apache2/conf/original /var/www;     mkdir -p /var/www;     chown -R www-data:www-data /var/www;         mkdir /var/log/supervisord;     mkdir /var/run/supervisord;     chown www-data:www-data /var/run/supervisord;     chown www-data:www-data /var/log/supervisord;     chmod 777 /var/run/supervisord;     chmod 777 /var/log/supervisord;         chown -R www-data:www-data /usr/local/apache2;     chmod +r -R /usr/local/apache2;     mkdir -p /usr/local/apache2/logs;     chmod 777 -R /home/www-data;     chmod 777 -R /usr/local/apache2/logs;     rm -rf /usr/local/apache2/cgi-bin/;         echo "root:$(openssl rand -base64 12)" | chpasswd # buildkit
                        
# 2024-08-01 18:16:52  0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/mnt/data]
                        
# 2024-08-01 18:16:49  223.00B 复制新文件或目录到容器中
COPY --chmod=775 healthcheck.sh /healthcheck.sh # buildkit
                        
# 2024-08-01 18:16:49  1.88KB 复制新文件或目录到容器中
COPY --chmod=775 start.sh /start.sh # buildkit
                        
# 2024-08-01 18:16:49  635.00B 复制新文件或目录到容器中
COPY --chmod=664 supervisord.conf /supervisord.conf # buildkit
                        
# 2024-08-01 18:16:49  1.74KB 复制新文件或目录到容器中
COPY --chmod=664 nextcloud.conf /usr/local/apache2/conf/nextcloud.conf # buildkit
                        
# 2024-08-01 18:16:49  1.42KB 复制新文件或目录到容器中
COPY --chown=33:33 Caddyfile /Caddyfile # buildkit
                        
# 2024-08-01 18:16:49  40.68MB 复制新文件或目录到容器中
COPY /usr/bin/caddy /usr/bin/caddy # buildkit
                        
# 2024-07-18 07:31:14  0.00B 设置默认要执行的命令
CMD ["httpd-foreground"]
                        
# 2024-07-18 07:31:14  0.00B 声明容器运行时监听的端口
EXPOSE map[80/tcp:{}]
                        
# 2024-07-18 07:31:14  138.00B 复制新文件或目录到容器中
COPY httpd-foreground /usr/local/bin/ # buildkit
                        
# 2024-07-18 07:31:14  0.00B 设置停止容器时发送的系统调用信号
STOPSIGNAL SIGWINCH
                        
# 2024-07-18 07:31:14  15.95MB 执行命令并创建新的镜像层
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
                        
# 2024-07-18 07:31:14  0.00B 设置环境变量 HTTPD_PATCHES
ENV HTTPD_PATCHES=
                        
# 2024-07-18 07:31:14  0.00B 设置环境变量 HTTPD_SHA256
ENV HTTPD_SHA256=674188e7bf44ced82da8db522da946849e22080d73d16c93f7f4df89e25729ec
                        
# 2024-07-18 07:31:14  0.00B 设置环境变量 HTTPD_VERSION
ENV HTTPD_VERSION=2.4.62
                        
# 2024-07-18 07:31:14  39.13MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 	apk add --no-cache 		apr 		apr-util 		apr-util-ldap 		ca-certificates 		perl 	; # buildkit
                        
# 2024-07-18 07:31:14  0.00B 设置工作目录为/usr/local/apache2
WORKDIR /usr/local/apache2
                        
# 2024-07-18 07:31:14  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c mkdir -p "$HTTPD_PREFIX" 	&& chown www-data:www-data "$HTTPD_PREFIX" # buildkit
                        
# 2024-07-18 07:31:14  0.00B 设置环境变量 PATH
ENV PATH=/usr/local/apache2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2024-07-18 07:31:14  0.00B 设置环境变量 HTTPD_PREFIX
ENV HTTPD_PREFIX=/usr/local/apache2
                        
# 2024-07-18 07:31:14  3.04KB 执行命令并创建新的镜像层
RUN /bin/sh -c set -x 	&& adduser -u 82 -D -S -G www-data www-data # buildkit
                        
# 2024-07-18 07:31:14  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/sh"]
                        
# 2024-07-18 07:31:14  7.80MB 
/bin/sh -c #(nop) ADD file:99093095d62d0421541d882f9ceeddb2981fe701ec0aa9d2c08480712d5fed21 in / 
                        
                    

镜像信息

{
    "Id": "sha256:dc12e9895b977d6b49405810c2db2aca5a5d6ae00c0eac96d55462be7a414fd8",
    "RepoTags": [
        "nextcloud/aio-apache:latest",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nextcloud/aio-apache:latest"
    ],
    "RepoDigests": [
        "nextcloud/aio-apache@sha256:f69a213fd3ec53d3baa2ef1c5d10dee508e863941f9a537cecd28f7b0bccaccf",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nextcloud/aio-apache@sha256:c85d9e57672dd4eb3b8566b229d12809a02f7a767e1f2842dde283f33896a3da"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-08-01T10:16:52.700497316Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "www-data",
        "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": [
            "/usr/bin/supervisord",
            "-c",
            "/supervisord.conf"
        ],
        "Healthcheck": {
            "Test": [
                "CMD-SHELL",
                "/healthcheck.sh"
            ]
        },
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": {
            "/mnt/data": {}
        },
        "WorkingDir": "/usr/local/apache2",
        "Entrypoint": [
            "/start.sh"
        ],
        "OnBuild": null,
        "Labels": {
            "com.centurylinklabs.watchtower.enable": "false"
        },
        "StopSignal": "SIGWINCH"
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 173381964,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/1d3c901c30eba1623ee7ddd05bee6cce7031ca007bf16aacadb370ecae145355/diff:/var/lib/docker/overlay2/8e90f1b5b1866cb30feef8e3381719c8b60d9b0a530a92fef5ed8ebe2e658dec/diff:/var/lib/docker/overlay2/75b4fe2f45317e9ee2a755839e528717a1371f69ff46e5792d03094bc0dea44d/diff:/var/lib/docker/overlay2/ff6f88f6a69a14b09343be6ce9a8270d4c4a1bba73386ec31aa8b40b5e9de41e/diff:/var/lib/docker/overlay2/34a03c666752d62cf35a06020775c21132773face7100cafbab85721dadd8963/diff:/var/lib/docker/overlay2/b7554691c68826d7e278b90c001c7fb3c1db18ac5a2f9f1eb4cf465dac26173f/diff:/var/lib/docker/overlay2/c1b80167cb7baf836d8b56a108b24b21ae06859ff208f6d45fd2f46640e28ab2/diff:/var/lib/docker/overlay2/b8ee433b638f186f5dc08990b534b7a44b967db66f829aebe50f41f22102b225/diff:/var/lib/docker/overlay2/1b8d51bb7e3d599f9623e62530e28f68025db055d30cea83897b2d73b0df50ad/diff:/var/lib/docker/overlay2/99617b5e53157ccbe2d1fca20917664b4314eadb6dcbf2c9514584d8c3470526/diff:/var/lib/docker/overlay2/f14827e7f48bb1c040a1cd626505d0600df550e8b6c7c3f2877d3fea15b63915/diff:/var/lib/docker/overlay2/00c2a1da382b8b9df36c7bfde485021d0cdd098e45229136ee66f1a53791f2a1/diff:/var/lib/docker/overlay2/b432477cd1cfc4da8de6bb2978a146d43084f40cc2835da168b5343dbae9540a/diff",
            "MergedDir": "/var/lib/docker/overlay2/dbabcdd66867657abe4bf2a385a5e4e7b5459b7b82de141dd9e3e4ca051b872b/merged",
            "UpperDir": "/var/lib/docker/overlay2/dbabcdd66867657abe4bf2a385a5e4e7b5459b7b82de141dd9e3e4ca051b872b/diff",
            "WorkDir": "/var/lib/docker/overlay2/dbabcdd66867657abe4bf2a385a5e4e7b5459b7b82de141dd9e3e4ca051b872b/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:78561cef0761903dd2f7d09856150a6d4fb48967a8f113f3e33d79effbf59a07",
            "sha256:1540c49dc0b671416d95781ccc11a611177b13bb72ca03641bd27feba0b6cc88",
            "sha256:bb84ccab7c5c5d3bb92f139cda2fc1360e58a63959d3d6796f76be16e927dbcb",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:cc0735499d98b16c3b3ea35ccb24f543ebd361784e902856826474e179786ec3",
            "sha256:dd6d709dae68cd7e6177b07c9043c94979c53dad8a6eb026df33cd533470d78a",
            "sha256:726b4a981b57a4d323995dcfa980ab54f90eefe0a3b2e9742658a126cd796256",
            "sha256:dcadfe6a1e05c6d762a89859490e95e78b00b2aa58f2ec3152fe4191092ebb4e",
            "sha256:2e850f8213c49efe568b113b4b2ac85c15645dd4d3ca13420c00e740bafb72d9",
            "sha256:03ffadef474655d97b5ac58ce4f3c94b52b7863ed7e911aa102f055397486490",
            "sha256:eb2e55d7114818aada281b792ec0cb34e02aa9652ef831e1b4787b033dbedba4",
            "sha256:678376b09375986044ac19c4d4a9439b9baa513ed82aa1980306f94e6794d714",
            "sha256:f01f25555c61094831831a58a6bf9003cb44b9e5fc9b17e359e771d9e621712e",
            "sha256:cff61b3d1d20ba7eda7897ab18221a53c1563bfd623db600ac11d431bff526a2"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-08-28T14:25:49.433698354+08:00"
    }
}

更多版本

docker.io/nextcloud/aio-apache:latest

linux/amd64 docker.io173.38MB2024-08-28 14:26
134