blocklayerhq / chainkit

ChainKit is a toolkit for blockchain development. It includes primitives for creating, building and running decentralized applications.
Apache License 2.0
120 stars 27 forks source link

doesn't start #2

Closed bill-th2 closed 5 years ago

bill-th2 commented 5 years ago

==> Starting contracts ==> Initializing node... generating 4096-bit RSA keypair...done peer identity: QmesQDK4zzsDULvNfRkdojDT9ovEDTtEH74v17WWZD1Sy3 ==> Generating configuration and genesis files Unable to find image 'chainkit-contracts:latest' locally docker: Error response from daemon: pull access denied for chainkit-contracts, repository does not exist or may require 'docker login'. See 'docker run --help'. Unable to find image 'chainkit-contracts:latest' locally docker: Error response from daemon: pull access denied for chainkit-contracts, repository does not exist or may require 'docker login'. See 'docker run --help'. ✗ initialization failed: exit status 125

bill-th2 commented 5 years ago

Never mind, it had to do with setting docker permissions correctly. It won't run with sudo, so you have to add yourself to docker group.

samalba commented 5 years ago

Indeed, chainkit assumes the current user has access to the docker daemon.