def generate_container_id(container_name):
# container id is a uuid in the namespace of the machine
if not config["container_mode"]:
return str(uuid.uuid5(uuid.UUID(generate_machine_id()), container_name.encode('utf8')))
else:
return container_name.encode('utf8')
评论列表
文章目录