logic3579
V2EX  ›  Docker

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

  •  
  •   logic3579 · Apr 25, 2022 · 4222 views
    This topic created in 1485 days ago, the information mentioned may be changed or developed.

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

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

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

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

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

    PS:利益相关,lima 的贡献者
    junnplus
        6
    junnplus  
       Apr 25, 2022
    > Rancher Desktop 这个好用吗?

    RD 在 macOS 上本质就是封装了 lima
    junnplus
        7
    junnplus  
       Apr 26, 2022
    另外 containerd 和 docker 不是对标的,docker 底层需要 containerd ,而如果你直接用 containerd 不是那么好用,可以了解下 nerdctl 这个项目,它是兼容 docker cli 命令的 containrd 项目,PS:利益相关,nerdctl 的 reviewer
    logic3579
        8
    logic3579  
    OP
       Apr 26, 2022
    @junnplus OK ,感谢彦祖们
    julyclyde
        9
    julyclyde  
       Apr 27, 2022
    @junnplus 你真强
    zimrigeek
        10
    zimrigeek  
       Jul 26, 2024
    Orbstack
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2917 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 63ms · UTC 14:49 · PVG 22:49 · LAX 07:49 · JFK 10:49
    ♥ Do have faith in what you're doing.