Documentation ¶
Index ¶
Constants ¶
View Source
const ( BridgeName = "buildkit0" BridgeSubnet = "10.10.0.0/16" )
View Source
const ( Address = "unix:///run/buildkit/buildkitd.sock" Root = "/var/lib/buildkit" ConfigDir = "/etc/buildkit" DefaultCNIBinDir = "/opt/cni/bin" DefaultCNIConfigPath = "/etc/buildkit/cni.json" )
Variables ¶
View Source
var (
UserCNIConfigPath = filepath.Join(UserConfigDir(), "cni.json")
)
Functions ¶
func EnsureUserAddressDir ¶
func EnsureUserAddressDir() error
EnsureUserAddressDir sets sticky bit on XDG_RUNTIME_DIR if XDG_RUNTIME_DIR is set. See https://github.com/opencontainers/runc/issues/1694
func TraceSocketPath ¶ added in v0.13.0
func UserAddress ¶
func UserAddress() string
UserAddress typically returns /run/user/$UID/buildkit/buildkitd.sock
func UserConfigDir ¶
func UserConfigDir() string
UserConfigDir returns dir for storing config. /home/$USER/.config/buildkit/
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.