格式化 可以以人类可读的格式打印检查输出,而不是默认的JSON输出,方法是使用--pretty备选方案: $dockerserviceinspect--prettyfrontendID:c8wgl7q4ndfd52ni6qftkvnnpName