docker.io/trafex/php-nginx:3.4.0 linux/amd64

docker.io/trafex/php-nginx:3.4.0 - 国内下载镜像源 浏览次数:21
源镜像 docker.io/trafex/php-nginx:3.4.0
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/trafex/php-nginx:3.4.0
镜像ID sha256:c943a9d7f4cd7d69dfe5ed1b38c7f3a8fb419a4bb278dfe3f348c231b4276c0b
镜像TAG 3.4.0
大小 119.95MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD /usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord.conf
启动入口
工作目录 /var/www/html
OS/平台 linux/amd64
浏览量 21 次
贡献者
镜像创建 2023-09-17T09:03:54.416519389Z
同步时间 2025-01-15 20:56
更新时间 2025-01-18 08:07
开放端口
8080/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PHP_INI_DIR=/etc/php82
镜像标签
Lightweight container with Nginx 1.24 & PHP 8.2 based on Alpine Linux.: Description Tim de Pater <code@trafex.nl>: Maintainer

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/trafex/php-nginx:3.4.0
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/trafex/php-nginx:3.4.0  docker.io/trafex/php-nginx:3.4.0

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/trafex/php-nginx:3.4.0
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/trafex/php-nginx:3.4.0  docker.io/trafex/php-nginx:3.4.0

Shell快速替换命令

sed -i 's#trafex/php-nginx:3.4.0#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/trafex/php-nginx:3.4.0#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/trafex/php-nginx:3.4.0 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/trafex/php-nginx:3.4.0  docker.io/trafex/php-nginx:3.4.0'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/trafex/php-nginx:3.4.0 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/trafex/php-nginx:3.4.0  docker.io/trafex/php-nginx:3.4.0'

镜像构建历史


# 2023-09-17 17:03:54  0.00B 指定检查容器健康状态的命令
HEALTHCHECK &{["CMD-SHELL" "curl --silent --fail http://127.0.0.1:8080/fpm-ping"] "0s" "10s" "0s" "0s" '\x00'}
                        
# 2023-09-17 17:03:54  0.00B 设置默认要执行的命令
CMD ["/usr/bin/supervisord" "-c" "/etc/supervisor/conf.d/supervisord.conf"]
                        
# 2023-09-17 17:03:54  0.00B 声明容器运行时监听的端口
EXPOSE map[8080/tcp:{}]
                        
# 2023-09-17 17:03:54  58.00B 复制新文件或目录到容器中
COPY src/ /var/www/html/ # buildkit
                        
# 2023-09-17 17:03:54  0.00B 指定运行容器时使用的用户
USER nobody
                        
# 2023-09-17 17:03:54  14.00B 执行命令并创建新的镜像层
RUN /bin/sh -c ln -s /usr/bin/php82 /usr/bin/php # buildkit
                        
# 2023-09-17 17:03:54  1.16KB 执行命令并创建新的镜像层
RUN /bin/sh -c chown -R nobody.nobody /var/www/html /run /var/lib/nginx /var/log/nginx # buildkit
                        
# 2023-09-17 17:03:54  460.00B 复制新文件或目录到容器中
COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf # buildkit
                        
# 2023-09-17 17:03:54  42.00B 复制新文件或目录到容器中
COPY config/php.ini /etc/php82/conf.d/custom.ini # buildkit
                        
# 2023-09-17 17:03:54  2.16KB 复制新文件或目录到容器中
COPY config/fpm-pool.conf /etc/php82/php-fpm.d/www.conf # buildkit
                        
# 2023-09-17 17:03:54  0.00B 设置环境变量 PHP_INI_DIR
ENV PHP_INI_DIR=/etc/php82
                        
# 2023-09-17 17:03:54  1.60KB 复制新文件或目录到容器中
COPY config/conf.d /etc/nginx/conf.d/ # buildkit
                        
# 2023-09-17 17:03:54  1.40KB 复制新文件或目录到容器中
COPY config/nginx.conf /etc/nginx/nginx.conf # buildkit
                        
# 2023-09-17 17:03:54  112.61MB 执行命令并创建新的镜像层
RUN /bin/sh -c apk add --no-cache   curl   nginx   php82   php82-ctype   php82-curl   php82-dom   php82-fileinfo   php82-fpm   php82-gd   php82-intl   php82-mbstring   php82-mysqli   php82-opcache   php82-openssl   php82-phar   php82-session   php82-tokenizer   php82-xml   php82-xmlreader   php82-xmlwriter   supervisor # buildkit
                        
# 2023-09-17 17:03:48  0.00B 设置工作目录为/var/www/html
WORKDIR /var/www/html
                        
# 2023-09-17 17:03:48  0.00B 添加元数据标签
LABEL Description=Lightweight container with Nginx 1.24 & PHP 8.2 based on Alpine Linux.
                        
# 2023-09-17 17:03:48  0.00B 添加元数据标签
LABEL Maintainer=Tim de Pater <code@trafex.nl>
                        
# 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:c943a9d7f4cd7d69dfe5ed1b38c7f3a8fb419a4bb278dfe3f348c231b4276c0b",
    "RepoTags": [
        "trafex/php-nginx:3.4.0",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/trafex/php-nginx:3.4.0"
    ],
    "RepoDigests": [
        "trafex/php-nginx@sha256:16eabac2be1eb78861bd4875df01b910346f6ce726220f82bb16580fcfc59d44",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/trafex/php-nginx@sha256:ac79453efa469631e2804702e56f61cb300430d59c18b45e459d644e82093764"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2023-09-17T09:03:54.416519389Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "nobody",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "8080/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "PHP_INI_DIR=/etc/php82"
        ],
        "Cmd": [
            "/usr/bin/supervisord",
            "-c",
            "/etc/supervisor/conf.d/supervisord.conf"
        ],
        "Healthcheck": {
            "Test": [
                "CMD-SHELL",
                "curl --silent --fail http://127.0.0.1:8080/fpm-ping"
            ],
            "Timeout": 10000000000
        },
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/var/www/html",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": {
            "Description": "Lightweight container with Nginx 1.24 \u0026 PHP 8.2 based on Alpine Linux.",
            "Maintainer": "Tim de Pater \u003ccode@trafex.nl\u003e"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 119953169,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/6c5e774bb9d6052d9bfd1de534417a5a9721e75eadb0b0b77b279e185fd50e21/diff:/var/lib/docker/overlay2/03329c69e392e10651fb9d4040f573c110b4204c3ab30f30e423a0180d7cf816/diff:/var/lib/docker/overlay2/873277be37e864fe8a674d98d1d7487b72769c7f25177754299a6d5528099cd2/diff:/var/lib/docker/overlay2/523b7905d7bc6eed1f7cda1f9ff4fce55f8be7d7721c8c74a91c5f7b64d696b6/diff:/var/lib/docker/overlay2/376e76551e40d24528b303c80cb1579dc0aa37179041326f2931a1c6221f75e2/diff:/var/lib/docker/overlay2/3d14a1eedef1bdb1ab2120a2e1630cedaf507bbb067a0c161426aa762ec2517f/diff:/var/lib/docker/overlay2/937fdcdaef4b381eb9bc221720a7aa05656e52b6a5317a37186bc39c2a1ed481/diff:/var/lib/docker/overlay2/aa0950d9d3d31c6a1f8526c7fcd96c836ca1fd56a27fd60c15316c5ddd4599b3/diff:/var/lib/docker/overlay2/9b69ee04407c509c87a96918c7587cf7ad989e241f6cea19315ef4919b420907/diff:/var/lib/docker/overlay2/21d0fecf0aa234da8da00af26d6ce9669858d867b6b13e2301f70fbb70bfad83/diff",
            "MergedDir": "/var/lib/docker/overlay2/7aca0f33d41a5f5527f23052ef6dc818a45e2b99f82e8fc0f51d4ae7c8f7a028/merged",
            "UpperDir": "/var/lib/docker/overlay2/7aca0f33d41a5f5527f23052ef6dc818a45e2b99f82e8fc0f51d4ae7c8f7a028/diff",
            "WorkDir": "/var/lib/docker/overlay2/7aca0f33d41a5f5527f23052ef6dc818a45e2b99f82e8fc0f51d4ae7c8f7a028/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:4693057ce2364720d39e57e85a5b8e0bd9ac3573716237736d6470ec5b7b7230",
            "sha256:b3decbce1b359a1f4603e4671ca582b7f5732000993db2d1490c1ad172605aad",
            "sha256:5197a38ca16cc8fa68ed5b930176d3bce208ecf2fd9bbc09e495cc3ea9e79d2b",
            "sha256:d4b88cbf441b08701331d485b736ad546bbef4e7835c9f9f8f8c20226bf88e78",
            "sha256:278a0e2b6ac0da8f3c49c74699387f7ce96f0621ffc18b2b113fd9f7f7904f8c",
            "sha256:8ee66f067faafb9f83857ebffa372fefdf9b62130803723b8ea8843c887a014d",
            "sha256:16fe48ee8a49b0e61f370feaf5e5702fae4461cc2fff776987ce75c52edaf28b",
            "sha256:9973047b075072499defc50b9801ab75b9a93bf1e614128bee159bfc12cd19bc",
            "sha256:d40bd2d2b27a3297e3f2f5c46b307c229e1b1d1acd0b4279d29ac730d89f2438",
            "sha256:08e74071a1a2551c1c7578db2fd58f9eb9ade6aa40ceadaf22e593237d5415ad",
            "sha256:2a486caba2484fd7232444343876577751cfca936096eef1ccfab2f5fbaf90bc"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-01-15T20:56:36.59871691+08:00"
    }
}

更多版本

docker.io/trafex/php-nginx:3.2.0

linux/amd64 docker.io112.71MB2025-01-15 20:19
37

docker.io/trafex/php-nginx:latest

linux/amd64 docker.io125.56MB2025-01-15 20:48
35

docker.io/trafex/php-nginx:3.4.0

linux/amd64 docker.io119.95MB2025-01-15 20:56
20

docker.io/trafex/php-nginx:3.1.0

linux/amd64 docker.io112.55MB2025-01-15 20:59
30