{"id":18260096,"url":"https://github.com/roppa/docker-bitcoinsv","last_synced_at":"2026-01-21T02:32:32.386Z","repository":{"id":146092619,"uuid":"160695944","full_name":"roppa/docker-bitcoinsv","owner":"roppa","description":"Docker and Docker Compose Bitcoin SV","archived":false,"fork":false,"pushed_at":"2018-12-06T15:42:31.000Z","size":1,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-08T23:44:41.434Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/roppa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-12-06T15:42:09.000Z","updated_at":"2024-12-24T09:39:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"2f58d1ae-8dab-45d0-b0d0-51663da0d0c0","html_url":"https://github.com/roppa/docker-bitcoinsv","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/roppa/docker-bitcoinsv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roppa%2Fdocker-bitcoinsv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roppa%2Fdocker-bitcoinsv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roppa%2Fdocker-bitcoinsv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roppa%2Fdocker-bitcoinsv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roppa","download_url":"https://codeload.github.com/roppa/docker-bitcoinsv/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roppa%2Fdocker-bitcoinsv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28623275,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T23:49:58.628Z","status":"online","status_checked_at":"2026-01-21T02:00:08.227Z","response_time":86,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-05T10:42:03.696Z","updated_at":"2026-01-21T02:32:32.360Z","avatar_url":"https://github.com/roppa.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker Bitcoin SV\n\nBuilding the docker image, naming it 'bitcoinsv':\n\n```bash\ndocker build -t bitcoinsv .\n```\n\nBy default bitcoin will put its data in `/root/.bitcoin/`, so we can mount a volume at that location instead. Running the image, naming the container 'bsv' and attaching a volume:\n\n```bash\ndocker run -v ~/bitcoin/c:/root/.bitcoin --name bsv bitcoinsv\n```\n\nIf we only want to mount a `bitcoind.conf` file we would use:\n\n```bash\ndocker run -v ~/bitcoin/bitcoind.conf:/root/.bitcoin/bitcoind.conf --name bsv bitcoinsv\n```\n\nNow we should see the running container by running `docker ps -a`\n\nTo execute a command on the container:\n\n```bash\ndocker exec -it bsv /bin/bash\n```\n\nOr to run standalone commands:\n\n```bash\ndocker exec bsv /usr/local/bin/bitcoin-cli -regtest generate 101\ndocker exec bsv /usr/local/bin/bitcoin-cli -regtest getbalance\ndocker exec bsv /usr/local/bin/bitcoin-cli -regtest getnewaddress\ndocker exec bsv /usr/local/bin/bitcoin-cli -regtest sendtoaddress bchreg:qzyta9j7ntpceqf0cw8valn9u499xk60vctqt2j3pv 10.00\n```\n\n## Docker Compose\n\nThe docker compose file runs a miner and two nodes, named **miner**, **node1**, **node2**.\n\n```bash\ndocker-compose up --build\n```\n\nTo execute commands, same as the above but with the name of the docker compose container:\n\n```bash\ndocker exec miner /usr/local/bin/bitcoin-cli -regtest generate 101\ndocker exec miner /usr/local/bin/bitcoin-cli -regtest getbalance\ndocker exec miner /usr/local/bin/bitcoin-cli -regtest getnewaddress\ndocker exec miner /usr/local/bin/bitcoin-cli -regtest sendtoaddress bchreg:qzyta9j7ntpceqf0cw8valn9u499xk60vctqt2j3pv 10.00\n```\n\n## References\n\n- [Bitcoin multi node regtest](https://github.com/FreekPaans/bitcoin-multi-node-regtest)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froppa%2Fdocker-bitcoinsv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froppa%2Fdocker-bitcoinsv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froppa%2Fdocker-bitcoinsv/lists"}