def get_metadata(self):
inspect_data = self.inspect(refresh=True)<EOL>inspect_to_container_metadata(self.metadata, inspect_data, self.image)<EOL>return self.metadata<EOL>
Convert dictionary returned after docker inspect command into instance of ContainerMetadata class
:return: ContainerMetadata, container metadata instance