mirror of
https://github.com/containers/podman.git
synced 2025-12-01 18:49:18 +08:00
* Added flags to point to TLS PEM files to use for exposing and connecting to an encrypted remote API socket with server and client authentication. * Added TLS fields for system connection ls templates. * Added special "tls" format for system connection ls to list TLS fields in human-readable table format. * Updated remote integration and system tests to allow specifying a "transport" to run the full suite against a unix, tcp, tls, or mtls system service. * Added system tests to verify basic operation of unix, tcp, tls, and mtls services, clients, and connections. Signed-off-by: Andrew Melnick <meln5674.5674@gmail.com>
31 lines
827 B
Go
31 lines
827 B
Go
//go:build freebsd || netbsd || openbsd
|
|
|
|
package config
|
|
|
|
// DefaultInitPath is the default path to the container-init binary.
|
|
var DefaultInitPath = "/usr/local/libexec/podman/catatonit"
|
|
|
|
func getDefaultCgroupsMode() string {
|
|
return "enabled"
|
|
}
|
|
|
|
// In theory, FreeBSD should be able to use shm locks but in practice,
|
|
// this causes cryptic error messages from the kernel that look like:
|
|
//
|
|
// comm podman pid 90813: handling rb error 22
|
|
//
|
|
// These seem to be related to fork/exec code paths. Fall back to
|
|
// file-based locks.
|
|
func getDefaultLockType() string {
|
|
return "file"
|
|
}
|
|
|
|
func getLibpodTmpDir() string {
|
|
return "/var/run/libpod"
|
|
}
|
|
|
|
// getDefaultMachineVolumes returns default mounted volumes (possibly with env vars, which will be expanded)
|
|
func getDefaultMachineVolumes() []string {
|
|
return []string{"$HOME:$HOME"}
|
|
}
|