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

Mac 下有什么使用 containerd 运行时的方案?

  •  
  •   Yakir ·
    yakir3 · 2022-04-25 22:32:13 +08:00 · 2989 次点击
    这是一个创建于 880 天前的主题,其中的信息可能已经有所发展或是发生改变。

    请教下各位彦祖,Mac 下有什么使用 containerd 运行时的方案?

    不想安装 Docker Desktop For Mac ,毕竟 docker 即将过时了。。

    不使用 multipass 虚拟机的情况下,Mac 有什么类似 Docker Desktop For Mac 的软件吗?使用 containerd 运行时的。

    10 条回复    2024-07-26 17:09:51 +08:00
    noqwerty
        1
    noqwerty  
       2022-04-25 22:39:22 +08:00
    本地单机的情况我自己用下来 Docker Desktop 是最省心的,虽然强行绑了个 GUI 但是 Network mapping 和 Volume 都跟 Linux 机器上一样用。其他试过的包括 (co)lima, Rancher Desktop, minikube 。
    Yakir
        2
    Yakir  
    OP
       2022-04-25 22:56:00 +08:00
    @noqwerty lima 我看了一下貌似也是和 multipass 一样,需要本机启 Linux 虚拟机。minikube 也需要先有容器或虚拟机才可以使用。
    Rancher Desktop 这个好用吗?
    m4d3bug
        3
    m4d3bug  
       2022-04-25 23:14:27 +08:00 via Android
    docker desktop 还不如 multipass 的性能……containerd 不知道有没有 podman 有
    https://github.com/containers/podman-desktop
    noqwerty
        4
    noqwerty  
       2022-04-25 23:43:24 +08:00
    @Yakir #2 macOS 下面用 Docker 应该都需要虚拟机的,只是有些软件帮你把这一步做了 https://www.v2ex.com/t/830915
    junnplus
        5
    junnplus  
       2022-04-25 23:46:51 +08:00
    macOS 跑容器少不了虚拟机的,不管是啥方案

    安利下 lima ,网络端口映射和文件共享都是和 Docker Desktop 类似

    PS:利益相关,lima 的贡献者
    junnplus
        6
    junnplus  
       2022-04-25 23:58:54 +08:00
    > Rancher Desktop 这个好用吗?

    RD 在 macOS 上本质就是封装了 lima
    junnplus
        7
    junnplus  
       2022-04-26 00:02:42 +08:00
    另外 containerd 和 docker 不是对标的,docker 底层需要 containerd ,而如果你直接用 containerd 不是那么好用,可以了解下 nerdctl 这个项目,它是兼容 docker cli 命令的 containrd 项目,PS:利益相关,nerdctl 的 reviewer
    Yakir
        8
    Yakir  
    OP
       2022-04-26 22:30:13 +08:00
    @junnplus OK ,感谢彦祖们
    julyclyde
        9
    julyclyde  
       2022-04-27 13:33:40 +08:00
    @junnplus 你真强
    zimrigeek
        10
    zimrigeek  
       57 天前
    Orbstack
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   942 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 22:46 · PVG 06:46 · LAX 15:46 · JFK 18:46
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.