Skip to content
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

Unable to run it on Mac M1 c #60

Open
arpanmerkle opened this issue Jul 5, 2023 · 2 comments
Open

Unable to run it on Mac M1 c #60

arpanmerkle opened this issue Jul 5, 2023 · 2 comments

Comments

@arpanmerkle
Copy link

Subject of the issue

Unable to run it on Mac M1 c

Your environment

Docker Desktop 4.20.1 (110738)

Steps to reproduce

Ran it for the first time on Mac pro with M1 chip

Expected behaviour

Actual behaviour

@AchimKre
Copy link

AchimKre commented Jul 6, 2023

I have the same problem.

`docker build -t streaming-connect .
[+] Building 2.3s (4/4) FINISHED
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 2.58kB 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 700B 0.0s
=> ERROR [internal] load metadata for docker.io/adoptopenjdk/openjdk11:jre-11.0.11_9-alpine 2.3s
=> [auth] adoptopenjdk/openjdk11:pull token for registry-1.docker.io 0.0s

[internal] load metadata for docker.io/adoptopenjdk/openjdk11:jre-11.0.11_9-alpine:


Dockerfile:13

11 | ##
12 |
13 | >>> FROM adoptopenjdk/openjdk11:jre-11.0.11_9-alpine
14 |
15 | ENV SCALA_VERSION="2.12" \

ERROR: failed to solve: adoptopenjdk/openjdk11:jre-11.0.11_9-alpine: no match for platform in manifest sha256:ed7ea16ca04b09cb381a094dff07c5d5ce5f0ead97540fcfc4b67c054e25e217: not found`

docker image build with parameter --platform linux/amd64 works, but docker-compose up seems not work correctly in this emulation mode (services kafka-connect-1, kafka-rest-proxy-1 and kafka1-1 are exited right after the startup). It works with my old MacBook with Intel processor.

@OneCricketeer
Copy link
Contributor

OneCricketeer commented Aug 31, 2023

This isn't an issue with the Connector; running connect-standaone / connect-distributed directly on your Mac with this connector should work.

Otherwise, you can switch the Java Docker base image to eclipse-temurin:11-jre, which replaced adoptopenjdk images. Done in #56

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants