mirror of
https://github.com/containers/podman.git
synced 2025-12-15 11:42:28 +08:00
The seccomp/containers-golang library is not maintained any more and we should stick to containers/common. Signed-off-by: Sascha Grunert <sgrunert@suse.com>
13 lines
189 B
Go
13 lines
189 B
Go
package config
|
|
|
|
import (
|
|
"os"
|
|
)
|
|
|
|
func customConfigFile() (string, error) {
|
|
if path, found := os.LookupEnv("CONTAINERS_CONF"); found {
|
|
return path, nil
|
|
}
|
|
return rootlessConfigPath()
|
|
}
|