This directory contains a Dockerfile for containerizing the na tool from Brett Terpstra (here's the GH repo for na).
No special commands or flags needed, just a standard docker build command.
This is a very opinionated build that makes assumptions about filesystem paths that are specific to my environment. You'll need to adjust both the Dockerfile and the associated docker container run command accordingly.
On my systems, I use:
docker container run --user 1000:1000 --rm -it -v ~/Sync:/home/slowe/Sync -v ~/.config/na-cli/.na.rc:/home/slowe/.na.rc -v ~/.config/na-cli/.local:/home/slowe/.local slowe/na-cli:0.0.0.10I'll typically alias this as na, so that I can simply run na <subcommand>.