Browse Source

display container ip after start

encrypt 8 years ago
parent
commit
650a935864
1 changed files with 1 additions and 0 deletions
  1. 1 0
      run.sh

+ 1 - 0
run.sh

@@ -7,3 +7,4 @@
 ###
 
 docker run -d --name isopen-hacklabbo -v /etc/localtime:/etc/localtime:ro -v /home/encrypt/hlbb:/hlbb ruby:sinatra  ruby /hlbb/webapp.rb -o 0.0.0.0
+docker inspect --format "{{.NetworkSettings.IPAddress}}" isopen-hacklabbo