Sign inSign up

jamesnetherton/taskwarrior

By jamesnetherton

Updated over 5 years ago

Lightweight Taskwarrior image

Image
2

4.2K

jamesnetherton/taskwarrior repository overview

Docker Taskwarrior

Taskwarrior with Docker.

Starting a Taskwarrior container

docker run -it
           -v ${HOME}/.taskrc:/root/.taskrc
           -v ${HOME}/.task:/root/.task
           -v /etc/localtime:/etc/localtime:ro
           jamesnetherton/taskwarrior

The ENTRYPOINT is configured as task which means you can pass command line options to Taskwarrior like so.

Add a task
docker run -it
           -v ${HOME}/.taskrc:/root/.taskrc
           -v ${HOME}/.task:/root/.task
           -v /etc/localtime:/etc/localtime:ro
           jamesnetherton/taskwarrior add "Test task"
List tasks
docker run -it
           -v ${HOME}/.taskrc:/root/.taskrc
           -v ${HOME}/.task:/root/.task
           -v /etc/localtime:/etc/localtime:ro
           jamesnetherton/taskwarrior list
List all command line options
docker run -it
           -v ${HOME}/.taskrc:/root/.taskrc
           -v ${HOME}/.task:/root/.task
           -v /etc/localtime:/etc/localtime:ro
           jamesnetherton/taskwarrior help

Tag summary

Content type

Image

Digest

sha256:ca3ab4d4b

Size

6.1 MB

Last updated

over 5 years ago

docker pull jamesnetherton/taskwarrior