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 ...
Use saved searches to filter your results more quickly Cancel Create saved search Sign in Sign up Reseting focus {{ message }} xhunteru / docker-nginx Public forked from nginxinc/docker-nginx Notifications You must be signed in to change notification settings Fork 0 Star ...
Bumps nginx from 1.23.3-alpine-slim to 1.25.0-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 ...
nginx:alpine-slim镜像是一个基于Alpine Linux操作系统的轻量级Nginx服务器镜像。Alpine Linux是一个面向安全的轻量级Linux发行版,以其较小的体积和高效的安全性而闻名。nginx:alpine-slim镜像结合了Nginx的高性能和Alpine Linux的轻量级特性,非常适合用于资源受限的环境或需要快速部署和启动的场景。 2. 描述nginx镜像的特...
├── 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...
njs0.3.9-alpine 155e2a710c02 About a minute ago7.97MB njs0.3.97a041ccd4f86 About a minute ago 101MB 使用docker-slim 优化镜像尺寸 上文构建完毕的镜像尺寸略大了一些,可以借助DockerSlim 进行精简。下载Docker Slim 后,使用命令对原有镜像进行二次构建,即可构建出新的小巧的镜像: ...
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...