A dockerized Litecoin client
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docker
.gitignore
CHANGELOG.md
Dockerfile
LICENSE
README.md

README.md

Litecoin Docker container

A Docker container running Litecoin as a service and exposing the REST API.

Prerequisites

Install Docker, e.g. on Debian/Ubuntu based systems

sudo apt install docker.io

... on Mac OSX using Homebrew

brew cask install docker

Ensure that a user dockeruser with ID 10000 exists on your local system.

Configuration

Modify docker/litecoin.conf according to your environment. Configure rpcallowip=... to allow the client/daemon to accept RPC connections outside the localhost and set an RPC username (rpcuser) and password (rpcpassword).

Make sure your config file includes the following line:

txindex=1

Usage

Building the docker container (tagged GitHub version of Litecoin in docker/Makefile):

./docker/build.sh

Starting the container:

./docker/start.sh DATA_DIR

Attaching to the container:

./docker/attach.sh

Showing the Bitcoin log file:

./docker/show_log.sh