github.com/containerd/Containerd@v1.4.13/defaults/defaults_unix.go (about) 1 // +build !windows 2 3 /* 4 Copyright The containerd Authors. 5 6 Licensed under the Apache License, Version 2.0 (the "License"); 7 you may not use this file except in compliance with the License. 8 You may obtain a copy of the License at 9 10 http://www.apache.org/licenses/LICENSE-2.0 11 12 Unless required by applicable law or agreed to in writing, software 13 distributed under the License is distributed on an "AS IS" BASIS, 14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 See the License for the specific language governing permissions and 16 limitations under the License. 17 */ 18 19 package defaults 20 21 const ( 22 // DefaultRootDir is the default location used by containerd to store 23 // persistent data 24 DefaultRootDir = "/var/lib/containerd" 25 // DefaultStateDir is the default location used by containerd to store 26 // transient data 27 DefaultStateDir = "/run/containerd" 28 // DefaultAddress is the default unix socket address 29 DefaultAddress = "/run/containerd/containerd.sock" 30 // DefaultDebugAddress is the default unix socket address for pprof data 31 DefaultDebugAddress = "/run/containerd/debug.sock" 32 // DefaultFIFODir is the default location used by client-side cio library 33 // to store FIFOs. 34 DefaultFIFODir = "/run/containerd/fifo" 35 // DefaultRuntime is the default linux runtime 36 DefaultRuntime = "io.containerd.runc.v2" 37 )