(20200328已解决)ERROR: In file './docker-compose.yml', service 'ports' must be a mapping not an array.

  • 问题描述

    docker-compose up -d运行一个docker-compose.yml文件,出现如题错误。

  • 解决方案

    大概率是缩进问题,仔细检查

发布了857 篇原创文章 · 获赞 1291 · 访问量 92万+

猜你喜欢

转载自blog.csdn.net/The_Time_Runner/article/details/105210233