1、下载镜像 docker pull public.ecr.aws/docker/library/nginx:alpine-slim 2、创建挂载文件目录 mkdir -p /opt/NODE/nginx/conf mkdir -p /opt/NODE/nginx/log mkdir -p /opt/NODE/nginx/html 3、查看已存在的镜像列表 docker images 4、初次启动nginx docker run --name nginx -p 9528:80 -d p...
1、下载镜像 docker pull public.ecr.aws/docker/library/nginx:alpine-slim 2、创建挂载文件目录 mkdir -p /opt/NODE/nginx/conf mkdir -p /opt/NODE/nginx/log mkdir -p /opt/NODE/nginx/html 3、查看已存在的镜像列表 docker images 4、初次启动nginx docker run --name nginx -p 9528:80 -d ...
Search or jump to... Search code, repositories, users, issues, pull requests... Provide feedback We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your...
nginx:alpine-slim镜像是一个基于Alpine Linux操作系统的轻量级Nginx服务器镜像。Alpine Linux是一个面向安全的轻量级Linux发行版,以其较小的体积和高效的安全性而闻名。nginx:alpine-slim镜像结合了Nginx的高性能和Alpine Linux的轻量级特性,非常适合用于资源受限的环境或需要快速部署和启动的场景。 2. 描述nginx镜像的特...
FROM nginx FROM nginx:alpine-slim COPY ./nginx.conf /etc/nginx/conf.d/default.conf COPY ./.test_certs/cert.crt /etc/nginx/cert.crt COPY ./.test_certs/priv.key /etc/nginx/priv.key 0 comments on commit b9b3b66 Please sign in to comment. Footer...
├── docker-slim.sh └── njs ├── 0.3.9 ├── 0.3.9-alpine ├── 0.4.4 ├── 0.4.4-alpine ├── 0.5.0 └── 0.5.0-alpine 为了能够自动化的构建各个版本的 NJS 镜像,我们需要编写一个 BASH 脚本: #!/bin/bash RELEASE_DIR='./njs'; ...
njs 0.3.9-alpine 155e2a710c02 About a minute ago 7.97MB njs 0.3.9 7a041ccd4f86 About a minute ago 101MB 1. 2. 3. 4. 5. 6. 7. 8. 9. 使用docker-slim 优化镜像尺寸 上文构建完毕的镜像尺寸略大了一些,可以借助 Docker Slim 进行精简。下载Docker Slim 后,使用命令对原有镜像进行二次构建...
Ingress-nginx version k8s supported version Alpine Version Nginx Version v1.1.1 1.23, 1.22, 1.21, 1.20, 1.19 3.14.2 1.19.9† v1.1.0 1.22, 1.21, 1.20, 1.19 3.14.2 1.19.9† v1.0.5 1.22, 1.21, 1.20, 1.19 3.14.2 1.19.9† v1.0.4 1.22, 1.21, 1.20, 1.19 3.14.2 1.19.9...
Latest version of Alpine, 3.11. PR #176. Remove support for Python 3.5. PR #175. Refactor build setup: Move to GitHub actions. Re-use and simplify code and configs. Simplify and update tests. Remove deprecated -index sufix tags. PR #173. 1.3.0 This is the last version to support:...
Bumps nginx from 1.23.3-alpine-slim to 1.25.1-alpine-slim. Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase. Dependabot commands and options You can trigger Dependabot act...