Live data from Hacker News

Tech Preview of Docker Desktop for M1

docker.com

21–30 of 231 posts

Re: Tech Preview of Docker Desktop for M1

#22
post #4

Earlier quoted context omitted.

Under the hood there is a linux vm running.

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.

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.

Re: Tech Preview of Docker Desktop for M1

#23
post #4

Earlier quoted context omitted.

Under the hood there is a linux vm running.

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

#24
post #4

Earlier quoted context omitted.

Under the hood there is a linux vm running.

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.

Docker can't run natively since it uses linux kernel features not available on a mac. Apple would need to do a lot of work first to make it happen.

Re: Tech Preview of Docker Desktop for M1

#25

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?

Docker obscures the implementation details. Part of this is by design: don't worry about the hard stuff, because Docker does it for you.

It's completely unsurprising that many folks haven't spent the time to dive into the internals. In many cases, because they don't need to.

Such is the nature of abstraction and higher level frameworks.

Re: Tech Preview of Docker Desktop for M1

#26

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.

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?

Re: Tech Preview of Docker Desktop for M1

#28

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

Re: Tech Preview of Docker Desktop for M1

#29

Earlier quoted context omitted.

It doesnt feel native at all, performance and networking are very suboptimal. Haven't tested it on M1 yet, but I doubt the networking challenges will disappear.

There is overhead for sure but if you use x86 containers on an Intel Mac or arm64 containers on an Apple Silicon mac, it's pretty performant.

Can you share any details on M1 perf and resource consumption? Docker vm on mac is noticeably slower and consumes a lot of resources in my experience.

Re: Tech Preview of Docker Desktop for M1

#30

Happy to hear they are making progress, but I would caution people on being an early adopter. It's a tech preview only and don't screw yourself by thinking you will be able to just jump into your usual workflow without issues. Good luck docker!

On the other hand, kinks will be ironed out only with the help of early adopters willing to take the leap and try doing "real" work.
Post reply on HN