--- a/defaults/defaults_unix.go +++ b/defaults/defaults_unix.go @@ -22,17 +22,17 @@ const ( // DefaultRootDir is the default location used by containerd to store // persistent data - DefaultRootDir = "/var/lib/containerd" + DefaultRootDir = "/data/docker/var/lib/containerd" // DefaultStateDir is the default location used by containerd to store // transient data - DefaultStateDir = "/run/containerd" + DefaultStateDir = "/data/docker/run/containerd" // DefaultAddress is the default unix socket address - DefaultAddress = "/run/containerd/containerd.sock" + DefaultAddress = "/data/docker/run/containerd/containerd.sock" // DefaultDebugAddress is the default unix socket address for pprof data - DefaultDebugAddress = "/run/containerd/debug.sock" + DefaultDebugAddress = "/data/docker/run/containerd/debug.sock" // DefaultFIFODir is the default location used by client-side cio library // to store FIFOs. - DefaultFIFODir = "/run/containerd/fifo" + DefaultFIFODir = "/data/docker/run/containerd/fifo" // DefaultRuntime is the default linux runtime DefaultRuntime = "io.containerd.runc.v2" // DefaultConfigDir is the default location for config files.