lib/percheron/container.rb in percheron-0.7.3 vs lib/percheron/container.rb in percheron-0.7.4

- old
+ new

@@ -115,9 +115,13 @@ def labels { version: version.to_s, created_by: "Percheron #{Percheron::VERSION}" } end + def ip + exists? ? info.NetworkSettings.IPAddress : 'n/a' + end + def update_dockerfile_md5! md5 = current_dockerfile_md5 $logger.info "Setting MD5 for '#{name}' container to #{md5}" $metastore.set("#{metastore_key}.dockerfile_md5", md5) end