How can I use Docker on a Debian VM inside a Windows 11 VM on macOS?

0
2
Asked By CuriousCat92 On

I'm trying to set up a development environment where I can use Visual Studio 2022 (VS2022) within a Windows 11 ARM virtual machine (VM) that's running on macOS. I initially attempted to use Docker Desktop on macOS and create a context for the Windows 11 VM using TCP and NAT, but I ran into issues. So, I thought about installing Docker on a Debian VM and getting VS2022 to connect to that Docker instance. However, I haven't been successful. I suspect it might be a networking issue. My main goal is to effectively use VS2022 in conjunction with Docker from within this setup. Has anyone successfully done this, or do you have suggestions to help me work through the challenges?

1 Answer

Answered By TechWhiz88 On

It sounds like you're overcomplicating your setup a bit. Can I ask why you're running a Windows VM just to have a Linux VM? Since you're on macOS, have you considered trying Podman instead of Docker? I've heard it handles cross-platform containerization pretty well and you wouldn't need the separate Debian VM — you could run it directly on your macOS. It might simplify things for you.

CuriousCat92 -

Thanks for the suggestion! I’ve heard some good things about Podman. I’ll definitely look into it.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.