github.com/ouraigua/jenkins-library@v0.0.0-20231028010029-fbeaf2f3aa9b/pkg/docker/multiarch.go (about) 1 package docker 2 3 import ( 4 "github.com/SAP/jenkins-library/pkg/piperutils" 5 ) 6 7 // IsBinfmtMiscSupportedByHost checks if the hosts kernel does support binfmt_misc 8 func IsBinfmtMiscSupportedByHost(utils piperutils.FileUtils) (bool, error) { 9 return utils.DirExists("/proc/sys/fs/binfmt_misc") 10 }