Chaincode as service go module #chaincode


Nikos Karamolegkos
 

I am trying to build my own custom chaincode based on fabcar. I have seen that if I change the module name in this line and then build the docker image I have problems with the deployment of the container. It is not running. How can I create my own custom chaincode without using be part of the previous module?


Nikos Karamolegkos
 

The error is failed to create shim: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: "external": executable file not found in $PATH: unknown

On 9/14/22 18:23, Nikos Karamolegkos wrote:
I am trying to build my own custom chaincode based on fabcar. I have seen that if I change the module name in this line and then build the docker image I have problems with the deployment of the container. It is not running. How can I create my own custom chaincode without using be part of the previous module?
-- 
Nikos Karamolegkos
R & D engineer at ICS-FORTH
Telecommunications and Networks Lab (TNL)


Nikos Karamolegkos
 

Ok, I found the solution. I used wrong argument to CMD ["argument"] command of dockerfile

On 9/15/22 15:54, Nikos Karamolegkos wrote:

The error is failed to create shim: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: "external": executable file not found in $PATH: unknown

On 9/14/22 18:23, Nikos Karamolegkos wrote:
I am trying to build my own custom chaincode based on fabcar. I have seen that if I change the module name in this line and then build the docker image I have problems with the deployment of the container. It is not running. How can I create my own custom chaincode without using be part of the previous module?
-- 
Nikos Karamolegkos
R & D engineer at ICS-FORTH
Telecommunications and Networks Lab (TNL)
-- 
Nikos Karamolegkos
R & D engineer at ICS-FORTH
Telecommunications and Networks Lab (TNL)