Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

Ledger Docker Image

The unofficial docker image for the ledger-cli project.

Docker Registry

Usage

Basic, but not very useful example:

docker run noazark/ledger --version

Journal Data

The .ledgerrc file sets the --file flag to - which is stdin (I find this the most useful), so you can do this:

cat ./my-journal.dat | \
docker run -i noazark/ledger bal

Volumes

If you'd rather use a volume, that's OK too:

docker run -i -v $PWD/data:/data noazark/ledger --file /data/my-journal.dat bal

Using an Alias

If you're interested in using this to replace a local installation, consider making an alias:

# ~/.bashrc
alias ledger=docker run -i noazark/ledger
Docker Pull Command
Owner
noazark
Source Repository

Comments (0)