providers/docker: when building from Dockerfile, show image ID

This commit is contained in:
Mitchell Hashimoto 2014-04-18 19:40:11 -07:00
parent 052ee624bb
commit 0094a58227
1 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@ module VagrantPlugins
# Build it
machine.ui.output(I18n.t("docker_provider.building"))
image = machine.provider.driver.build(build_dir)
machine.ui.detail("Image: #{image}")
# Store the image ID
image_file.open("w") do |f|