Skip to content

wang-junjian/docker-hello-world

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker-hello-world

Hello World! (an example of minimal Dockerization)

编译镜像

docker build -t hello-world .

镜像命名

docker tag hello-world vwarship/hello-world:latest

上传镜像

docker push vwarship/hello-world:latest

运行容器

docker run -p 5000:80 vwarship/hello-world:latest

访问应用

打开浏览器,访问网址:http://localhost:5000

Hello World!

Hostname: 86fcc9672e04
IP: 172.17.0.2

About

Hello World! (an example of minimal Dockerization)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published