You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.4 KiB

# Docker Images
> The Dockerfiles used to build the images that the Polar app needs to spin up nodes quickly across multiple operating systems.
_Warning: These images are not hardened and shouldn't be used to store real bitcoin. These images are intended solely to be used in simnet/regtest environments_
## Bitcoin Core
### Tags
- `0.18.1`, `latest` ([bitcoind/Dockerfile](https://github.com/jamaljsr/polar/blob/master/docker/bitcoind/Dockerfile))
**Building the image**
```sh
$ cd bitcoind
$ docker build --build-arg BITCOIN_VERSION=<version> -t polarlightning/bitcoind:latest -t polarlightning/bitcoind:<version> .
```
Replace `<version>` with the desired bitcoind version (ex: `0.18.1`)
**Push to Docker Hub**
```sh
$ docker push polarlightning/bitcoind:<version>
$ docker push polarlightning/bitcoind:latest
```
## LND
### Tags
- `0.8.0-beta`, `latest` ([lnd/Dockerfile](https://github.com/jamaljsr/polar/blob/master/docker/lnd/Dockerfile))
- `0.7.1-beta` ([lnd/Dockerfile](https://github.com/jamaljsr/polar/blob/master/docker/lnd/Dockerfile))
**Building the image**
```sh
$ cd lnd
$ docker build --build-arg LND_VERSION=<version> -t polarlightning/lnd:latest -t polarlightning/lnd:<version> .
```
Replace `<version>` with the desired LND version (ex: `0.8.0-beta`)
**Push to Docker Hub**
```sh
$ docker push polarlightning/lnd:<version>
$ docker push polarlightning/lnd:latest
```