Thinking about running Docker on M2?

Thinking about running Docker on M2?

Alex Ziskind

1 год назад

79,085 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@lynxAzur
@lynxAzur - 12.01.2024 03:18

Hello
In order to validate Apple Silicon and docker to develop and run our Legacy 32 bits code under Linux I tried in September to compile and test our stuff in 32 bit and with the last version of Rosetta and Docker I succeeded to get my stuff running in a Linux i686 image at a good speed, I was stunned to be frank, I tried it without believing too much that I could succeed !

Compiling with gcc 4.8.5 for the record
Had to compile OpenSsl 32 bit and installed other 32 bits dependencies
I compiled python 3.11 for our test tooling …

Impressive job made by Apple and Docker !!!

Regards

Ответить
@srinidhimarupeddi3160
@srinidhimarupeddi3160 - 29.10.2023 18:53

My mac OS is Monterey ver 12.4. Whenever I open docker it just displays docker engine stopped and I am not able to do anything after that, I tried resetting to factory settings, deleting and installing again but everytime it shows the same error, could anyone help me out because I need docker urgently for studies as I have to run Openfoam on it.
My mac is M1 Pro by the way

Ответить
@jenniferw8963
@jenniferw8963 - 23.07.2023 16:21

runnign docker on mac mini m2 pro 16gb and mysql and microsoft sql server both run relaly well :) both are ported to arm64.

Ответить
@LeicaM11
@LeicaM11 - 22.07.2023 00:04

I am really surprised. Does Apple finally really offer a black laptop? I don‘t need a laptop for my workload, but a black Macbook looks great.🎉 There is running something on your notebooks, in your videos, but what is that? What is Docker? I was searching for Machine Learning. 😂

Ответить
@brucedsm
@brucedsm - 19.07.2023 06:36

Try docker inside a VM

Ответить
@thorstenfricke3257
@thorstenfricke3257 - 11.05.2023 07:49

is docker on apple slower than on x86 pc?

Ответить
@LV-md6lb
@LV-md6lb - 10.04.2023 17:23

Is it only me confused that Alex says Mac is using zero memory by looking at the SWAP line??

Ответить
@prem5758
@prem5758 - 08.04.2023 00:55

M2 chip 8 GB Ram is Good for Flutter App Development and Automation Testing ?

Ответить
@ZMLeng
@ZMLeng - 03.04.2023 06:02

21.817s for m2 pro chip. wtf

Ответить
@josearmas1511
@josearmas1511 - 09.03.2023 02:22

did any of the mba thermal throttled?

Ответить
@thechrissmartin
@thechrissmartin - 25.02.2023 22:15

QEMU vm is pretty slow on Apple Silicon, there was a experimental VM which is much faster. It's now in stable.

Ответить
@ferriskleier
@ferriskleier - 19.02.2023 17:42

wow, I'm really glad I chose the M2 MBA over the M1 Pro MBP. Of course the M1 Pro is better in multicore performance and graphic tasks, but as we see here the basic single core performance is better. And since I'm working on frontend and no heavy tasks in graphics or video editing, I'm really better off with my 24GB MBA

Ответить
@omarabdel-latief3734
@omarabdel-latief3734 - 01.02.2023 18:34

Thanks for putting out these tests. It looks like Docker updated their example Dockerfile in that repo about a month ago (probably because of your comparison videos 😄) to pull in images based on the machine platform so it should in theory automatically pull in the more optimized arm64v8 images for the M1/M2 chips. It'd be interesting to see an updated version of these tests comparing the M2 with an Intel machine

Ответить
@progtom7585
@progtom7585 - 18.01.2023 22:48

Did he confuse the docker song with baby shark?

Ответить
@vlad_olenich
@vlad_olenich - 09.01.2023 01:37

Hi Alex. Thank's a lot for this video. It's really helpful as I'm struggling to choose the right specification for me.
But still have one question.

Why are MBPro w/ 16gb and MBA upgraded w/24 using the different amount of RAM for the same docker task?

Ответить
@RizkyMaulanaNugraha
@RizkyMaulanaNugraha - 04.01.2023 18:25

This the only comparison videos that I can relate with my work 😂.
Thanks for making this. You gain one more follower.
I was torn between buying M2 or M1 pro 14 inch and was really confused on why M2 outperform M1 pro chip for these kind of tasks.

Ответить
@orl123124
@orl123124 - 20.12.2022 21:08

Hi Alex is the base model enough for a apple developer or react dev ? Maybe 2 emulator running simultaneously

Ответить
@TheGajos
@TheGajos - 14.12.2022 19:12

Docker, Docker, my trusty friend
Always there to help me in the end
You make my code run smoothly and fast
I'm grateful for your help, at last

With your containers, I can deploy
My applications with ease, oh boy!
No more worries about dependencies
With you by my side, I can achieve

Your versatility is unmatched
You work with any language or framework
And with your networking and storage options
I can build my apps to perfection

Docker, Docker, you are a gem
I thank the gods for your creation
With you by my side, I can conquer
Any challenge and emerge victorious

So here's a toast to you, Docker
My trusty companion, forevermore
I'll sing your praises, loud and clear
For all the world to hear!

Ответить
@IT-Entrepreneur
@IT-Entrepreneur - 12.12.2022 11:31

Can i build x86 Images on the ARM machine? My Servers using x86... Yeah, my Pipeline can build for x86... but i'm interested anyhow.

Ответить
@gigavaxer6557
@gigavaxer6557 - 01.12.2022 13:12

Hey guys! Maybe you can help me. Will it work well on air m2 if i use on working Docker with three upped containers, PHPStorm, Chrome with ten opened tabs, SQL client like Workbench or DBeaver? Thanks

Ответить
@adrian_franczak
@adrian_franczak - 03.11.2022 01:25

Azure cosmos db still isnt compatible with M1 Mac even on docker!

Ответить
@EmmanuelLESNE
@EmmanuelLESNE - 02.11.2022 16:41

Very good video 😀!
Just to compare with my linux: Dell XPS 9510, i7 11800h with 48Gb RAM
On Ubuntu 22.04:
docker compose up -d --build --force-recreate --scale worker=100 0.56s user 0.16s system 2% cpu 27.464 total

m2 is a very good CPU 😲 .

Ответить
@user-lt9ri1vt7v
@user-lt9ri1vt7v - 02.11.2022 11:41

Hi, Alex. What version of Docker Desktop did you use? I have some issues with version 4.11 on m1 pro. Thanks in advance)

Ответить
@szymao
@szymao - 01.11.2022 11:52

Thinking about running Docker on Ampere Altra.

Ответить
@dainank3867
@dainank3867 - 31.10.2022 21:51

What is the outro song?

Ответить
@ChrisHaupt
@ChrisHaupt - 31.10.2022 12:00

I've never seen so many notches

Ответить
@MrLocsei
@MrLocsei - 26.10.2022 13:48

Why are you always pitting these against the "base model" M1 Pro Macbook pro ?? The M1 Pro "base model" uses the binned version of the M1 Pro chip that has only 6 performance cores as opposed to 8 in the "normal" M1 pro. So you have M2 ( 4 P + 4 E ) vs M1 Pro ( 6 P + 2 E ). 8 cores each, but in a different setup. Combine this with the fact that M2 cores are like 10% more efficient for short bursts (before they overheat and start thermal throttling), and the results are what you'd expect. 


p.s.: An interesting test would be these machines - but it "low power mode" ;) Now that's what would potentially produce surprising results.

Ответить
@WilliamShrek
@WilliamShrek - 21.10.2022 20:08

Is the docker song open source?🤣

Ответить
@YisName
@YisName - 19.10.2022 14:57

Thanks for tests and video! But shorts in October? ;)

Ответить
@boredandagitated
@boredandagitated - 14.10.2022 17:57

I appreciate the work you put into these man, they’re informative and entertaining and look great

Ответить
@twiceshy6226
@twiceshy6226 - 06.10.2022 15:53

Thanks a lot for this test :-) Now I know for sure that I will head for the M2 Air with 24GB instead of M1 Pro

Ответить
@bilalahsan678
@bilalahsan678 - 06.10.2022 11:04

Pl check your Email inbox a mail for an idea to discuss

Ответить
@irina_cc
@irina_cc - 06.10.2022 07:37

Just bought a MB Air M2 16gb 512 SSD, will try to run this tests to see what happens. Your upgraded MB Air was looking pretty decent 🤔

Ответить
@major_presser9604
@major_presser9604 - 06.10.2022 06:39

I think it is because of M2 with more efficiency cores than M1 Pro (4 vs 2), for a small build the performance cores are probably not being used at all so with more efficiency cores M2 can run faster for small builds

Ответить
@piccadillypie
@piccadillypie - 06.10.2022 01:53

M2 upgrade and the MBP need to have the same RAM to be a legit comparison. Your video is entertaining, but not that helpful w/o equal spec's. Also - not sure if your docker guru has real experience, but I've had projects where I'm running up to ~30 containers locally. His statements about 5 being "a lot" are absurd for real dev's. You still get a thumbs-up, though.

Ответить
@hanes2
@hanes2 - 05.10.2022 22:20

24gb ram? seems quite odd config doesn't it? did Apple cap it on purpose to make the Pro exclusively offer 32gb?

Ответить
@deepak.chandola
@deepak.chandola - 05.10.2022 19:45

Great. More tests on M1 pro vs M2 air.

Ответить
@is-sam
@is-sam - 05.10.2022 18:09

The video I was looking for, it answered all my final questions about the M2 AIR vs M1 PRO debate, I'm going for the M2 Air :) Thank you!

Ответить
@xslvrxslwt
@xslvrxslwt - 05.10.2022 17:54

What do you think? Is 8GB enough on Mac or 16GB is the go-to?

Ответить
@lowkeygaming4716
@lowkeygaming4716 - 05.10.2022 17:36

Why the pro uses way smaller memory compared to upgraded air? Is it compressing it?

Ответить
@durianpeople
@durianpeople - 05.10.2022 17:22

finally the video I've been waiting for

Ответить
@woolfel
@woolfel - 05.10.2022 17:07

As much as I like the idea of containers, I dislike the hype around docker. Before people went crazy with docker+K8, deploying applications on the cloud was simpler. Now that every cloud provider drank the koolaid, it's gotten more painful and annoying. This is especially true of how Azure uses docker containers and the extra security BS I have to go through.

It makes it worse that K8 1.2 has officially deprecated docker. It's nice for developer and lets you setup a working environment quickly, but the extra bloat means you need a decent laptop. Anyone using an old Dell with less than 16G is in for pain and suffering. I only recommend our new devs use docker if they have MBP with 16G or Windows 10 with atleast 16G. My workstation has 64G, so docker runs fast. On older Dell XPS I've had people report "it's so slow".

Ответить
@anferneemo1764
@anferneemo1764 - 05.10.2022 16:55

Is the temperature high on the keyboard of Macbook air?

Ответить
@yzengame
@yzengame - 05.10.2022 16:49

I love your docker song that is one and only.

Ответить
@phucnguyen0110
@phucnguyen0110 - 05.10.2022 16:48

Hello, comrade Alex!

Ответить
@bython1710
@bython1710 - 05.10.2022 16:40

First, love ur vids

Ответить