btcpayserver/BTCPayServer.Tests/docker-bitcoin-cli.sh

5 lines
239 B
Bash
Raw Normal View History

2018-03-17 11:40:23 +01:00
#!/bin/bash
bitcoind_container_id="$(docker ps -q --filter label=com.docker.compose.project=btcpayservertests --filter label=com.docker.compose.service=bitcoind)"
docker exec -ti "$bitcoind_container_id" bitcoin-cli -datadir="/data" "$@"