Sign inSign up

wayne0019/nginx

By wayne0019

•Updated over 4 years ago

Image
0

136

wayne0019/nginx repository overview

v1和v2仅仅是返回内容不同,比如:

root@iZ2zeaf8sfxox1accz6k0cZ:~# docker run -d -p 8888:80 nginx:v1 b7c61a4a5253c2175774d09f5299d4dad40e55282e13d92931b134c195fe382c

⁠root@iZ2zeaf8sfxox1accz6k0cZ:~# curl http://localhost:8888⁠

version: v1 description: this is v1 version

⁠root@iZ2zeaf8sfxox1accz6k0cZ:# docker run -d -p 8888:80 nginx:v2 7ff5a638516095976e782899ef4c9521c416ac4719f69831122bb4b532f43bdb root@iZ2zeaf8sfxox1accz6k0cZ:# curl http://localhost:8888⁠

version: v2 description: this is v2 version

Tag summary

Content type

Image

Digest

Size

54.1 MB

Last updated

over 4 years ago

docker pull wayne0019/nginx:v2