Documentation
¶
Overview ¶
Package host keeps everything Docker-specific behind Open, stubbed on platforms that cannot host a stack.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnsupported = errors.New("stack management requires a Linux or macOS host with Docker")
Functions ¶
func InspectSelfImage ¶
InspectSelfImage lets an installer running as a container pin the exact image ref it was started from.
func ManifestPath ¶
func OtherInstall ¶ added in v0.13.2
OtherInstall exists because two installs on one daemon fight over the same container, volume and network names.
func RequireReadable ¶ added in v0.13.2
RequireReadable names ownership outright: the manifest is mode 0600 because it holds the DB password.
func RequireWritable ¶ added in v0.13.2
RequireWritable fails early rather than surfacing a permission error from three layers down.
func UserManifestPath ¶ added in v0.13.2
func UserManifestPath() string
UserManifestPath mirrors stack.UserConfigPath; fold it into that call on the next dependency bump.
Types ¶
Click to show internal directories.
Click to hide internal directories.