Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BindPaths ¶
BindPaths collects all directories suitable for --bind flags. Deduplication and child path filtering is handled by apptainer.DeduplicateBindPaths().
func InstalledOverlays ¶
InstalledOverlays scans all image search paths and returns a mapping from normalized overlay names to their absolute file path. Searches user → scratch → legacy → system directories. First match wins (user overlays shadow system ones).
func ResolveOverlayPaths ¶
ResolveOverlayPaths coerces user input into absolute overlay paths that exist on disk.
Types ¶
type Options ¶
type Options struct {
Overlays []string
Command []string
EnvSettings []string
BindPaths []string
Fakeroot bool
WritableImg bool
HideOutput bool
HidePrompt bool
BaseImage string
ApptainerBin string
// PassThruStdin allows the container command to read from stdin
// This is needed for build scripts that require interactive input (download links, passwords, etc.)
PassThruStdin bool
// Stdin specifies a custom input reader (optional, defaults to os.Stdin if PassThruStdin=true)
Stdin io.Reader
}
Options configures how CondaTainer executes a command inside an Apptainer container.