Issues with docker in Fedora 30? #docker


mario.schwaiger@...
 

I'm trying to get the Fabric-Samples running in Fedora 30. Strangely the docker containers always terminate right after starting them:
(base) [user@f30 test-network]$ ./network.sh up
Starting nodes with CLI timeout of '5' tries and CLI delay of '3' seconds and using database 'leveldb'

LOCAL_VERSION=2.2.0
DOCKER_IMAGE_VERSION=2.2.0
Creating network "net_test" with the default driver
Creating volume "net_orderer.example.com" with default driver
Creating volume "net_peer0.org1.example.com" with default driver
Creating volume "net_peer0.org2.example.com" with default driver
Creating orderer.example.com ... done
Creating peer0.org1.example.com ... done
Creating peer0.org2.example.com ... done
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
5270638c799f hyperledger/fabric-peer:latest "peer node start" 1 second ago Up Less than a second 7051/tcp, 0.0.0.0:9051->9051/tcp peer0.org2.example.com
2403a76c3b8e hyperledger/fabric-peer:latest "peer node start" 1 second ago Up Less than a second 0.0.0.0:7051->7051/tcp peer0.org1.example.com
a8a5a31789dd hyperledger/fabric-orderer:latest "orderer" 1 second ago Up Less than a second 0.0.0.0:7050->7050/tcp orderer.example.com
53a4e50a385d bf756fb1ae65 "/hello" 36 minutes ago Exited (0) 36 minutes ago blissful_shannon
15f638ad5f95 hyperledger/fabric-peer "peer node start" 40 minutes ago Exited (0) 40 minutes ago distracted_jones
(base) [user@f30 test-network]$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
In Ubuntu everything works fine and I never had any comparable issues.

Strangely the fabcar-example is causing a weird error. I assumed it might be a permissions-issue, but even running it as sudo is giving me the same, weird results. Right after execution of the script, everything is dead.

(base) [user@f30 fabcar]$ sudo ./startFabric.sh javascript
[sudo] password for user:
/home/user/fabric-samples/test-network /home/user/fabric-samples/fabcar
Stopping network

Removing network net_test
WARNING: Network net_test not found.
Removing volume net_orderer.example.com
WARNING: Volume net_orderer.example.com not found.
Removing volume net_peer0.org1.example.com
WARNING: Volume net_peer0.org1.example.com not found.
Removing volume net_peer0.org2.example.com
WARNING: Volume net_peer0.org2.example.com not found.
Removing network net_test
WARNING: Network net_test not found.
Removing volume net_peer0.org3.example.com
WARNING: Volume net_peer0.org3.example.com not found.
---- No containers available for deletion ----
---- No images available for deletion ----
rm: can't stat 'log.txt': Permission denied
I have tried both, curl -sSL https://bit.ly/2ysbOFE | bash -s -- 2.2.0 1.4.8 and the regular one. Same issue. I know Docker behaves differently under Fedora sometimes and switched temporarily to moby. But still exactly the same problem.

Anyone else using Fedora and can reproduce this issue?

Join fabric@lists.hyperledger.org to automatically receive all group messages.