MCPcopy Index your code
hub / github.com/ddev/ddev / IsPodmanRootless

Function IsPodmanRootless

pkg/dockerutil/providers.go:107–109  ·  view source on GitHub ↗

IsPodmanRootless detects if Podman is running in rootless mode

()

Source from the content-addressed store, hash-verified

105
106// IsPodmanRootless detects if Podman is running in rootless mode
107func IsPodmanRootless() bool {
108 return IsRootless() && IsPodman()
109}
110
111// IsDockerRootless detects if Docker is running in rootless mode on Linux
112// It must not be Podman or Lima, which can be rootless as well.

Callers 7

TestSSHAuthFunction · 0.92
StartMethod · 0.92
CopyIntoVolumeFunction · 0.85
ListFilesInVolumeFunction · 0.85
RemoveFilesFromVolumeFunction · 0.85

Calls 2

IsRootlessFunction · 0.85
IsPodmanFunction · 0.85

Tested by 1

TestSSHAuthFunction · 0.74