compose.yml
file, which looks like this:
version: \'2\'
services:
discovery-microservice:
build: discovery-microservice
context: /discov
Hi further update to the given answer .... It's not specifically about the version: '2.0' line The statement
ERROR: yaml.scanner.ScannerError: mapping values are not allowed here
means there's a formatting error of some sort.
I got it and it was because I was missing a tab in my docker-compose file
version: '3.0'
services:
mysql:
image: ...
instead of
version: '3.0'
services:
mysql:
image: ...
Note the lack of an indenting tab on the image line