PS C:\Users\[user]> docker pull nginx:latest latest: Pulling from library/nginx bb263680fed1: Already exists a0bc35e70773: Pull complete 077b9569ff86: Pull complete 3082a16f3b61: Pull complete 7e9b29976cce: Pull complete Status: Downloaded newer image for nginx:latest docker.io/library/nginx:latest PS C:\Users\[user]> docker search nginx:latest NAME DESCRIPTION STARS OFFICIAL AUTOMATED nangualin/nginx for nginx:latest 2 ksdn117/lorem-ipsum Show Lorem Ipsum(choose an article at random… 1 [OK] gordonchan/nginx-ssl-ghost nginx:latest with a customised default.conf … 1 [OK] basilicom/nginx-php-fpm-pimcore Customized nginx:latest Docker Image for Pim… 1 [OK] ywllyht/mynginx based on nginx:latest, enable autoindex on … 0 alexw1982/nginx nginx:latest with openssl limiting to 256 bi… 0 fegmm/docker-nginx nginx:latest with some standard configuratio… 0 [OK] gordonchan/nginx-ghost nginx:latest with a customised default.conf … 0 [OK] clevyr/nginx-ssl This is the nginx:latest Docker image with S… 0 cezips76/centos67_nginx_php53 CentOS:6.7 + NginX:latest + PHP:5.3 0 hejianle/nginx nginx:latest 0 [OK] kkeshavamurthy/alpine-nginx nginx:latest installed on alpine. 0 mapic/nginx Dockerfiles for mapic/nginx:latest Docker im… 0 [OK] arboro/sw-nginx-ssl Customized nginx:latest for shopware 0 dobedobedo/nginx-letsencrypt Official nginx:latest improved with Let's En… 0 [OK] xiao806852034/nginx 基于 nginx:latest 0 vmmelnic/nginx Nginx on basis of nginx:latest 0 wangpiao/nginx nginx:latest 0 ysya/docker-nginx-wordpress container with Official Wordpress:fpm Offica… 0 [OK] denovembre/twxtuv pull php:7.4.33-fpm && docker pull mysql:5.7… 0 rajivconnects/nginx Ditto SAme nginx:latest pushed 0 davidv2/nginx-curl nginx:latest + curl 0 javamon1174/django-web-app include python-django==2.1.3 and maria-db:la… 0 bgindikagamage/nginxphp SSL Enabeld magento php project docker image… 0 PS C:\Users\[user]> PS C:\Users\[user]> docker images REPOSITORY TAG IMAGE ID CREATED SIZE acrevqwesteu001.azurecr.io/performance-dms/performance-dms-duration-predictor 1.0.20230223.2 3492cc511b57 3 days ago 1.65GB acrevqwesteu001.azurecr.io/cleanup-advisor/cucp-input-generator-backend 1.0.20230222.1 fde04d3d132e 4 days ago 216MB cucp-input-generate-backend-webapi latest 031ce4147bc8 4 days ago 234MB <none> <none> e1d35f233f72 4 days ago 234MB welltestingservicecuainput dev 17bc47eb05f3 5 days ago 208MB rabbitmq management d4f372b8e67a 9 days ago 269MB mcr.microsoft.com/dotnet/sdk 6.0 fb2953aaad51 12 days ago 738MB mcr.microsoft.com/dotnet/aspnet 6.0 1d9ae56c9a2f 12 days ago 208MB nginx latest 3f8a00f137a0 2 weeks ago 142MB docker101tutorial latest 036aefd278c5 2 weeks ago 47MB mongo latest a440572ac3c1 3 weeks ago 639MB acrevqwesteu001.azurecr.io/cloud-infrastructure-operation/base/ci/aspnet 6.0-alpine 3001cc9af4c6 3 weeks ago 156MB acrevqwesteu001.azurecr.io/cloud-infrastructure-operation/base/ci/aspnet 6.0 f741850e20c6 2 months ago 219MB alpine/git latest 22d84a66cda4 3 months ago 43.6MB PS C:\Users\[user]> docker container run --rm -ti -p 8080:80 nginx /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/ /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf 10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh /docker-entrypoint.sh: Configuration complete; ready for start up 2023/02/27 01:18:38 [notice] 1#1: using the "epoll" event method 2023/02/27 01:18:38 [notice] 1#1: nginx/1.23.3 2023/02/27 01:18:38 [notice] 1#1: built by gcc 10.2.1 20210110 (Debian 10.2.1-6) 2023/02/27 01:18:38 [notice] 1#1: OS: Linux 5.10.16.3-microsoft-standard-WSL2 2023/02/27 01:18:38 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576 2023/02/27 01:18:38 [notice] 1#1: start worker processes 2023/02/27 01:18:38 [notice] 1#1: start worker process 29 2023/02/27 01:18:38 [notice] 1#1: start worker process 30 2023/02/27 01:18:38 [notice] 1#1: start worker process 31 2023/02/27 01:18:38 [notice] 1#1: start worker process 32 2023/02/27 01:18:38 [notice] 1#1: start worker process 33 2023/02/27 01:18:38 [notice] 1#1: start worker process 34 2023/02/27 01:18:38 [notice] 1#1: start worker process 35 2023/02/27 01:18:38 [notice] 1#1: start worker process 36 2023/02/27 01:18:38 [notice] 1#1: start worker process 37 2023/02/27 01:18:38 [notice] 1#1: start worker process 38 2023/02/27 01:18:38 [notice] 1#1: start worker process 39 2023/02/27 01:18:38 [notice] 1#1: start worker process 40 2023/02/27 01:18:38 [notice] 1#1: start worker process 41 2023/02/27 01:18:38 [notice] 1#1: start worker process 42 2023/02/27 01:18:38 [notice] 1#1: start worker process 43 2023/02/27 01:18:38 [notice] 1#1: start worker process 44 2023/02/27 01:18:38 [notice] 1#1: start worker process 45 2023/02/27 01:18:38 [notice] 1#1: start worker process 46 2023/02/27 01:18:38 [notice] 1#1: start worker process 47 2023/02/27 01:18:38 [notice] 1#1: start worker process 48
2023/02/27 01:18:38 [notice] 1#1: start worker process 47 2023/02/27 01:18:38 [notice] 1#1: start worker process 48 172.17.0.1 - - [27/Feb/2023:01:21:04 +0000] "GET / HTTP/1.1" 200 615 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36 Edg/110.0.1587.50" "-" 2023/02/27 01:21:04 [error] 29#29: *1 open() "/usr/share/nginx/html/favicon.ico" failed (2: No such file or directory), client: 172.17.0.1, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "localhost:8080", referrer: "http://localhost:8080/" 172.17.0.1 - - [27/Feb/2023:01:21:04 +0000] "GET /favicon.ico HTTP/1.1" 404 555 "http://localhost:8080/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36 Edg/110.0.1587.50" "-"
标签:02,01,run,38,nginx,27,2023,docker From: https://www.cnblogs.com/panpanwelcome/p/17158634.html