mirror of
https://github.com/docker/docs.git
synced 2026-03-30 15:58:53 +07:00
Although Docker daemon does not work on Darwin, the API client will have to work. That said, I'm fixing the compilation of the package on Darwin.
14 lines
194 B
Go
14 lines
194 B
Go
package utils
|
|
|
|
import (
|
|
"errors"
|
|
)
|
|
|
|
type Utsname struct {
|
|
Release [65]byte
|
|
}
|
|
|
|
func uname() (*Utsname, error) {
|
|
return nil, errors.New("Kernel version detection is not available on darwin")
|
|
}
|