Welcome to the Linux Foundation Forum!

Lab 2 error

Options

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

  • etrelz
    Options

    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:

  • etrelz
    Options

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

Categories

Upcoming Training