Skip to content

--mount=type=cache location #15612

Answered by flouthoc
tmds asked this question in Q&A
Sep 2, 2022 · 1 comments · 16 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 16 replies

Comment options

You must be logged in to vote
16 replies
@flouthoc
Comment options

flouthoc Sep 3, 2024
Collaborator

@flouthoc
Comment options

flouthoc Sep 3, 2024
Collaborator

@parkan
Comment options

@nalind
Comment options

@nalind
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
9 participants