Skip to content

Commit

Permalink
support changing root dir (#2407)
Browse files Browse the repository at this point in the history
  • Loading branch information
os14 authored Nov 19, 2024
1 parent 58d5893 commit 1a0360d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/service/containermanager/templates/config.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
version = 2
{{- if .RootDir }}
root = "{{ .RootDir }}"
{{- else }}
root = "/var/lib/containerd"
{{- end}}
state = "/run/containerd"

[grpc]
Expand Down

0 comments on commit 1a0360d

Please sign in to comment.