-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable M1 development with docker #3990
Comments
I've been looking into this since it directly impacts my current work. I think it's possible and what's more I think I can get it working for both ARM64 and AMD64 architectures. I'll report back in a couple of days once I know more. Success criteria:
|
Updates:
Todo:
|
Looks like Docker for m1 has just gone general availability so clickhouse should be fine? https://twitter.com/Docker/status/1382731403389984769 |
Docker postgres support for M1 is now working. While there is ongoing work for making local dev more streamlined this issue resolved. Thanks everyone! |
Re-opened since Clickhouse doesn't work for M1. I'm very close to full support since I've got Clickhouse building and running via Docker. Several things to note:
I believe that full support will be available as soon as I resolve the kafka configuration issue. Anyone interested in helping? You can track the Docker Clickhouse M1 support progress in the PR #4145 Edit: |
Update:
Suggestion:
|
The main issue currently is that Kafka and Zookeeper start, but are unstable and quickly crash after startup. I spent some time on this today and am not sure how much effort it would take to shore up the images to make them stable enough to work as a Dev environment. I do think we could setup one large node with users for everyone. This would make sharing resources easy and get everyone going sooner than later. Basically put running the docked-compose stack on hold. Another alternative is setting up Kafka, ZK, and potentially clickhouse locally and natively on the m1 with no docker. This would be hard to maintain but could be a nice alternative to running everything on a remote Dev box. |
Before I go down the rabbit hole myself, I'd like to know if anyone tried running the combo of clickhouse, zookeeper and kafka as Intel x86 containers (
They do add that:
So it's possible things don't work. |
@mariusandra This was the first approach I took which didn't work. I admit I know much more now than I did then so perhaps I missed an important step. It's worth a shot but I wouldn't spend too much time with it. |
I did try running x86 containers and the JVM couldn't handle it. I also tried using ARM images but they were just as unstable. The most unstable container was Kafka as it seemed to crash the JVM randomly and then would hang. We can definitely spend more time on this later, but for now I would say we put this on the back burner until more of the build infrastructure has been setup to support these devices. |
According to the onboarding docs new hires are to buy an M1 mac as their laptop (if they go the apple route). Currently our stack doesn't fully support M1 and this has slowed down the onboarding of new hires. We should sort out the story for dev on M1.
Ideal solution:
Alternate solution:
The text was updated successfully, but these errors were encountered: