首页 > 系统相关 >docker for nginx run

docker for nginx run

时间:2023-02-27 09:58:32浏览次数:63  
标签:02 01 run 38 nginx 27 2023 docker

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

相关文章

  • 基于Docker部署Dubbo+Nacos服务
    一、说明本文介绍基于Docker部署一套Dubbo+Nacos的微服务环境,并解决容器里的IP及端口的访问问题。基于上文《基于jib-maven-plugin快速构建微服务docker镜像......
  • K8S Pod Sidecar 应用场景之一-加入 NGINX Sidecar 做反代和 web 服务器
    KubernetesPodSidecar简介Sidecar是一个独立的容器,与Kubernetespod中的应用容器一起运行,是一种辅助性的应用。Sidecar的常见辅助性功能有这么几种:服务网格(s......
  • nginx配置
     1.nginx作用(1)请求转发;(2)负载均衡;(3)动静分离;请求转发:负载均衡  动静分离可以把后端和前端资源分开部署   2. 配置ng......
  • systemctl开启、关闭、重启nginx的实现
    最近在配置tomcat和nginx的时候发现这些命令并不能直接用systemctl,其实很容易实现的。下面就是蜜蜂实现用systemctl来开启、关闭、重启nginx的过程,其他的也都大差不差。首先......
  • docker 数据卷详解
    docker数据卷参考:dockervolumes1.为什么需要数据卷?一个容器运行一段时间,会产生一些数据,日志等,如果数据放到容器中,如果容器删除了,数据就没了。2.什么是数据卷?可以......
  • Docker改造传统应用的流程
    首先根据系统的特点判断是否适合Docker化改造,如适合改造,则开始制定改造方案,改造方案会涉及系统镜像的组成、镜像的参数、镜像的启动方式以及源码改造点等基本问题。接下来就......
  • docker 常用命令
    docker概述集装箱隔离机制docker历史dotCloud,容器技术,开源,轻巧,go语言docker能干嘛容器化技术不是一个完整的系统应用更快速的交付和部署更便捷的升级和扩容......
  • docker 镜像原理
    文件系统docker的镜像是由多个只读的文件系统叠加在一起形成的。每启动一个容器的时候,会加载只读层并在栈顶增加一个读写层。增删改查都是在读写层操作的。在docker中,只......
  • Docker基本操作
    #打包镜像dockerbuild[-ttag名称].dockerbuild-tv1.15.100.#更改tagdockertag元tag目标tagdockertagbd754a5c2630192.168.**.**/bigdata/eclipse-t......
  • 报错com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Incorrect
    出现com.mysql.cj.jdbc.exceptions.MysqlDataTruncation:Datatruncation:Incorrectdatetimevalue:'1'forcolumn'date'atrow1错误数据库中的daka表字段date,......