Skip to content

--mount=type=cache location #15612

Answered by flouthoc
tmds asked this question in Q&A
Sep 2, 2022 · 1 comments · 13 replies
Discussion options

You must be logged in to vote

Hi @tmds, It gets stored on your host $TMPDIR/buildah-cache and if $TMPDIR is not set it is /var/tmp/buildah-cache and when id option is selected it becomes $TMPDIR/buildah-cache/<id> or /var/tmp/buildah-cache/<id> depending upon if $TMPDIR was set.

I hope this answers your question.

Ref: https://github.com/containers/buildah/blob/main/pkg/parse/parse.go#L49

Replies: 1 comment 13 replies

Comment options

You must be logged in to vote
13 replies
@cgwalters
Comment options

@flouthoc
Comment options

@cgwalters
Comment options

@flouthoc
Comment options

@flouthoc
Comment options

Answer selected by tmds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
7 participants