Skip to content

Commit

Permalink
Merge pull request #9948 from afbjorklund/var-buildkit
Browse files Browse the repository at this point in the history
Add persistent storage for /var/lib/buildkit
  • Loading branch information
tstromberg authored Dec 14, 2020
2 parents f71e525 + 2b5ad68 commit 05eca4c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deploy/iso/minikube-iso/package/automount/minikube-automount
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@ if [ -n "$BOOT2DOCKER_DATA" ]; then
mkdir -p /var/lib/containerd
mount --bind /mnt/$PARTNAME/var/lib/containerd /var/lib/containerd

mkdir -p /mnt/$PARTNAME/var/lib/buildkit
mkdir -p /var/lib/buildkit
mount --bind /mnt/$PARTNAME/var/lib/buildkit /var/lib/buildkit

mkdir -p /mnt/$PARTNAME/var/lib/containers
mkdir -p /var/lib/containers
mount --bind /mnt/$PARTNAME/var/lib/containers /var/lib/containers
Expand Down
3 changes: 3 additions & 0 deletions site/content/en/docs/handbook/persistent_volumes.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ minikube is configured to persist files stored under the following directories,
* `/data`
* `/var/lib/minikube`
* `/var/lib/docker`
* `/var/lib/containerd`
* `/var/lib/buildkit`
* `/var/lib/containers`
* `/tmp/hostpath_pv`
* `/tmp/hostpath-provisioner`

Expand Down

0 comments on commit 05eca4c

Please sign in to comment.