Skip to content

git4example/custom-nginx-muti-port

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

custom-nginx-port

Here we are exposing nginx image to port 8080. You can choose your own port.

docker build -t my-nginx . 
docker run -p80:80 -p1972:1972 -p2188:2188 -d my-nginx
docker run -d -p 8080:8080 my-nginx
curl localhost:80
curl localhost:1972
curl localhost:2188

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •