Skip to content

feat: add config for tmp directory#45

Open
afbjorklund wants to merge 2 commits intonalgeon:mainfrom
afbjorklund:tmpdir
Open

feat: add config for tmp directory#45
afbjorklund wants to merge 2 commits intonalgeon:mainfrom
afbjorklund:tmpdir

Conversation

@afbjorklund
Copy link
Copy Markdown
Contributor

@afbjorklund afbjorklund commented Apr 19, 2026

Closes #44

The default is "" (just like before), which means that it will use $TMPDIR (normally /tmp). Works fine with docker.

Added a feature to allow ~ (tilde) in path, so that you can copy/paste config without having to expand $HOME...

Example:

    "docker": {
         "bin": "nerdctl.lima",
         "tmp": "~/.local/tmp"
    },

It will also create the directory if it does not exist, since these non-standard directories (in ~/.local) might not.

@afbjorklund afbjorklund force-pushed the tmpdir branch 2 times, most recently from 7dcaaaa to 99ce833 Compare April 19, 2026 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make temporary directory configurable too

1 participant