Live data from Hacker News

Tech Preview of Docker Desktop for M1

docker.com

41–50 of 231 posts

Re: Tech Preview of Docker Desktop for M1

#41

Earlier 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?

It's called abstraction, and it is what enables you to live in modern society without knowing the technical details of every facet of your life.

Furthermore, not being able to hook into xnu to virtualize macos is a business decision, not a technical limitation.

Re: Tech Preview of Docker Desktop for M1

#42

Earlier quoted context omitted.

... 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?

Because we use abstraction as a way of lowering barrier to entry to reduce the requirements for people to be proficient in the career and be able to reduce overall costs downwards?

Lowering the entrance requirements doesn't mean you should STAY at the entrance.

Re: Tech Preview of Docker Desktop for M1

#43

Earlier 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?

Because it's not necessary to know for day-to-day work. Which is what most software aspires to achieve.

Re: Tech Preview of Docker Desktop for M1

#44
Absolute disaster, this platform. The opacity and lack of early availability for development made for a really ugly adoption experience. I feel that people should not encourage this and vote with their money in the DevOps / Dev sector to discourage other companies from pulling the same stunt.

Re: Tech Preview of Docker Desktop for M1

#46
post #2

Does this mean I can run containers natively on Mac? And I don't need a VirtualBox VM running on my Mac to launch containers? This would be huge for me, and is always a big in my mind why I would consider switching back to Linux. Edit: Docker on Mac has never felt as snappy as on Linux, because of the VM, though I have no hard numbers. Networking is a PITA, but it's not hard to figure out. The other main thing I hate…

> Docker on Mac has never felt as snappy as on Linux It's extremely slow compared to Linux and I'm pointing my fingers at the virtualization layer without any hard evidence because it's the most likely suspect. With all this focus on sandboxing apps of late, I'm wondering how far the OSX kernel is from having a feature set that resembles cgroups and network namespaces.

They have containers already in a sense, whatever the iOS Simulator.app uses is not VMs, and it's a container in more ways than just one.

Re: Tech Preview of Docker Desktop for M1

#47

Earlier quoted context omitted.

More power to them, unfortunately I don't get paid to QA docker :/

Do you only do what you are paid to? That being said, I'll also hold off a little while getting an Apple Silicon device, until various kinks are worked out. And until I can get a 16" MacBook Pro.

I only work when I'm paid to work, and debugging containers and digging through stack traces sounds like work to me.

I totally get that some people like that kind of thing and have the time for it. I dont.

Re: Tech Preview of Docker Desktop for M1

#48
post #44

Absolute disaster, this platform. The opacity and lack of early availability for development made for a really ugly adoption experience. I feel that people should not encourage this and vote with their money in the DevOps / Dev sector to discourage other companies from pulling the same stunt.

Lack of early availability? They sold $500 dev units specifically for this purpose.

Re: Tech Preview of Docker Desktop for M1

#49
This 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 people have about x86 versus ARM should go away.

Of course, once you can do everything on ARM as well as you can on x86. Perhaps changing more of your infrastructure to ARM might make more sense.

Re: Tech Preview of Docker Desktop for M1

#50
post #44

Absolute disaster, this platform. The opacity and lack of early availability for development made for a really ugly adoption experience. I feel that people should not encourage this and vote with their money in the DevOps / Dev sector to discourage other companies from pulling the same stunt.

Docker or M1 macs?
Post reply on HN