[HN Gopher] Podman Desktop: A Free OSS Alternative to Docker Des...
       ___________________________________________________________________
        
       Podman Desktop: A Free OSS Alternative to Docker Desktop
        
       Author : twelvenmonkeys
       Score  : 778 points
       Date   : 2022-11-09 19:55 UTC (1 days ago)
        
 (HTM) web link (podman-desktop.io)
 (TXT) w3m dump (podman-desktop.io)
        
       | Yuioup wrote:
       | Can this be installed side-by-side with Docker Desktop (on
       | Windows)?
        
         | slimsag wrote:
         | yes; actually it's pretty cool because it shows you docker
         | containers running on your system too and lets you manage those
         | if you have any.
        
           | xwowsersx wrote:
           | That's what Docker Desktop does and this is an alternative to
           | Docker Desktop... Are you saying Docker Desktop on Windows
           | doesn't have those features?
        
             | xeromal wrote:
             | I believe they're saying is that podman can be run
             | concurrently. They're just elaborating.
        
               | xwowsersx wrote:
               | Gotcha, I thought I may have misunderstood. The wording
               | made it sound "also, it's pretty cool because Podman (as
               | opposed to DD) can do x, y, z" which didn't make sense to
               | me. I was thinking "obviously Podman can do that if it's
               | meant as an alternative to DD"
        
               | phinnaeus wrote:
               | Just want to make sure: what they meant was Podman
               | Desktop will show you both podman-based containers AND DD
               | based containers.
        
       | yoro46 wrote:
       | Convenient timing! I installed podman last night and was playing
       | with it. So far it feels just like Docker. Too bad it'll take
       | much more time before I get to seriously recommend this at
       | work... But that doesn't mean I can't use it for my personal
       | projects :)
        
       | ajyotirmay wrote:
       | Using podman since March of 2022. The experience has been nice,
       | and the ability to run containers under user without going root
       | is definitely nice. Good to see it getting some recognition.
        
       | pjmlp wrote:
       | Another Electron app, no thanks.
       | 
       | One day all of them will join XUL and MSHTML on a retirement
       | home.
        
       | irsagent wrote:
       | It's nice to know that there is an alternative to Docker.
        
       | jesuspiece wrote:
       | docker is free..?
        
         | notThrowingAway wrote:
         | For individuals and small businesses, yes
         | https://www.docker.com/blog/updating-product-subscriptions
        
       | als0 wrote:
       | The Flatpak doesn't work for me. "No Container Engine" message. I
       | thought Flatpaks were supposed to just work.
        
       | [deleted]
        
       | tkiolp4 wrote:
       | Talking about containers: is there an easy way to run "system"
       | containers? This is, containers that run systemd and everything
       | else you would expect to be running on a normal Linux OS. I rely
       | heavily on VMs to simulate cloud environments, but I would love
       | to use lightweight containers instead. Also, these "system"
       | containers should be able to run containers inside them as well
       | (docker in docker?).
       | 
       | I saw something on github the other day that may work (can't
       | remember the name, something about "box"), but it wasn't
       | available for Macos.
        
         | rb12345 wrote:
         | LXC/LXD are probably the closest to that on Linux, although I'm
         | not sure about nesting containers.
        
           | CoolCold wrote:
           | It works. Used it just 1 hour ago last time.
           | 
           | lxc launch ubuntu:22.04 docktest -c security.nest
           | 
           | More on https://bobcares.com/blog/lxd-and-docker-containers-
           | nesting/
        
         | Woeps wrote:
         | "these "system" containers should be able to run containers
         | inside them as well (docker in docker?)."
         | 
         | I think you can run podman in podman. But your comment actually
         | makes me wonder how easy it would be to run docker/podman in
         | chroot
        
         | MikeKusold wrote:
         | Proxmox allows you to launch LXC containers via a UI. I use it
         | at home and I'm able to run Docker in both a privileged LXC and
         | an unprivileged LXC.
        
         | moondev wrote:
         | kind (kubernetes inside docker) does this by building a
         | specialized container that includes and uses systemd as the
         | entrypoint:
         | 
         | https://github.com/kubernetes-sigs/kind/blob/main/images/bas...
         | 
         | You could run this as a standalone container
         | docker run --rm -d --name my-node
         | --volume=/lib/modules:/lib/modules:ro --volume=/var
         | --volume=/kind  --privileged docker.io/kindest/node:v1.25.3
         | 
         | then exec in and use it like a vm. it comes with containerd
         | installed and running but you could also install docker
         | docker exec -it my-node bash
        
         | gbraad wrote:
         | Not entirely sure about the usecase, but podman itself
         | integrates well with systemd, like creating services. But it
         | feels like you want a full systemd OS in a container instead of
         | a VM. Not the best practice. VM might better for this, though
         | Podman can run systemd based services. And Podman in docker or
         | podman in podman is not an issue.
         | 
         | https://blog.while-true-do.io/podman-systemd-in-containers/
         | 
         | Podman machine starts a VM that is just a Fedora distro, with
         | systemd and you can create multiple instances. This way you can
         | run these system containers easily.
        
         | dinosaurdynasty wrote:
         | systemd-nspawn, LXC, and podman should all be able to do that
         | (though doing recursive containers can be kind of weird). In
         | theory https://github.com/firecracker-microvm/firecracker
         | should as well, it runs very lightweight VMs.
        
         | rmolina wrote:
         | You are probably referring to Sysbox
         | (https://github.com/nestybox/sysbox), which I believe will meet
         | your requirements (systemd, inner containers, security, etc).
         | 
         | Btw, Sysbox is already supported in Docker-Desktop (business
         | tier only), so you can easily do what you want with this
         | instruction:
         | 
         | $ docker run -it --rm -e SYSBOX_SYSCONT_MODE=TRUE
         | ghcr.io/nestybox/ubuntu-focal-systemd-docker:latest bash
         | 
         | Disclaimer: I'm Sysbox's co-creator and currently working for
         | Docker.
        
           | lmarcos wrote:
           | Sysbox works great! Amazing job.
           | 
           | But OP is looking for something that works for macos I
           | believe.
        
             | rmolina wrote:
             | Appreciate your comment lmarcos!
             | 
             | Yes, the above instruction runs on macos too as long as you
             | have docker-desktop installed.
        
         | CoolCold wrote:
         | One more vote for LXD/LXC. Very neat and quick
        
       | nimbius wrote:
       | podman/skopeo/buildah and systemd managed user services are an
       | absolute game changer for dockerless rootless containers. pod and
       | service defs are supported and can be exported to k8s when or if
       | you ever need it and theres even a podman-compose plugin to get
       | you moved off docker compose while yoou learn
        
       | smcleod wrote:
       | Note: This is quite a big heavy Electron app, if you don't need
       | truly a GUI I'd recommend Colima.
       | https://github.com/abiosoft/colima
        
       | raro11 wrote:
       | Docker Desktop for Mac released an experimental file sharing
       | implementation back in March[0]. It made working with Docker
       | bearable.
       | 
       | Does anyone know how well Podman performs on Mac? Especially file
       | sharing.
       | 
       | Edit: A quick Google led me back to this HackerNews comment[1].
       | Looks like Docker for Mac is faster.
       | 
       | [0] https://www.docker.com/blog/speed-boost-achievement-
       | unlocked...
       | 
       | [1] https://news.ycombinator.com/item?id=32307595
        
         | gbraad wrote:
         | At the moment podman machine on macOS uses Qemu and their
         | filesharing stack. Qemu allowed us to move quickly utilizing
         | the same deployment stategy. However I work on CRC (a related
         | project) and we have a driver based on virtualization framework
         | using virtiofs. We hope to integrate this in `podman machine`
         | soon as it will improve performance. Ideally we want to boot
         | with the kernel and ramdisk provided by the image, though this
         | isn't the case until macOS 13 (which brings EFI support). So,
         | yes... hopefully soon. We just want to make sure we provide a
         | stable and maintainable solution.
        
           | anderspitman wrote:
           | Do you have a link to that virtiofs implementation?
        
             | gbraad wrote:
             | The virtiofs implementation we use is the native one
             | provided by Apple according to our virtiofs spec.
             | https://virtio-fs.gitlab.io/
             | 
             | You can try running https://github.com/crc-org/crc with the
             | podman preset (!) to test it. It would not be exactly the
             | same how podman machine will use it eventually, but might
             | help to give an idea of performance or issues we can
             | improve on. We have seen a lot of users being more than
             | content as it also works in a vpn environment. Note that
             | the CRC tool primarily aims at OpenShift deployment... This
             | is a different preset (resource intensive). Only available
             | as an installer with our tray (sorry about this).
             | 
             | The driver we use is https://github.com/crc-org/vfkit and I
             | am sure Christophe could share a method to just run the VM
             | with our driver. HMU by email if you prefer.
        
               | anderspitman wrote:
               | Thanks for the info. I don't actually use MacOS myself,
               | but I'm interested in getting faster userspace networking
               | and filesystem sharing for Linux and Windows hosts.
               | virtiofs is interesting but it's unfortunate that it
               | requires a daemon and AFAIK doesn't run on Windows hosts.
        
               | gbraad wrote:
               | Right. HyperV only does eh... Well, they do 9P for WSL2,
               | but not for HyperV itself. This is one of our issues. We
               | work with the virtiofs team to get this resolved, but
               | their implementation targets Linux first. We hope to see
               | Microsoft adopting this too. We are glad to help.
               | Especially as the current 9P implementation for WSL2 has
               | known syncing and performance issues. On a VM you would
               | have to resort to CIFS, sshfs or something else... Which
               | are all not ideal for locally attached storage
               | 
               | The solution Vivek and Sergio work on is
               | https://gitlab.com/virtio-fs/virtiofsd
        
           | gpanders wrote:
           | This is exciting news! Is there an issue or something similar
           | I can subscribe to to track progress?
        
             | gbraad wrote:
             | The current driver lives at http://github.com/crc-org/vfkit
             | and is being tested in crc. It would be ideal if you put
             | the request out via an issue
             | https://github.com/containers/podman/issues/new/choose I
             | will follow-up on this. Community feedback will lead to a
             | demand/request as it speaks louder
        
       | syntaxing wrote:
       | Echoing others, is there a benefit running this over Docker? I
       | recently setup portainer and Docker on my homelab and had
       | everything running in about 30 min. Is there a benefit to migrate
       | to podman?
        
         | jalons wrote:
         | Licensing.
        
         | mindwok wrote:
         | The main benefits touted are that Podman can run rootless
         | containers and it doesn't need a daemon compared to Docker.
         | However those comparisons are less relevant now than they were
         | a while ago because Docker can now run rootless containers and
         | Podman has developed a heap of systemd hooks that effectively
         | use that as the daemon. It does have some good features though,
         | like being compatible with Kubernetes manifests.
         | 
         | If you're happy with portainer and Docker I wouldn't bother
         | migrating.
        
           | syntaxing wrote:
           | Is there a portainer equivalent for podman (web based instead
           | of a desktop app)?
        
             | gbraad wrote:
             | You can use the podman module that is part of cockpit-
             | project. It runs on different versions of linux and you can
             | also expose this from a remote machine or VM.
             | 
             | It has a different aim, more of an admin view. I do use it
             | regularly and would gladly take questions for the team. At
             | some point we integrated this as a temporary solution for
             | CRC to provide a container management view.
             | 
             | https://cockpit-project.org/
             | 
             | As an example https://www.tutorialworks.com/podman-
             | monitoring-cockpit-fedo...
             | 
             | If you have suggestions to improve just let me know. I work
             | closely with that team. And they gladly take feature
             | requests or comments
        
           | onlycoffee wrote:
           | > Podman has developed a heap of systemd hooks that
           | effectively use that as the daemon.
           | 
           | Does that mean Podman is not technically ... rootless?
        
             | mindwok wrote:
             | It can still be rootless by using systemd ---user which
             | allows non privileged users to create units and such.
        
       | user432678 wrote:
       | Seems cool and I like seeing more alternatives to Docker Desktop.
       | However, another electron app makes sad a little.
        
         | florentbenoit wrote:
         | The tray app is optional so you can still have the engine
         | (podman machine on Windows/macOS) running without any UI.
        
       | jillesvangurp wrote:
       | Nice to see some alternatives for docker for mac. If you want to
       | keep it simple, simply running a vm (on your device or remotely)
       | and let the docker client talk to it via ssh. I used qemu for
       | this a while ago as it seems is podman.
       | 
       | All you need to do for this is set the DOCKER_HOST variable. It
       | gets slightly tricky with e.g. volume mounts of course. But
       | otherwise this works fine. Including with docker-compose. The
       | only other thing you need to do is some port forwarding from the
       | vm; which you can do with ssh as well.
       | 
       | Podman, Colina, and other tools are essentially just nicer
       | versions of this with a bit more features.
        
       | 404mm wrote:
       | Sort of off-topic. I noticed they publish Universal, intel and
       | arm builds for MacOS. I'm struggling to understand why would they
       | build all three? Why not do either universal or split arch?
        
         | florentbenoit wrote:
         | It's just to download smaller files.
         | 
         | For example if you're using homebrew it will download the right
         | specific file.
         | 
         | And universal is there so that people don't bother to know
         | which arch is their computer.
        
       | majka72 wrote:
       | I wonder what virtualization they are using on mac.
        
         | gbraad wrote:
         | At the moment Qemu using podman machine as that allowed for
         | faster iteration. I work on some of this enablement as part of
         | the CRC team. We have a fully working driver for the
         | virtualization framework, with virtiofs support. We would to
         | integrate this, though at the moment essential EFI support is
         | only available in macOS 13. You can try CRC with the podman
         | preset (!) to test this. It would not be exactly the same as
         | podman machine will run a different setup process instead, it
         | does allow you to see the performance. If you need help, just
         | ping me. Gladly will help
        
       | COGlory wrote:
       | Nice, it's on Flatpak as well.
        
       | magicpointer wrote:
       | There's also Rancher Desktop in the same space, which includes
       | k3s as a local K8s solution.
       | 
       | For personal use I found it great and lighter than Docker
       | Desktop. At work, unfortunately all options but Docker Desktop
       | have issues with either 1) Our Cisco AnyConnect VPN, or 2) Our
       | authenticated http proxy. Couldn't find anything else providing a
       | container runtime + a local k8s on MacOS that works in this
       | environment. So we just got Docker Desktop licenses.
        
         | blibble wrote:
         | > For personal use I found it great and lighter than Docker
         | Desktop.
         | 
         | I don't know what Docker Desktop is doing but on a top end i9
         | with 128gb of ram it still takes 60 seconds to start
         | 
         | and the UI takes forever to do anything
         | 
         | it makes Teams look responsive
        
           | PaulWaldman wrote:
           | Are you on Windows? I believe it is using Hyper-V and running
           | containers in a VM. The loading time is probably how long it
           | takes to start the VM.
        
             | giobox wrote:
             | "Docker Desktop" uses a VM for container execution on _all_
             | supported OSes - Windows, macOS and Linux - default
             | installs are not running  "docker" natively at your local
             | CLI if you are using "Docker Desktop" to run docker, even
             | on Linux.
             | 
             | > https://www.docker.com/blog/the-magic-behind-the-scenes-
             | of-d...
             | 
             | > https://docs.docker.com/desktop/install/linux-install/
             | 
             | > https://docs.docker.com/desktop/faqs/linuxfaqs/#what-is-
             | the-...
             | 
             | "Docker Desktop on Linux runs a Virtual Machine (VM) so
             | creates and uses a custom docker context desktop-linux on
             | startup." I had previously assumed it would be native on
             | Linux, but apparently not. To be clear, this only applies
             | when talking about "Docker Desktop" installations - not the
             | same thing as "docker" etc etc.
             | 
             | I also think the performance is pretty bad, and I've used
             | it on all three OSes at one time or another. I simply never
             | install "Docker Desktop" on Linux typically anyway - it
             | adds so little value over a basic native local docker
             | install there.
             | 
             | The only thing I think "Docker Desktop" is really great at
             | is creating FUD regarding using the alternatives or even
             | plain ole free "docker", but that is probably its primary
             | means of generating revenue for the company - I've seen
             | docker desktop licences get deployed everywhere recently,
             | regardless of the merits. So many users I encounter don't
             | even understand the distinction now between docker/docker-
             | desktop, or that there is one.
        
               | tyingq wrote:
               | On windows, docker desktop can use Hyper-V, but it also
               | supports WSL2 as a backend.
        
               | giobox wrote:
               | > also supports WSL2 as a backend.
               | 
               | Also known as a VM, but maybe you get better warm up
               | times. My main complaints are with the "docker desktop"
               | app experience - not so much "docker" itself VM or
               | otherwise. It adds so little to docker for the license
               | cost too, at least so far.
               | 
               | https://learn.microsoft.com/en-us/windows/wsl/compare-
               | versio...
               | 
               | You can simply install docker in a VM/WSL2 natively
               | yourself and avoid docker desktop/licensing altogether.
               | "Docker Desktop" is/was really a tool to simplify getting
               | a Linux Kernel (the critical dependency for cross-
               | platform container dev) on non-Linux platforms IMO, which
               | seems wild to pay for to me in its current state and when
               | Windows has a great built in VM via WSL2 anyway. That it
               | even exists on Linux now (recent addition) is kinda
               | amusing - on MacOS and Windows there is at least some
               | argument to be made it simplifies getting the kernel...
        
               | lsaferite wrote:
               | The DD WSL2 backend is _also_ creating a VM in Hyper-V.
               | Actually, it 's creating two VMs (docker-desktop and
               | docker-desktop-data). It's also running a proxy in your
               | WSL2 VM so you can access the docker server. It's all a
               | bit convoluted TBH.
               | 
               | I actually decided today to stop using DD on my Windows
               | machine and just run docker native inside the WSL2 VM
               | instance instead. Still not sure what solution I'm going
               | for on my Mac.
        
               | tyingq wrote:
               | Well, yes, but it creates those when you log in. The
               | proxy fixes some corp firewall issues (see other comments
               | here). Start up is faster overall for me versus the
               | normal backend.
        
               | hdougie wrote:
               | I do the same for the most part. I have the docker daemon
               | setup both locally in Windows and also in WSL2. I then
               | have multiple contexts setup in Windows so that I can
               | easily switch between Windows/Linux containers from my
               | host terminal. Thus far, I've not experienced any issues.
               | 
               | The initial setup was a little more complex than just
               | running Docker Desktop, but since then, it's running
               | flawlessly.
        
               | alisonatwork wrote:
               | This is the way. It's even easier if you just winget
               | install RedHat.Podman - that'll give you a tiny Fedora
               | image where "docker" (podman) just works straight out of
               | the box. No need to worry about getting iptables-legacy
               | packages for your WSL distribution or whatever. It's so
               | simple and lightweight, it feels like a much better
               | solution than anything Docker ever did for Windows.
        
               | mook wrote:
               | Talking about WSL2 in general: it creates one VM, with
               | mount namespaces per "distro". That's why everything
               | shares the same network (they didn't set up separate
               | network namespaces). Also, the GUI support in Windows 11
               | is a separate mount namespace.
        
               | bakugo wrote:
               | The WSL2 backend is pretty broken from my experience, it
               | will often lock up using 100% CPU after I put my laptop
               | into sleep/hibernation, and the only reliable way to
               | bring it back seems to be killing the VM in task manager
               | and restarting. Dunno if this is Windows' fault or
               | Docker's though.
        
               | dboreham wrote:
               | Not broken for me fwiw on four different machines, one is
               | ARM.
        
               | pablomalo wrote:
               | Same here. I do not have admin rights on the machine so,
               | unless I'm mistaken, I don't have any other option but to
               | reboot.
        
               | mfer wrote:
               | Running in a VM is there for very good reasons. If you
               | look at where things are going to be installed on the
               | base system, how you can reset the environment, how you
               | deal with variations with other things installed on the
               | host, and more. It's difficult to do this all well
               | outside of a VM.
               | 
               | Also, there are many people who want that VM boundary. We
               | found this when designing for Linux in Rancher Desktop
               | and talking with people about it.
        
               | anderspitman wrote:
               | Interesting. What are they using to run the VM on Linux?
               | QEMU? I looked through the article but didn't see that
               | part explained.
        
           | mfer wrote:
           | I user Rancher Desktop on an i9 with 32gb of RAM. Starts in
           | less than a minute. I also have Teams and slack. Sometimes I
           | have over 200 browser tabs open (yes, I have a problem). The
           | UI is responsive pretty quickly.
           | 
           | A lot of delays has to do with starting VMs. You need this
           | for Linux on Mac/Windows.
           | 
           | Disclaimer: I started Rancher Desktop. I might be biased.
        
             | alex3305 wrote:
             | Last week I switched from Rancher Desktop back to Docker
             | Desktop because I couldn't get VSCode Dev Containers to
             | work properly. I was stumped because it should work out of
             | the box. However it didn't work on a fresh install of
             | Docker Desktop either. Apparently when Rancher Desktop was
             | first released I've installed it and setup a Docker alias
             | in my ~/.zshrc:                  alias docker=nerdctl
             | 
             | After removing that alias everything worked first try with
             | Docker Desktop. However after starting up a couple of Dev
             | containers and some debugger my machine crawled to a halt
             | and was memory swapping like there was no tomorrow. I found
             | that this behavior could be normal for Docker Desktop. So I
             | think I'm going to switch back to Rancher Desktop (or
             | perhaps Podman Desktop) sooner than later.
        
             | blibble wrote:
             | raw "wsl --shutdown" followed by "wsl" takes maybe a second
             | tops
        
             | fuckstick wrote:
             | > I user Rancher Desktop on an i9 with 32gb of RAM. Starts
             | in less than a minute.
             | 
             | This is considered good?
        
               | jbverschoor wrote:
               | Reminds me of people working on Java apps, who had to
               | wait 2-3 minutes for every freaking change
        
             | anderspitman wrote:
             | Starting a WHPX-accelerated VM with QEMU on Windows takes
             | less than 15 seconds with a minimal init. Is Hyper-V really
             | that much slower?
        
               | jve wrote:
               | Don't think so. Starting WSL2 VM takes few seconds.
        
             | dmix wrote:
             | > Sometimes I have over 200 browser tabs open
             | 
             | This is where those extensions (or native Firefox) is good
             | for auto-sleeping tabs you haven't looked at in the last
             | 10-20min. Saves so much CPU.
        
           | FireBeyond wrote:
           | Yup. I have a Mac Pro 2019, 12 core Xeon, 192GB, and the
           | Desktop app and VM location reside on a RAID0 M.2 array that
           | can throughput 6GB/s. Still a minute+.
        
         | MrBuddyCasino wrote:
         | I suppose Docker Compose won't work with those alternatives?
        
           | jchw wrote:
           | Podman works with Docker Compose enough to run stuff I've had
           | to deal with at work and home. I prefer to use the podman-
           | compose script usually, since it does offer some small
           | advantages when using Podman. That said, even with the
           | podman-compose script, I ran into an issue where some syntax
           | somewhere needed to be adjusted for Podman; I can't remember
           | exactly what and I don't have access to the repository to
           | check, but it was a security-related flag, and it was fixed
           | in master at some point, I believe.
           | 
           | Getting Podman to run CUDA/Nvidia workloads was a bit more
           | challenging, but that can also be done.
        
           | sgarland wrote:
           | I ran into this issue[0] when trying to use docker-compose
           | locally, connecting to a Podman VM.
           | 
           | [0]: https://github.com/docker/compose/issues/9448
        
           | mfer wrote:
           | For Rancher Desktop, Docker Compose works with Rancher
           | Desktop when you choose dockerd (moby). If you choose to use
           | straight containerd (with nerdctl as a CLI) than compose
           | isn't going to work.
        
             | matamagu wrote:
             | If you choose to use straight containerd then you can use
             | nerdctl compose too.
        
           | depereo wrote:
           | Compose works (with caveats, sometimes significant ones) with
           | podman.
           | 
           | Rancher desktop works seamlessly with docker-compose. No
           | issues at all.
        
           | Macha wrote:
           | Docker Compose works fine with Rancher Desktop. You can use
           | it with Podman on Linux too, you just need to enable the
           | socket since normally Podman does without - I'd imagine
           | there's some way to enable this on Podman desktop too.
        
         | alphalima wrote:
         | I had similar issues with a different VPN/Proxy at an earlier
         | role. I solved with https://github.com/sakai135/wsl-vpnkit and
         | trusting the root certificate of the proxy on the rancher
         | desktop WSL2 vm (Assuming you're on Windows as I was).
         | 
         | Docker desktop pays for itself by solving these issues though
         | IMO (I wasn't able to get a licence at the old role however)
        
         | gbraad wrote:
         | You can use wsl-gvproxy(*), which uses our CRC usermode network
         | stack to allow use with VPN. We are working on making this an
         | option for podman machine. Alternatively, or to test, you can
         | use CRC from our crc-org project and run the podman preset.
         | This uses a dedicated VM using native hypervisors and the
         | gvproxy setup.
         | 
         | I am the teamlead of CRC and work on the Windows enablement of
         | podman machine, with the podman desktop team. Gladly take
         | questions here or by email.
         | 
         | (*) also known as wsl-vpnkit
        
           | magicpointer wrote:
           | Unfortunately I'm on MacOS and not Windows. But I'll pass
           | this info to my Windows-using colleagues, thanks!
        
         | [deleted]
        
       | jscheel wrote:
       | I'd just love to know if Docker is ever going to fix the issue
       | where my computer kernel panics when going into hibernation if my
       | macbook is unplugged and docker is running. Had an open,
       | reproducible issue for a quite while that has affected lots of
       | other folks too, but no real recognition from Docker.
        
         | jamesvnz wrote:
         | huh, so that's what's happening to me. I was wondering what the
         | likely cause of the kernel panic issue might be. This might be
         | the impetus I needed to try one of these Mac docker
         | alternatives.
        
         | onlycoffee wrote:
         | Google Mac hibernate issues. Over 1 million results. Windows,
         | over 3 million.
         | 
         | I gave up on hibernation being a valid concept in the 1990's,
         | there's too many things that can go wrong and computers are
         | more complex today.I don't use hibernation and Docker has no
         | issues.
        
           | jscheel wrote:
           | I mean, I've never had any other issue with it. This is
           | clearly a docker problem.
        
             | onlycoffee wrote:
             | 1 million Mac and 3 million Windows users most of whom
             | probably don't know what docker is let alone run it; would
             | like to disagree.
        
       | [deleted]
        
       | [deleted]
        
       | candiddevmike wrote:
       | The problem with podman at the moment (IMO) is version drift.
       | RHEL/Fedora and friends get the latest and greatest (4),
       | Debian/Ubuntu are stuck on 3.x. This isn't a problem with Docker,
       | which has tight control over what is deployed. This means how you
       | use Podman directly or indirectly via tools and plugins may
       | change.
        
         | florentbenoit wrote:
         | It might be possible to use a Podman machine on Linux as well.
         | ( You may loose performance but could update as soon it's
         | available)
         | 
         | Or use https://software.opensuse.org/package/podman
        
         | tkhattra wrote:
         | a workaround to get the latest and greatest podman on
         | debian/ubuntu is to use opensuse's kubic repo - it's even
         | mentioned on the podman installation page [0]. but they don't
         | recommend it for production use (though i haven't noticed any
         | issues so far on ubuntu 22.04 and 22.10).
         | 
         | [0] https://podman.io/getting-started/installation
        
           | gbraad wrote:
           | Latest and greatest we publish on https://copr.fedorainfraclo
           | ud.org/coprs/rhcontainerbot/podma...
           | 
           | Will check if we need to change the docs.
           | 
           | But your recommendation remains. Better to use the latest
           | release as indicated on the GitHub releases of podman. These
           | have seen more tests and integration use/tests
           | 
           | Alternatively you can run `podman machine` which sets up a VM
           | with the stable version.
        
         | mbreese wrote:
         | _> This isn 't a problem with Docker, which has tight control
         | over what is deployed._
         | 
         | That contention is heavily dependent upon how Docker was
         | installed. Docker desktop, yes. Command line Docker on Linux?
         | That used to be much more complicated and depended on if you
         | had an OS vendor provided version or had a Docker provided repo
         | install.
         | 
         | RHEL's repo version always seemed particularly out of date to
         | me.
        
           | rjh29 wrote:
           | Yeah, fortunately it's two lines of shell to add Docker's
           | community repo to CentOS/Rocky Linux.
        
             | gbraad wrote:
             | The latest version of podman is always available at https:/
             | /copr.fedorainfracloud.org/coprs/rhcontainerbot/podma...
             | 
             | sudo dnf copr enable rhcontainerbot/podman-next -y
             | 
             | sudo dnf install podman
             | 
             | However the versions provided by the distro have gone
             | through more tests. We are still improving this part as
             | ideally you should be able to pick a version
        
               | ilovecaching wrote:
               | Is it possible to run newer versions of podman and/or
               | buildah as a container?
        
               | gbraad wrote:
               | Yes. Podman in podman works, and this is how I sometimes
               | tested on coreos without installing a new package. These
               | days I mostly use a VM instead. Personal preference
        
         | idoubtit wrote:
         | > The problem with podman at the moment (IMO) is version drift.
         | RHEL/Fedora and friends get the latest and greatest (4),
         | Debian/Ubuntu are stuck on 3.x.
         | 
         | Podman has no control on this. Each Linux distribution deals
         | with packaging in its own way. If this packaging is not to your
         | taste, podman can easily be installed from alternatives
         | sources: unofficial deb packages, or plain binaries.
         | 
         | BTW, podman v4 is in debian/experimental. I don't know why it
         | didn't land into unstable yet.
         | 
         | > This isn't a problem with Docker, which has tight control
         | over what is deployed.
         | 
         | AFAIK, Docker (now Moby) has no control over what is packaged
         | in Debian/Ubuntu (unless the Debian maintainer works for
         | Moby?). If you install Docker from the official Debian
         | repositories, the "docker" package is an alias for "docker.io",
         | which is a version 20.10.19 in debian/unstable. The latest
         | 20.10.21 is not yet packaged by Debian.
        
       | parhamn wrote:
        
         | twblalock wrote:
         | If Docker didn't want this to happen, they should not have
         | given everything away for free and then started charging money
         | for it years later.
         | 
         | Also keep in mind that Linux containers are based on open
         | source kernel technology and Docker was just a friendly layer
         | on top. Anyone else has always been free to build their own
         | friendly layer on top. All that's changed is that those
         | alternatives are now more compelling.
        
         | daxelrod wrote:
         | What precisely did the creators of Podman Desktop do that was
         | unethical? I'm not sure if by "ripoff" you mean "copyright
         | infringement" or something else.
        
         | cercatrova wrote:
         | Using open source as intended is literally the opposite of a
         | "rip-off."
        
         | KyeRussell wrote:
         | That is absurd. These "ripoffs" are entirely enabled by the
         | licensing/donating of the technologies that underpin Docker,
         | let alone Docker Desktop.
        
       | arunc wrote:
       | Help me understand, is this a replacement for docker desktop?
       | Docker desktop provides kubernetes in a neat way. Does podman
       | provide k8s on WSL?
        
         | florentbenoit wrote:
         | podman itself allows to play some subset of kubernetes files
         | with the kube play command if you want to just use containers
         | (no cluster required)
         | https://docs.podman.io/en/latest/markdown/podman-kube-play.1...
         | 
         | Podman Desktop is planning also to bring a Kubernetes cluster
         | very easily. For now you can deploy to an existing Kubernetes
         | cluster the Pod (set of containers that Podman provides) and
         | you can also switch your current context from the tray icon.
        
       | galleywest200 wrote:
       | I really tried to use Podman, but I kept running into issues
       | trying to get a rootless deployment on RHEL that used a protected
       | port (53) and it gave me so much trouble that I uninstalled
       | Podman and installed Docker.
       | 
       | Maybe I can try again, but it was frustrating enough to turn me
       | away for a while.
        
         | BeefWellington wrote:
         | If you want something as non-root to bind below 1024, there's a
         | sysctl for it.[1]
         | 
         | Docker bypasses this essentially because it uses root privs to
         | set up the port forwarding rules.
         | 
         | [1]: https://www.kernel.org/doc/html/latest/networking/ip-
         | sysctl.... -> ip_unprivileged_port_start
        
           | sph wrote:
           | It's not enough in some cases, in a multi container pod (with
           | `podman play kube`) I still got permission issues binding to
           | privileged ports (which were permitted by the sysctl). There
           | was some github issue about it.
           | 
           | In my experience, if you need to bind to < 1024 ports, just
           | run the container as root. Also if you want finer-grained
           | control of host-side permissions of your mounts (i.e. map
           | host uid 1000 to container uid 99). Otherwise rootless is
           | fine.
        
             | BeefWellington wrote:
             | Note that that sysctl indicates it's namespace-specific, so
             | it's possible it needs to be set for the application's
             | namespace (maybe as well) via `--sysctl` on the podman
             | command line.
             | 
             | I did a quick test and it works ok for me to bind to low
             | numbered ports just passing that param to _podman run_.
        
         | doublepg23 wrote:
         | Running into edge issues and always trying to figure out if it
         | was my container, Podman, or SELinux is making me very close to
         | installing regular docker.
        
           | bongobingo1 wrote:
           | I _want_ to love SELinux, sounds great, I can see the real
           | value in it. Tried to deploy some containers on an SE system
           | and it would block everything. Ok expected, it actually has
           | great tools for discovering, suggesting and creating rules to
           | poke holes where needed, but it only suggests those things
           | post-facto.
           | 
           | So basically you're left deploying a container and waiting
           | for something to break, then inspecting SE logs and patching
           | rules in (and folding all that back into your ansible or
           | whatever).
           | 
           | Maybe this is OK if its _your_ application and you can dump
           | it on a staging environment and push it through your 100%
           | coverage end to end test suite to capture all requirements,
           | but if its a third party - or maybe your test coverage isn 't
           | quite where you want it to be - you're basically walking out
           | on the rope bridge blind.
           | 
           | Not sure there is really a way to solve that. Perhaps it
           | there was a `pledge`/`unveil` like system where all
           | requirements can be discovered up front... Otherwise it felt
           | like yours stuck running in SEDisable or SEPermissive for
           | months collecting data (after every deploy).
           | 
           | Maybe I just missed an obvious route to disable swaths of
           | SELinux for rootless containers - where it probably doesn't
           | have as much of an application.
           | 
           | Sorry Dan Walsh :(
        
             | yrro wrote:
             | > Maybe I just missed an obvious route to disable swaths of
             | SELinux for rootless containers
             | 
             | Yeah you can put container_t into permissive mode:
             | 
             | # semanage permissive -a container_t
             | 
             | AVC denials will still be logged but the operations won't
             | be denied.
        
               | bongobingo1 wrote:
               | It sounds like podman containers should automatically get
               | that label so I'll give it another look, thanks!
        
               | yrro wrote:
               | Yeah, use ps -Z PID (from outside of a container) to
               | check its label.
               | 
               | Some other useful sources of info - the container_selinux
               | man page tells you about container_t. And an index of Dan
               | Walsh's blog posts about containers & SELinux can be
               | found in the README of
               | <https://github.com/containers/container-selinux>.
               | 
               | And of course the RHEL documentation for creatign custom
               | SELinux policies that inherit from container_t (for
               | instance, I use it to allow processes within a container
               | to read their certificates out of /etc/pki/tls which is
               | normally forbidden. It's documented here:
               | https://access.redhat.com/documentation/en-
               | us/red_hat_enterp...
        
       | overlisted wrote:
       | For GNOME users: I recommend trying this frontend
       | https://github.com/marhkb/pods
        
       | matai_kolila wrote:
       | Am I just a dum dum for not getting this to drop-in replace
       | Docker Desktop for my relatively simple projects? Has anyone else
       | experienced the problematic practicalities of switching, or
       | should I just spend a bit more time with it?
        
         | Demonsult wrote:
         | Besides the licensing issues, I found it bloated and flaky. For
         | me, the friendly GUI just added pain. I use docker in Hyper-V
         | as my home media server instead. WSL2 also works.
        
         | AnonCoward42 wrote:
         | For me the main reason to use Podman over Docker is rootless
         | containers. Another one is also that Docker is really not
         | pleasant to install on Linux.
        
           | rjh29 wrote:
           | It's not pleasant? I don't know what Docker Desktop is (or
           | what the point is) but Docker Server is two lines of shell on
           | most distros (add repo and install).
           | 
           | I use CentOS, Ubuntu and Arch and have to regularly use
           | third-party repos, PPAs or the AUR - this isn't a
           | particularly uncommon thing to do when installing software.
           | And it beats running a shell script, which is how k8s stuff
           | works most of the time :P
        
           | petre wrote:
           | And pods and not needing a daemon to run them among other
           | things. Docker is still easier precisely because it has a
           | daemon that automatically just starts up your countainers
           | thay you've configured to run at startup, without the need to
           | create systemd unit files.
        
           | nicholasjarnold wrote:
           | > Another one is also that Docker is really not pleasant to
           | install on Linux.
           | 
           | I'm curious on which Linux did you encounter issues while
           | installing Docker? I cannot comment on the (to me somewhat
           | pointless) Docker Desktop GUI installation on Linux, but I
           | can confidently report that installing and using docker
           | engine on Ubuntu, at least, is quite trivial and clearly
           | documented[0] on the website.
           | 
           | [0] https://docs.docker.com/engine/install/debian/
        
             | 2OEH8eoCRo0 wrote:
             | I experienced issues on Fedora because back then Docker did
             | not support cgroups v2.
        
             | AnonCoward42 wrote:
             | First of: It has been some time since I last installed
             | Docker. It actually was on Ubuntu and a properly current
             | version was not in the distro repositories, so I had to add
             | a new repository and it installed plenty of extra
             | dependencies. It's not hard, but also not really pleasant.
             | 
             | It also seems like Docker is now able to run rootless as
             | well, so my nitpicks are actually more minor than I
             | originally thought. It's still not daemonless, but it would
             | work for my use case still I think.
        
             | cmeacham98 wrote:
             | Not them, but my employer makes it a major PITA to add non-
             | standard repositories on the corporate Ubuntu image because
             | of the weird and non-standard way Apt is configured. The
             | "docker.io" package available in the official Ubuntu
             | repository is typically horribly out of date.
             | 
             | Additionally, (and admittedly this isn't really Docker's
             | fault), the default IP range for Docker's network happens
             | to conflict with my employer's internal network, which is
             | great fun to debug if you forget to change it.
        
               | vbernat wrote:
               | All LTS versions are using 20.10.12. That's less than one
               | year old. I don't see how horribly out of date this is.
        
               | cmeacham98 wrote:
               | I should have been more specific: It's been a few months
               | (maybe even a year?) since I last checked, but that
               | package used to not include buildx which I need, that's
               | what I meant by out of date.
        
           | onlycoffee wrote:
           | Weird, I have no need I can see for rootless and on multiple
           | machines no issues installing Docker on Ubuntu including
           | using either the Ubuntu repo or the Docker repo. It just
           | works.
        
         | florentbenoit wrote:
         | They can run side by side and Podman Desktop is also able to
         | show you all Docker containers, images, etc.
        
         | hbn wrote:
         | I'm pretty sure the main reason there's a push to move from
         | Docker Desktop now is because earlier this year they started
         | charging larger businesses/teams to use it.
         | 
         | So if you're just using it for yourself you probably don't need
         | to bother
         | 
         | https://www.docker.com/blog/updating-product-subscriptions/
        
           | matai_kolila wrote:
           | Oh I'm aware of that, my point is that it isn't the smooth
           | transition folks seem to make it out to be (unless, of
           | course, I'm a dum dum which is possible).
        
       | LooerCell wrote:
       | Recently I started using colima[0], a drop in replacement for
       | Docker Desktop on Mac, and have seen an increase in performance
       | and battery life. You can use all the normal docker and docker
       | compose commands. It does not have a GUI but you can use the
       | Docker extension on VS Code to have an overview of running
       | containers.
       | 
       | [0]https://github.com/abiosoft/colima
        
         | throwawaaarrgh wrote:
         | Best part: it's QEMU so you can choose your CPU architecture
         | and run x86_64 containers on ARM Macs
        
           | Hasnep wrote:
           | I've been telling my colleagues with M1 Macs to use the
           | --platform linux/arm64
           | 
           | argument with Docker Desktop and that seems to be working for
           | them.
        
           | Art9681 wrote:
           | Podman works the same way.
        
           | ec109685 wrote:
           | x86_64 containers on ARM mac are extremely slow.
        
             | dmix wrote:
             | I found even with ARM Docker containers were already slow
             | as it was.
             | 
             | I also never understood the justification for the added
             | complexity it created, but I also don't have a dedicated
             | ops team at my job to solve my problems.
        
             | anentropic wrote:
             | It seems this may get better soon, when they run via
             | Rosetta 2 rather than QEMU(?)
             | 
             | https://github.com/docker/roadmap/issues/384
        
           | dilyevsky wrote:
           | That works via qemu userspace emulation inside of VM so
           | docker desktop has it too (might need to install qemu
           | binfmt_misc hooks package)
        
         | tanepiper wrote:
         | Same here, it's what I've been recommending as the alternative.
        
         | vbezhenar wrote:
         | Thanks for sharing. I missed something like that. Docker is too
         | enterprisy to my taste. I'm using VPS with docker right now
         | which works good enough, but no volume mounts is not very nice.
        
         | user- wrote:
         | my personal experience. Much earlier this year at work, we
         | migrated everyone to colima and I had to support devs with
         | their issues. So many small issues kept popping up, and was
         | definitely not a drop in replacement for us.
         | 
         | The higher ups eventually let us just buy docker desktop and we
         | are all happier now.
        
         | shad42 wrote:
         | Replaced Desktop with `colima` as well few months ago. I've
         | been using it daily since then. I did not have any issue,
         | sometimes I just delete / start a instance to upgrade the
         | docker version, it only takes few minutes.
         | 
         | I like the fact that I decide when I upgrade, not Docker
         | Desktop nagging me every week.
        
           | swyx wrote:
           | i wrote a quick howto a while ago for anyone looking to try
           | this out https://www.swyx.io/running-docker-without-docker-
           | desktop
        
         | asmor wrote:
         | somehow colima and my corporate vpn (using vpnc) keep deleting
         | each others routes (colima loses network access when you turn
         | off vpnc) and neither podman machine nor rancher desktop have
         | this issue.
        
         | chisquared wrote:
         | Same. My requirements are very basic, so the switch to colima
         | was basically seamless. I also appreciated being able to avoid
         | Docker Desktop constantly trying to update itself (which is
         | what ultimately motivated me to make the switch).
         | 
         | As a bonus, you can install the Docker CLI (e.g. `brew install
         | --formula docker`) and use that to interact with any containers
         | you start with colima.
        
         | elcritch wrote:
         | Does anyone know if the networking lets you ping the docker vm
         | directly?
         | 
         | Looks like there's an `colima start --network-address`. I just
         | spent the day trying to get a docker vm I can ping directly.
        
           | reilly3000 wrote:
           | It's been a really doozy for me too, doubly so for local k8s
           | in Docker (kind/k3s). I've tried a whole lot of variations,
           | it's hard and harder to scale across hundreds of devices.
        
             | elcritch wrote:
             | Well the `colima start --network-address` lets me ping the
             | VM and to use `--net=host`. Nice!
        
         | ArcMex wrote:
         | Sorry but off topic.
         | 
         | At what point did containerization begin to make sense for your
         | workflow?
        
           | afhammad wrote:
           | Not OP, but if it's helpful, I use containers for all 3rd
           | party services I need to run for development. (e.g. Postgres,
           | Redis, Localstack, etc). This makes it easy to onboard new
           | developers as they just have to run `docker-compose up` and
           | not worry about those. It also allows me to easily use
           | different versions of those services in different projects or
           | even branches of a project.
        
         | [deleted]
        
         | twalla wrote:
         | Switched to colima a while back after the licensing debacle and
         | have been mostly happy with it. Only real issue has been with
         | some tools making assumptions about the docker socket location,
         | which was easy to fix in the config file.
        
         | [deleted]
        
         | Makobado1 wrote:
        
         | jzelinskie wrote:
         | Looking to convert, but I still can't understand how this is
         | more performant. Docker Desktop has lots of engineering going
         | into performance crossing the host/VM barrier. IIRC lima just
         | pipes over SSH. How could that be faster?
        
           | cosmotic wrote:
           | Docker is an electron app which might explain some of the
           | performance and battery differences. The containers don't run
           | in electron but that extra copy of chrome is always running
           | in the background.
        
           | russelg wrote:
           | It's quite trivial to have both installed and you can easily
           | switch between Colima and Docker, I think it's worth testing
           | it out.
        
             | drcongo wrote:
             | I only use Docker Desktop for one thing - to see if one of
             | my containers has accidentally started itself as amd64
             | instead of arm64. Sadly Colima doesn't seem to provide a
             | way to do that.
        
         | onetimeuse1234 wrote:
         | Please help me understanding: Why is `brew install docker` not
         | sufficient, why do you also need Colima or Docker Desktop? Is
         | it so that there is a docker _daemon_ installed which `docker`
         | doesn't ship with?
        
           | ZiiS wrote:
           | OSX dose not support running docker containers (or vis versa
           | depending on your point of view). Instead you need a VM
           | running Linux. Docker Desktop / Colima runs this VM for you.
        
             | [deleted]
        
           | dinosaurdynasty wrote:
           | I assume `brew install docker` just installs the docker
           | CLI/etc, which can run on non-Linux OSes. However the docker
           | daemon can only run on Linux, so something needs to setup a
           | VM for it.
        
             | eropple wrote:
             | Homebrew handles this kinda poorly, so people are often
             | confused. `brew install docker` installs the Docker CLI.
             | `brew install --cask docker` installs Docker Desktop, and
             | if you've permanently tapped homebrew-cask you'll get that
             | instead of the Docker CLI.
        
               | tyrshand wrote:
               | omg that is terrible
        
               | fjckvuvub5 wrote:
               | Linux user here. It's not terrible. It's funny.
        
               | tuyiown wrote:
               | You are trying to be snarky at macOS users, but homebrew
               | is BSD licensed...
        
       | kodisha wrote:
       | Hyped by those comments, I went and tried both colima and podman.
       | 
       | My use case is the simplest of them all:
       | 
       | A docker compose file for postgres12 with a folder attached as
       | permanent volume.
       | 
       | - colima couldnt do chmod, and it failed when i tried to restore
       | database to folder. I tracked an issue on github, known stuff,
       | issue is couple of years old.
       | 
       | - podman made it work somehow, data restore was under way - it
       | run out of file descriptors, again - know bug with postgres and
       | other scenarios, tracked on github for few years.
       | 
       | turned off, fired docker again, it works.
       | 
       | meh :(
        
       | cybervegan wrote:
       | Pity it's only available as a tarball or .flatpak. I've never got
       | flatpak to work before, and it doesn't work this time either. :-(
        
         | gbraad wrote:
         | What issue are you having with the flatpak? Perhaps it is best
         | to file an issue here https://github.com/containers/podman-
         | desktop/issues/new/choo.... As some details like your distro,
         | versions, etc might help to resolve this.
         | 
         | Since you mention, is the tarball not an option? This is
         | supposed to be portable. What would you prefer?
        
         | deathanatos wrote:
         | And on Homebrew, and packaged for Arch and Gentoo, and other
         | comments seem to indicate that there are outdated .debs for
         | Ubuntu/Debian, and not-outdated ones if you are okay with a
         | third-party repo (which isn't that big of a stretch...?)
         | 
         | That seems pretty well packaged, honestly.
        
         | florentbenoit wrote:
         | What file format would you expect?
        
           | odiroot wrote:
           | AppImage could work, also making it portable.
        
       | tkiolp4 wrote:
       | I'm using (as individual, so for free) Docker Desktop on my M1
       | Apple silicon. It works great. Could someone tell me the benefits
       | of switching to Podman? I like that Podman is open source,
       | though.
       | 
       | Edit: I'm using it for free.
        
         | andrewmutz wrote:
         | Docker started charging for business users, so most people are
         | just switching to the free alternatives
        
         | pgoggijr wrote:
         | Biggest benefit is that it's open source and free - for
         | business use Docker Desktop is a paid service
        
       | moondev wrote:
       | I have been experimenting with the arm64 windows dev kit, neither
       | docker desktop, podman desktop or rancher desktop had arm64
       | builds. Installing the amd64 builds did not work either.
       | 
       | I was surprised to find out wsl2 now supports systemd
       | 
       | https://devblogs.microsoft.com/commandline/systemd-support-i...
       | 
       | I was able to install docker normally inside wsl2 and it worked
       | perfectly. No "desktop" app needed. This will be a game changer
       | when it hits GA
        
         | JoyrexJ9 wrote:
         | Been running Docker under WSL for a few years. Don't need
         | systemd if you're either happy to start it manually with an
         | alias or poke it into one of your profile/logon scripts.
         | 
         | The experience is light-years ahead of the monstrosity that is
         | Docker Desktop
        
         | gbraad wrote:
         | I work on the Windows enablement team of podman machine andam
         | glad to take question or feature requests.
         | 
         | We are looking into enabling systemd, though as said, this
         | isn't GA yet. The functionality would only work for Win11, so
         | we have to enable a win10 workaround for this (we have), but
         | this has to be based on feature detection.
         | 
         | Arm binaries is being looked at, but can't commit to a
         | timeframe when this will be delivered.
        
           | gbraad wrote:
           | Note: the Arm binary I suggest is an rnd to end solution with
           | the WSL2 environment and client binaries.
           | 
           | If you dont mind some tinkering, a fedora Aarch64 container
           | base image can be imported to wsl2 to install podman.
        
         | florentbenoit wrote:
         | Podman Desktop will release Windows arm64 binaries if there is
         | a demand for it
        
         | dboreham wrote:
         | I've been using this approach for some time on my Pro X. I
         | wrote a script to start the docker daemon on first shell
         | startup prior to systemd support.
        
         | nickjj wrote:
         | I've been running Docker on WSL 2 for a while now, without
         | systemd or Docker Desktop. There's no need to wait for systemd.
         | 
         | You can install Docker following their Linux guide and then in
         | your shell's profile file add:                   if grep -q
         | "microsoft" /proc/version &>/dev/null; then             if
         | service docker status 2>&1 | grep -q "is not running"; then
         | wsl.exe --distribution "${WSL_DISTRO_NAME}" --user root \
         | --exec /usr/sbin/service docker start >/dev/null 2>&1
         | fi         fi
         | 
         | Basically the first time you open a terminal it'll pause for 5
         | seconds while the Docker daemon is started but it'll stay
         | started for the duration of your Windows uptime even if you
         | close your terminal. The next time you open a terminal it'll be
         | instant.
        
         | seabrookmx wrote:
         | Thanks for this! I was curious if the windows dev kit would be
         | a good arm64 container build box, but I wasn't sure if getting
         | Docker or buildah etc. on there would be a pain. Sounds like
         | this is totally doable.
        
       | [deleted]
        
       | injinj wrote:
       | Can I use this to manage sudo containers? It's slightly amusing
       | to see the desktop creates a podman daemon, so maybe you could
       | create a sudo podman daemon for use with the desktop somehow?
        
       | afandian wrote:
       | I don't see Multipass mentioned here. We switched from Docker
       | desktop when the license changed and it's been relatively smooth.
       | The installer is friendly, there's a vm with docker preinstalled
       | and all we had to do was configure network bridging.
        
       ___________________________________________________________________
       (page generated 2022-11-10 23:02 UTC)