ERROR: In file './docker-compose.yml', volume must be a mapping not a string

后端 未结 8 1831
清歌不尽
清歌不尽 2020-12-09 02:31

Question: Why do I get this error?

ERROR: In file \'./docker-compose.yml\', volume \'mariavolume\' must be a mapping not a string.

8条回答
  •  悲&欢浪女
    2020-12-09 03:13

    correct syntax for volume is
    volumes: first:
    where first is just a placeholder name to be used for volume

提交回复
热议问题