donglu7816 2014-12-03 19:14
浏览 168

使用go在win64上编译docker


    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

what am I missing is it syscal pkg which is not found any one else came with this

  • 写回答

1条回答 默认 最新

  • 普通网友 2014-12-04 06:45
    关注

    I havn't taken the time to try it out yet, but you probably want to read https://ahmetalpbalkan.com/blog/compiling-docker-cli-on-windows/

    评论

报告相同问题?

悬赏问题

  • ¥15 微信会员卡接入微信支付商户号收款
  • ¥15 如何获取烟草零售终端数据
  • ¥15 数学建模招标中位数问题
  • ¥15 phython路径名过长报错 不知道什么问题
  • ¥15 深度学习中模型转换该怎么实现
  • ¥15 HLs设计手写数字识别程序编译通不过
  • ¥15 Stata外部命令安装问题求帮助!
  • ¥15 从键盘随机输入A-H中的一串字符串,用七段数码管方法进行绘制。提交代码及运行截图。
  • ¥15 TYPCE母转母,插入认方向
  • ¥15 如何用python向钉钉机器人发送可以放大的图片?