Open
Description
Description
Packaged a chain contract and tried to install it with the following command:
peer lifecycle chaincode install mycc.tar.gz
I'm using on my machine podman instead of docker and basically all the remaining things work like a charm. Is there an existing env variable I can use to make it work with podman?
Steps to reproduce
$ ./peer lifecycle chaincode install mycc.tar.gz
2024-01-15 20:32:22.307 CET 0001 INFO [grpc] AddTraceEvent -> [core] [Channel #1] Channel created
...
2024-01-15 20:32:22.308 CET 0007 INFO [grpc] AddTraceEvent -> [core] [Channel #1] Resolver state updated: {
"Addresses": [
{
"Addr": "peer0.blue.green.com:7051",
"ServerName": "",
"Attributes": null,
"BalancerAttributes": null,
"Type": 0,
"Metadata": null
}
],
"ServiceConfig": null,
"Attributes": null
} (resolver returned new addresses)
2024-01-15 20:32:22.308 CET 0008 INFO [grpc] AddTraceEvent -> [core] [Channel #1] Channel switches to new LB policy "pick_first"
2024-01-15 20:32:22.308 CET 0009 INFO [grpc] AddTraceEvent -> [core] [Channel #1 SubChannel #2] Subchannel created
2024-01-15 20:32:22.308 CET 000a INFO [grpc] AddTraceEvent -> [core] [Channel #1] Channel Connectivity change to CONNECTING
2024-01-15 20:32:22.308 CET 000b INFO [grpc] AddTraceEvent -> [core] [Channel #1 SubChannel #2] Subchannel Connectivity change to CONNECTING
2024-01-15 20:32:22.308 CET 000c INFO [grpc] AddTraceEvent -> [core] [Channel #1 SubChannel #2] Subchannel picks a new address "peer0.blue.green.com:7051" to connect
2024-01-15 20:32:22.308 CET 000d INFO [grpc] Infof -> [core] pickfirstBalancer: UpdateSubConnState: 0xc000012300, {CONNECTING <nil>}
2024-01-15 20:32:22.310 CET 000e INFO [grpc] AddTraceEvent -> [core] [Channel #1 SubChannel #2] Subchannel Connectivity change to READY
2024-01-15 20:32:22.310 CET 000f INFO [grpc] Infof -> [core] pickfirstBalancer: UpdateSubConnState: 0xc000012300, {READY <nil>}
2024-01-15 20:32:22.310 CET 0010 INFO [grpc] AddTraceEvent -> [core] [Channel #1] Channel Connectivity change to READY
2024-01-15 20:32:22.310 CET 0011 INFO [grpc] AddTraceEvent -> [core] [Channel #4] Channel created
2024-01-15 20:32:22.310 CET 0012 INFO [grpc] AddTraceEvent -> [core] [Channel #4] original dial target is: "peer0.blue.green.com:7051"
2024-01-15 20:32:22.310 CET 0013 INFO [grpc] AddTraceEvent -> [core] [Channel #4] parsed dial target is: {Scheme:peer0.blue.green.com Authority: URL:{Scheme:peer0.green.com Opaque:7051 User: Host: Path: RawPath: OmitHost:false ForceQuery:false RawQuery: Fragment: RawFragment:}}
2024-01-15 20:32:22.310 CET 0014 INFO [grpc] AddTraceEvent -> [core] [Channel #4] fallback to scheme "passthrough"
2024-01-15 20:32:22.310 CET 0015 INFO [grpc] AddTraceEvent -> [core] [Channel #4] parsed dial target is: {Scheme:passthrough Authority: URL:{Scheme:passthrough Opaque: User: Host: Path:/peer0.blue.green.com:7051 RawPath: OmitHost:false ForceQuery:false RawQuery: Fragment: RawFragment:}}
2024-01-15 20:32:22.310 CET 0016 INFO [grpc] AddTraceEvent -> [core] [Channel #4] Channel authority set to "peer0.blue.green.com:7051"
2024-01-15 20:32:22.310 CET 0017 INFO [grpc] AddTraceEvent -> [core] [Channel #4] Resolver state updated: {
"Addresses": [
{
"Addr": "peer0.blue.green.com:7051",
"ServerName": "",
"Attributes": null,
"BalancerAttributes": null,
"Type": 0,
"Metadata": null
}
],
"ServiceConfig": null,
"Attributes": null
} (resolver returned new addresses)
2024-01-15 20:32:22.310 CET 0018 INFO [grpc] AddTraceEvent -> [core] [Channel #4] Channel switches to new LB policy "pick_first"
2024-01-15 20:32:22.310 CET 0019 INFO [grpc] AddTraceEvent -> [core] [Channel #4 SubChannel #5] Subchannel created
2024-01-15 20:32:22.310 CET 001a INFO [grpc] AddTraceEvent -> [core] [Channel #4] Channel Connectivity change to CONNECTING
2024-01-15 20:32:22.310 CET 001b INFO [grpc] AddTraceEvent -> [core] [Channel #4 SubChannel #5] Subchannel Connectivity change to CONNECTING
2024-01-15 20:32:22.310 CET 001c INFO [grpc] AddTraceEvent -> [core] [Channel #4 SubChannel #5] Subchannel picks a new address "peer0.blue.green.com:7051" to connect
2024-01-15 20:32:22.311 CET 001d INFO [grpc] Infof -> [core] pickfirstBalancer: UpdateSubConnState: 0xc00011d4b8, {CONNECTING <nil>}
2024-01-15 20:32:22.312 CET 001e INFO [grpc] AddTraceEvent -> [core] [Channel #4 SubChannel #5] Subchannel Connectivity change to READY
2024-01-15 20:32:22.312 CET 001f INFO [grpc] Infof -> [core] pickfirstBalancer: UpdateSubConnState: 0xc00011d4b8, {READY <nil>}
2024-01-15 20:32:22.312 CET 0020 INFO [grpc] AddTraceEvent -> [core] [Channel #4] Channel Connectivity change to READY
Error: chaincode install failed with status: 500 - failed to invoke backing implementation of 'InstallChaincode': could not build chaincode: docker build failed: docker image inspection failed: Get "http://unix.sock/images/dev-peer0.blue.green.com-basic_1.0-8265237dadc929a6d47bbccc41048f4bdb383f0129b6a228f2aa41285012925d-1b119d25d2101140d58957a2027c91f84d64dfbcad69ee5975b1b802d70673e5/json": dial unix /var/run/docker.sock: connect: no such file or directory