gpt4 book ai didi

go - 使用go在win64上编译docker

转载 作者:数据小太阳 更新时间:2023-10-29 03:28:54 26 4
gpt4 key购买 nike

    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还有其他人带来这个

最佳答案

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

关于go - 使用go在win64上编译docker,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27279801/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com