2

I'm running a dockerized Cardano node and I'm trying to generate keys for a new address with the cardano-cli using the command:

cardano-cli address key-gen --verification-key-file 01.vkey --signing-key-file 01.skey

Docker command to run the node:

docker run -e NETWORK=mainnet -v cardano-node-ipc:/ipc -v cardano-node-data:/data inputoutput/cardano-node

Docker command to run the cardano-cli call:

docker run -it --entrypoint cardano-cli -e NETWORK=testnet -e CARDANO_NODE_SOCKET_PATH=/ipc/node.socket -v cardano-node-ipc:/ipc inputoutput/cardano-node

Where are those files created?

1 Answer 1

1

Instead of calling the cardano-cli with docker run, I just got into the pod running the node in a bash shell and ran the cardano-cli from there, the files are created in the folder the bash shell runs the command.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.