Created
February 1, 2018 18:50
-
-
Save kimseler14/acdd9c394a68f292a9ffaedcc85d6fef to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nano /usr/local/bin/bitcoin-cli (#copy and paste the commands below.) | |
#!/usr/bin/env bash | |
docker run --rm --network container:bitcoind_mainnet -v /scratch/bitcoin/mainnet/bitcoind:/data dougvk/bitcoind:latest bitcoin-cli "$@" | |
(#Press ctrl + x keys. Press "y" key to exit warning.) | |
chmod +x /usr/local/bin/bitcoin-cli | |
bitcoin-cli getinfo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment