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

docker.io/trafex/php-nginx:3.1.0 - 国内下载镜像源 浏览次数:30
源镜像 docker.io/trafex/php-nginx:3.1.0
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/trafex/php-nginx:3.1.0
镜像ID sha256:ef7c323ef3dc1cf3ad4e9a87db6cdc3efd01da1c79b09e6c95f15304f439b312
镜像TAG 3.1.0
大小 112.55MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD /usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord.conf
启动入口
工作目录 /var/www/html
OS/平台 linux/amd64
浏览量 30 次
贡献者
镜像创建 2023-06-04T04:51:19.589374861Z
同步时间 2025-01-15 20:59
更新时间 2025-01-18 08:32
开放端口
8080/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
镜像标签
Lightweight container with Nginx 1.24 & PHP 8.1 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.1.0
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/trafex/php-nginx:3.1.0  docker.io/trafex/php-nginx:3.1.0

Containerd拉取命令

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

Shell快速替换命令

sed -i 's#trafex/php-nginx:3.1.0#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/trafex/php-nginx:3.1.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.1.0 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/trafex/php-nginx:3.1.0  docker.io/trafex/php-nginx:3.1.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.1.0 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/trafex/php-nginx:3.1.0  docker.io/trafex/php-nginx:3.1.0'

镜像构建历史


# 2023-06-04 12:51:19  0.00B 指定检查容器健康状态的命令
HEALTHCHECK &{["CMD-SHELL" "curl --silent --fail http://127.0.0.1:8080/fpm-ping"] "0s" "10s" "0s" '\x00'}
                        
# 2023-06-04 12:51:19  0.00B 设置默认要执行的命令
CMD ["/usr/bin/supervisord" "-c" "/etc/supervisor/conf.d/supervisord.conf"]
                        
# 2023-06-04 12:51:19  0.00B 声明容器运行时监听的端口
EXPOSE map[8080/tcp:{}]
                        
# 2023-06-04 12:51:19  58.00B 复制新文件或目录到容器中
COPY src/ /var/www/html/ # buildkit
                        
# 2023-06-04 12:51:19  0.00B 指定运行容器时使用的用户
USER nobody
                        
# 2023-06-04 12:51:19  1.16KB 执行命令并创建新的镜像层
RUN /bin/sh -c chown -R nobody.nobody /var/www/html /run /var/lib/nginx /var/log/nginx # buildkit
                        
# 2023-06-04 12:51:19  460.00B 复制新文件或目录到容器中
COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf # buildkit
                        
# 2023-06-04 12:51:19  42.00B 复制新文件或目录到容器中
COPY config/php.ini /etc/php81/conf.d/custom.ini # buildkit
                        
# 2023-06-04 12:51:19  2.16KB 复制新文件或目录到容器中
COPY config/fpm-pool.conf /etc/php81/php-fpm.d/www.conf # buildkit
                        
# 2023-06-04 12:51:19  1.60KB 复制新文件或目录到容器中
COPY config/conf.d /etc/nginx/conf.d/ # buildkit
                        
# 2023-06-04 12:51:19  1.40KB 复制新文件或目录到容器中
COPY config/nginx.conf /etc/nginx/nginx.conf # buildkit
                        
# 2023-06-04 12:51:19  105.22MB 执行命令并创建新的镜像层
RUN /bin/sh -c apk add --no-cache   curl   nginx   php81   php81-ctype   php81-curl   php81-dom   php81-fpm   php81-gd   php81-intl   php81-mbstring   php81-mysqli   php81-opcache   php81-openssl   php81-phar   php81-session   php81-xml   php81-xmlreader   supervisor # buildkit
                        
# 2023-06-04 12:51:15  0.00B 设置工作目录为/var/www/html
WORKDIR /var/www/html
                        
# 2023-06-04 12:51:15  0.00B 添加元数据标签
LABEL Description=Lightweight container with Nginx 1.24 & PHP 8.1 based on Alpine Linux.
                        
# 2023-06-04 12:51:15  0.00B 添加元数据标签
LABEL Maintainer=Tim de Pater <code@trafex.nl>
                        
# 2023-05-10 07:11:10  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/sh"]
                        
# 2023-05-10 07:11:10  7.33MB 
/bin/sh -c #(nop) ADD file:7625ddfd589fb824ee39f1b1eb387b98f3676420ff52f26eb9d975151e889667 in / 
                        
                    

镜像信息

{
    "Id": "sha256:ef7c323ef3dc1cf3ad4e9a87db6cdc3efd01da1c79b09e6c95f15304f439b312",
    "RepoTags": [
        "trafex/php-nginx:3.1.0",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/trafex/php-nginx:3.1.0"
    ],
    "RepoDigests": [
        "trafex/php-nginx@sha256:8ca0d6f63b22a8e7fc3dc27e079d51883c7406b0686627082e9910527bb412f4",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/trafex/php-nginx@sha256:febaed71115cb22ac2ef067264d04930906bec77e0437d304fdeb88bd932a4ce"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2023-06-04T04:51:19.589374861Z",
    "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"
        ],
        "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.1 based on Alpine Linux.",
            "Maintainer": "Tim de Pater \u003ccode@trafex.nl\u003e"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 112551251,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/c74c2ef540d76abf1138607038256b08c3252eb7eeba99f2f5e3b8d9a5077422/diff:/var/lib/docker/overlay2/172bd1cb281db68992864b6ff781db236e6d0cba61824934d2065948246dccb6/diff:/var/lib/docker/overlay2/578732a27346a80251c97c43145db04a86c66364c925b6ab510cfcaed7830a7e/diff:/var/lib/docker/overlay2/6946bda4eb52332625c3f09ad5d30ed6c8e29aa78a46af0a408f1abf11c91dda/diff:/var/lib/docker/overlay2/86a51ddaf86b4b0d3c4730b5f8895b6836eefe3e3d17a19c5051fffd07eee65a/diff:/var/lib/docker/overlay2/4c813fae70c48b68e30432a5a11f5d44834cb1a04064e376526edec15fa9e823/diff:/var/lib/docker/overlay2/20b4bd8aa4a126a43b982c80b9bd5d8caaa3423820e1fdc3825a7f24baff5a1f/diff:/var/lib/docker/overlay2/e0e874be2db20cef7dbe5a087b5789493dbf12df2747b05ab596614ab10f8602/diff:/var/lib/docker/overlay2/559b067a9ce94a616f89ac3a942dbfae9b9aa341b65cdda56efcd228e4001f54/diff",
            "MergedDir": "/var/lib/docker/overlay2/f28945dfaa452a4efe8c2e93ef9cdc9fb47f8bff488fbd463200b1a55a123829/merged",
            "UpperDir": "/var/lib/docker/overlay2/f28945dfaa452a4efe8c2e93ef9cdc9fb47f8bff488fbd463200b1a55a123829/diff",
            "WorkDir": "/var/lib/docker/overlay2/f28945dfaa452a4efe8c2e93ef9cdc9fb47f8bff488fbd463200b1a55a123829/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:bb01bd7e32b58b6694c8c3622c230171f1cec24001a82068a8d30d338f420d6c",
            "sha256:fb8ad8a2d64b6887aeab11ff3b9aee8c9933ec10bc470cada1d840654eba6eb2",
            "sha256:5bb526d776240bb99f61e604ce0a877239021c1715756741972a41202a313234",
            "sha256:5eef1396b412e68aa7c00894db723b1178ad4b2b2e232453b8f7ef0d530d5b85",
            "sha256:c2bcc340fdfcf6dea27c9597c1efef79cd541cb344412a575aef16f05b584262",
            "sha256:c7c47a5c2da612a579c8d31d760dfc439310fa4a9a73527821dc01b8ff815f8e",
            "sha256:9067a499d92f1a5b6c1695e6bdac6cd233d041cdc7cecaf80a8d771f257b46a5",
            "sha256:df807e5008b69ce448f09f3a5ccf79efa57453fe7f8a911fde6cbb86be019356",
            "sha256:df68ad5fcdb74ce446fe9fcd751fa49e4c25a6875db4075b6e8cd9e9c666dbee",
            "sha256:f4be87f06362ae7197c5fc88dab2663509397ba9e1475888c77427a7fdc9ce4d"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-01-15T20:59:07.23481987+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
29