Explorar el Código

display container ip after start

encrypt hace 9 años
padre
commit
650a935864
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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