<p>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.</p>

CC BY-SA 4.0
2022-02-03T01:33:13.007Z
2022-02-03T01:33:13.007Z
Gilson Lopes
<p>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:</p>
<pre><code>cardano-cli address key-gen --verification-key-file 01.vkey --signing-key-file 01.skey
</code></pre>
<p>Docker command to run the node:</p>
<pre><code>docker run -e NETWORK=mainnet -v cardano-node-ipc:/ipc -v cardano-node-data:/data inputoutput/cardano-node
</code></pre>
<p>Docker command to run the cardano-cli call:</p>
<pre><code>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
</code></pre>
<p>Where are those files created?</p>

<plutus-pioneer-program><cardano-cli>
In a docker Cardano node where are address key files created?
# In a docker Cardano node where are address key files created?

(Asked by: username_0 on 2022-01-31)

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?

**Tags:** plutus-pioneer-program, cardano-cli

---

## 1 answers

### Answer by username_0 on 2022-02-03. Score: 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.


---

