package utils import "os" func IsRunningInContainer() bool { if _, err := os.Stat("/.dockerenv"); err != nil { return false } return true }