使用go在win64上编译docker

时间:2014-12-03 19:14:53

标签: go docker boot2docker win64


    C:\Go\src\pkg\github.com\docker\docker>go build
    # github.com/docker/docker/pkg/system
    pkg\system\meminfo_unsupported.go:6: undefined: ErrNotSupportedPlatform
    pkg\system\stat_unsupported.go:7: undefined: syscall.Stat_t
    pkg\system\stat_unsupported.go:12: undefined: syscall.Stat_t
    pkg\system\utimes_unsupported.go:8: undefined: ErrNotSupportedPlatform
    pkg\system\utimes_unsupported.go:12: undefined: ErrNotSupportedPlatform
    pkg\system\xattrs_unsupported.go:6: undefined: ErrNotSupportedPlatform
    pkg\system\xattrs_unsupported.go:10: undefined: ErrNotSupportedPlatform
     # github.com/docker/docker/pkg/term
    pkg\term\term.go:16: undefined: Termios
    # github.com/docker/libcontainer/devices
    ..\libcontainer\devices\devices.go:73: undefined: syscall.Stat_t

我缺少的是没有找到的syscal pkg 任何其他人都带着这个

1 个答案:

答案 0 :(得分:0)

我还没有花时间尝试一下,但您可能想阅读https://ahmetalpbalkan.com/blog/compiling-docker-cli-on-windows/