- Docker run Reference: https://docs.docker.com/engine/reference/run/
It's important to note here that without the -v
argument, your generated key would be stuck inside the container and deleted when the container exits! This example mounts the current directory pwd
inside the container at the /keys
path.
docker run --entrypoint /bin/bash -it -v $(pwd)/:/keys codaprotocol/coda-daemon:0.0.11-beta1-release-0.0.12-beta-493b4c6 -c "CODA_PRIVKEY_PASS='password' coda client-old generate-keypair -privkey-path /keys/my_key"