diff --git a/pyouroboros/helpers.py b/pyouroboros/helpers.py index 246afdde..e6d0f95e 100644 --- a/pyouroboros/helpers.py +++ b/pyouroboros/helpers.py @@ -14,7 +14,7 @@ def set_properties(old, new, self_name=None): v for v in old.attrs['Config']['Volumes'].keys() ], 'working_dir': old.attrs['Config']['WorkingDir'], - 'image': new.tags[0], + 'image': old.attrs['Config']['Image'], 'command': old.attrs['Config']['Cmd'], 'host_config': old.attrs['HostConfig'], 'labels': old.attrs['Config']['Labels'],