Earlier quoted context omitted.
You wanted Apple to add container support to the OSX kernel? Hah. I wonder if the virtualization API that Apple is pushing performs better than Hyperkit.
> HyperKit currently only supports macOS using the Hypervisor.framework. Do people really not know how shit works these days?
Tech Preview of Docker Desktop for M1
91–100 of 231 posts
Re: Tech Preview of Docker Desktop for M1
#92Earlier quoted context omitted.
If you have multiple developers working on the same product, you want each developer to have their own environment. In my experience, for cost, convenience, and productivity its made most sense to do this with local Docker. It also eliminates a lot of connectivity issues with running on a remote machine. > In my experience Docker Desktop has been such a resource hog Not sure if this is related to the specific project…
Here is an example thread of many users experiencing resource utilization issues with various root causes: https://github.com/docker/for-mac/issues/3499 Some root causes have been addressed. If they are significantly changing the architecture with the Apple Silicon rollout, I'm very much looking forward to see if that improves things!
Re: Tech Preview of Docker Desktop for M1
#93Perhaps a dumb question but I'm curious why people don't use a VPS or a cloud linux machine more for Docker/K8s development instead of running Docker locally on a Mac. In my experience Docker Desktop has been such a resource hog, and Apple's hypervisor implementation pretty poor. I much prefer to have all that heavy lifting isolated away from my development machine to keep it responsive and cool.
That's one of the premises behind the Codespaces offering: https://github.com/features/codespaces
Re: Tech Preview of Docker Desktop for M1
#94I've been using Preview 5 for about a week now and it's worked well for me in my admittedly limited use (devilbox). The Docker team is so awesome for getting this out so quickly.
Agreed, I was expecting it to take a lot longer.
Re: Tech Preview of Docker Desktop for M1
#95Earlier quoted context omitted.
Too bad, if they had it running natively I would actively consider switching back to mac. Glad to see they are making progress on the M1 port though, my team will be excited.
... if docker ran “natively” it’d mean using kernel hooks provided by xnu, which means you’d be able to run another instance of macOS in a container. How is it so many people use docker but have zero fucking clue about how it works?
Re: Tech Preview of Docker Desktop for M1
#96This bit about Multi-platform development is most interesting to me. > Many developers are going to experience multi-platform development for the first time with the M1 Macs. This is one of the key areas where Docker shines. Docker has had support for multi-platform images for a long time, meaning that you can build and run both x86 and ARM images on Desktop today. If multi platform images work, a lot of the concerns…
Not really. Just because you have ARM and AMD debian, you wouldn't have same behaviour in both. You wouldn't have same list of packages that can be installed.
Re: Tech Preview of Docker Desktop for M1
#97Earlier quoted context omitted.
If Docker for mac was running natively it would be more or less useless. Nobody deploys production code on MacOS hosts anymore. That it is all so smoothly powered by Linux is what makes it a great product.
I develop exclusively on Linux, but it would be nice if my teammates who don't didn't melt their laptops doing local dev on mac. If apple gave a shit about non apple developers they would provide the kernel hooks to help make it possible. Also, nobody deploys on mac hosts because virtualizing macos in a cloud environment is against tos, so options are expensive and limited.
Re: Tech Preview of Docker Desktop for M1
#98Now come on Windows! Give me a solution for that (although I rarely use it) and I’m sold or maybe I moved the goal post to requiring more than 16gb RAM again but come on everyone you can do it! edit: guys I'm talking about running Windows on a VM on a M1 macbook. Just going down the checkbox of virtualization options. Docker is one checkbox. Now want Windows and Vmware/VirtualBox/Parallels
As for 16GB of memory, funny enough I just put out a video today around the topic of "is 16GB of RAM enough for web development?" over at: https://www.youtube.com/watch?v=SQS7XCgUPmc
The video demos running everything I run in my day to day plus more just to see how far 16GB of RAM really goes. It's all running on a Windows 10 workstation I put together in 2014 which has a weak CPU and video card from today's standards, yet everything runs really smoothly.
I never broke 13GB of memory used even with running VMs separate from Docker and heavy duty video editing tools, all while recording a 1080p video at the same time.
For folks who want an M1 and are capped at 16gb of memory, I would imagine the memory usage experience would be similar to that Windows based video. Good enough for most web development, even with a moderate amount of media creation and ops work.
Re: Tech Preview of Docker Desktop for M1
#99Earlier quoted context omitted.
You can run Windows For ARM on M1 Macs right now, I doubt you can get docker to do this without lots of manual effort.
Got a link to proof of this?
and https://www.microsoft.com/en-us/software-download/windowsins... for downloading the Windows build
Re: Tech Preview of Docker Desktop for M1
#100Earlier quoted context omitted.
Agreed, I was expecting it to take a lot longer.
Apple probably uses this technology a lot for themselves and has given support to Docker to implement this quickly.
Any proof? As far as I know apple, they are not that developer/open source supportive.