from Hacker News

Lightweight Alpine VMs on macOS

by gandalfff on 11/28/22, 2:44 AM with 95 comments

  • by mberning on 11/28/22, 3:47 AM

    The container landscape is getting crowded. As a person who just wants to get things done with containers it’s not immediately obvious where I should be focusing my efforts due to the proliferation of “container solutions”. It seems especially bad on the mac right now.
  • by smcleod on 11/28/22, 7:31 AM

    I'm really not a fan of that docs website/static page generator - or maybe it's the way the content has been laid out - it shouldn't take so many clicks and full screen refreshes to get basic information that could each be a heading on a single page so you can grep for words, use the mouse less etc....
  • by reversethread on 11/28/22, 3:54 AM

    I don't see the point of a dedicated tool for this when it is easy enough just to start a Alpine docker container with a couple commands. As this project is just a wrapper for docker and LXD[1] and those tools are already easy enough for the average SWE to interact with, the project seems to just over-complicate an already existing workflow.

    [1] https://github.com/beringresearch/macpine#motivation

  • by dindresto on 11/28/22, 8:21 AM

    Is there any containerd solution for macOS that makes use of the Rosetta binary provided to Linux VM's for x86 containers yet?
  • by coderintherye on 11/28/22, 4:00 AM

    There's related discussion from earlier today at https://news.ycombinator.com/item?id=33762657 for LXD
  • by encryptluks2 on 11/28/22, 9:44 AM

    This is like the 5th or 6th frontpage macOS container strategy this week. Wouldn't it be better to have native containers by just using Linux? What advantage do people get hy using macOS?
  • by MBCook on 11/28/22, 3:57 AM

    So the automatic port forwarding/FS sharing/networking is nice if you want that.

    But I often don’t. When I’m using Docker on my Mac it’s usually because I’m trying to use Docker. I need to use an existing Docker container or build a new one to fit some purpose with a Dockerfile.

    I guess it’s nice that there would be a simpler way to launch one-off containers or containers for myself that aren’t expected to work like every other Docker container.

    Is this a common need? Is there something that makes this more than I’ve noticed? The fact I work in a “Docker for containers” place may be preventing me from seeing what would make this shine.

  • by LAC-Tech on 11/28/22, 9:19 AM

    Love Alpine Linux. Only thing stopping me from running it on my main workstation is that my Sublime Text is my main editor and they have no musl version.
  • by Sirened on 11/28/22, 4:20 AM

    it's a thin wrapper around qemu, for those interested
  • by ofrzeta on 11/28/22, 2:25 PM

    I have a Macbook Air M1 but I have given up on running x86 containers. Too much hassle, to much diskspace consumed and too slow. I can run various web projects natively but when I need x86 containers I use a x86 notebook with Linux.
  • by ge96 on 11/28/22, 6:25 AM

    If they can get VSCode to work on musl that'd be greaaaat.
  • by joshmn on 11/28/22, 4:57 AM

    Nice wrapper around qemu for those wondering.

    As someone with MacAlpine heritage I have never been more disappointed in two letters, though.

  • by deafpolygon on 11/28/22, 4:05 AM

    This is your typical MacOS frenzy over solutions in search of a problem space that didn't need solving.