Fabric2.2搭建测试网络执行./network.sh up
错误问题
ERROR: The Compose file ‘./docker/docker-compose-test-net.yaml’ is invalid because:
networks.test value Additional properties are not allowed (‘name’ was unexpected)
如果采用fabric2.2环境启动出现此错误
cd 到 test-network/docker
中,将两个文件中的name
注释即可
注释name:
重新启动测试网络!
关闭网络时:
ERROR: The Compose file ‘./docker/docker-compose-couch.yaml’ is invalid because:
networks.test value Additional properties are not allowed (‘name’ was unexpected)
也是由于没有把上面三个文件里的name
注释掉导致的问题!