Skip to content

Commit

Permalink
Update docker.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
21ki authored May 15, 2018
1 parent 11d98fe commit c6549a6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
docker inspect --format='{{.Name}} - {{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $(docker ps -aq)
#提交新的镜像
docker commit c3f279d17e0a tomcat-8
#启动系统所有镜像
docker start $(docker ps -a -q)

0 comments on commit c6549a6

Please sign in to comment.