V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
xqk111
V2EX  ›  程序员

2022 年了,现在 m1 芯片的虚拟机兼容性怎么样, docker 镜像兼容性怎么样

  •  
  •   xqk111 · 2022-07-29 10:49:25 +08:00 · 2729 次点击
    这是一个创建于 630 天前的主题,其中的信息可能已经有所发展或是发生改变。
    4 条回复    2022-07-30 01:57:52 +08:00
    superchijinpeng
        1
    superchijinpeng  
       2022-07-29 11:04:42 +08:00
    有 buildx 和 nerdctl
    novolunt
        2
    novolunt  
       2022-07-29 11:26:09 +08:00
    containerd 就用 buildx 和 crictl
    或者用 podman
    smartbot
        3
    smartbot  
       2022-07-29 14:45:57 +08:00
    提一点, 有些 x86 docker 镜像, 使用了 x86 特有的指令集, 无法在 m1 下以 x86 模式运行。
    例如,paddleocr , 运行时报错:Your machine doesn't support AVX
    dingwen07
        4
    dingwen07  
       2022-07-30 01:57:52 +08:00 via iPhone
    运行 x86 镜像还好,编译起来就没几个成功的
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1015 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 19:18 · PVG 03:18 · LAX 12:18 · JFK 15:18
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.