waku-org / nwaku-compose

Deployment docker-compose files to deploy an nwaku node
13 stars 19 forks source link

docker-compose.yml: keystore.json file should be mounted like a file #39

Closed Ivansete-status closed 8 months ago

Ivansete-status commented 8 months ago

This is to avoid the following error:

Error response from daemon: failed to create task for container: failed to create shim task: 
OCI runtime create failed: runc create failed: unable to start container process: error during 
container init: error mounting "/home/petty/nwaku-compose/keystore/keystore.json" to 
rootfs at "/keystore/keystore.json": 
mount /home/petty/nwaku-compose/keystore/keystore.json:/keystore/keystore.json
 (via /proc/self/fd/6), flags: 0x5000: not a directory: unknown: Are you 
trying to mount a directory onto a file 
(or vice-versa)? Check if the specified host path exists and is the expected type