http://www.toutiao.com/a6426914161111941377/?tt_from=mobile_qq&utm_campaign=client_share&app=news_article&utm_source=mobile_qq&iid=10673194784&utm_medium=toutiao_android这里看的过程在stack出现错误
代码如下
TEST:
image: daocloud.io/daocloud/dao-tomcat:v7055
restart: always
ports:
service 'environment' must be a mapping not an array,问题就在这里啊,照这个service,他是个map的映射,你那里应该是个数组。