Welcome to the Linux Foundation Forum!

Lab 2 error

How do i correct this error?

docker-compose -f docker-compose.yml up
ERROR: yaml.scanner.ScannerError: while scanning a simple key
in "./docker-compose.yml", line 89, column 1
could not find expected ':'
in "./docker-compose.yml", line 91, column 15

Comments

  • The error above was due to a copy and paste from the PDF. however after the fix i'm receiving this error:

    ~/Desktop/fabric-samples/startFiles$ docker-compose -f docker-compose.yml up -d peer0.org1.example.com peer1.org1.example.com cli
    ERROR: The Compose file './docker-compose.yml' is invalid because:
    Unsupported config option for services.peer1.org1.example.com: 'cli'

    Please advise:

  • i had an extra space next to cli and now i've joined allarewelcome.

Categories

Upcoming Training