Farkhod Abdukodirov
Farkhod Abdukodirov

Reputation: 934

OCI runtime exec failed: container_linux.go:344: starting container process caused "no such file or directory": unknown

I'm running sample tutorial from Hyperledger Fabric Doc, trying to run the "Build Your First Network" sample with following command ./byfn.sh.

Upvotes: 2

Views: 1973

Answers (2)

questionto42
questionto42

Reputation: 9532

If you take the workaround using sh:

Using the docker command docker exec -it <your container> sh will allow you to overcome the issue. It does appear that bash is not installed in the container.

Source: OCI runtime exec failed: exec failed: container_linux.go:348: starting container process caused "exec: "bash": executable file not found in $PATH": unknown

Upvotes: 2

Farkhod Abdukodirov
Farkhod Abdukodirov

Reputation: 934

Reinstalled docker, deleted previous node modules, re-run the network, finally worked fine.

$./byfn.sh down
$docker rm $(docker ps -a -q)
$docker volume prune
$./byfn.sh generate
$./byfn.sh up

enter image description here

enter image description here

Upvotes: 2

Related Questions