Docker: It's called an image ID not container ID

This commit is contained in:
Anders Ingemann 2015-12-13 17:13:32 +01:00
parent 5bcdeae2e6
commit 7117a6ac61

View file

@ -24,7 +24,7 @@ class CreateImage(Task):
docker_cmd = ['docker', 'import', '--change', info._docker['dockerfile'], '-', docker_cmd = ['docker', 'import', '--change', info._docker['dockerfile'], '-',
info.manifest.name.format(**info.manifest_vars)] info.manifest.name.format(**info.manifest_vars)]
cmd = ' '.join(map(quote, tar_cmd)) + ' | ' + ' '.join(map(quote, docker_cmd)) cmd = ' '.join(map(quote, tar_cmd)) + ' | ' + ' '.join(map(quote, docker_cmd))
[info._docker['container_id']] = log_check_call([cmd], shell=True) [info._docker['image_id']] = log_check_call([cmd], shell=True)
class PopulateLabels(Task): class PopulateLabels(Task):