Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultBuildKitStateDir and DefaultBuildKitConfigDir are the location // where buildkitd inside the container stores its state. Some drivers // create a Linux container, so this should match the location for Linux, // as defined in: https://github.com/moby/buildkit/blob/v0.9.0/util/appdefaults/appdefaults_unix.go#L11-L15 DefaultBuildKitStateDir = "/var/lib/buildkit" DefaultBuildKitConfigDir = "/etc/buildkit" )
Variables ¶
This section is empty.
Functions ¶
func ConfigDir ¶
ConfigDir will look for correct configuration store path; if `$BUILDX_CONFIG` is set - use it, otherwise use parent directory of Docker config file (i.e. `${DOCKER_CONFIG}/buildx`)
func DefaultConfigFile ¶ added in v0.9.0
DefaultConfigFile returns the default BuildKit configuration file path
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.