2021-09-09 12:25:25 +00:00
|
|
|
//go:build !linux && !freebsd
|
2021-01-03 00:05:52 +00:00
|
|
|
// +build !linux,!freebsd
|
|
|
|
|
|
|
|
package docker
|
|
|
|
|
|
|
|
import (
|
|
|
|
"errors"
|
|
|
|
"net"
|
|
|
|
)
|
|
|
|
|
|
|
|
func newUnixListener(path string, gid int) (net.Listener, string, error) {
|
|
|
|
return nil, "", errors.New("unix sockets require Linux or FreeBSD")
|
|
|
|
}
|