-
Notifications
You must be signed in to change notification settings - Fork 2.3k
docker-compose up fails on Mac M1: no matching manifest for linux/arm64/v8 in the manifest list entries #2975
Comments
@rickfish Looks like docker supported elasticsearch images for M1 mac are only available from v7.10.2 Looks like the options are -
|
Oh, ok. thanks for looking into it. |
I tried and succeeded by adding a |
@amimimor That's great. Would you be willing to submit a PR with the change? This would be really beneficial to the community |
@amimimor that's great. Thanks. I will try it on my machine later this week. |
@rickfish thanks, but admittedly, I haven't yet managed to boot the entire docker-compose setup on my M1. I now have issues with conductor-ui missing a binary. Sometimes gradle is hanging, etc. It is quite an awful experience. Hopefully I'll manage to workaround this and then create a PR |
Is upgrading to ES7 on the roadmap? I tried running with the ES7 Arm64 image and ran into type mapping errors due to a breaking change (in Elasticsearch 7). |
I'm getting below error with the same setup and changes suggested exception: Security must be explicitly enabled when using a [basic] license. Enable security by setting [xpack.security.enabled] to [true] in the elasticsearch.yml file and restart the node. (500) |
Would be awesome if someone publish this docker image for M1. |
I also get the same error. I'm on Apple M2 pro chip. |
added the platform line to docker-compose.yaml
error message now.
|
Tips at https://stackoverflow.com/questions/68877644/how-to-run-elasticsearch-6-on-an-apple-silicon-mac didn't work for me. however I didn't try |
TL-DR; Basically conductor won't work on Apple M1/M2 chips. You have to run it on a Windows machine. |
I was able to launch Conductor from Docker Compose using the webhippie/elasticsearch:6.8 image. The only adjustment I needed to make was to pass the xpack parameter using a different environment variable, ELASTICSEARCH_XPACK_SECURITY_ENABLED=false. |
Can you share your compose yaml |
Literally, it's just two lines: elasticsearch: For more details, please see here: |
I confirm, this does the trick and elastisearch starts just fine :) I still struggle to run full compose due to redis socket timeout but its a separate issue |
Describe the bug
On a Mac M1 (Apple chip), docker-compose build runs fine with this message at the beginning of the build:
elasticsearch uses an image, skipping
then when I try docker-compose up I get the following error:
➜ docker git:(main) ✗ docker-compose up
Pulling elasticsearch (elasticsearch:6.8.15)...
6.8.15: Pulling from library/elasticsearch
ERROR: no matching manifest for linux/arm64/v8 in the manifest list entries
Details
Conductor version: 3.7.1
Persistence implementation: default for docker-compose.yml
Queue implementation: default for docker-compose.yml
Workflow definition:
Task definition:
Event handler definition:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Either build the elasticsearch container or be able to run the containers
Additional context
I tried to add the :osx-x86_64 in the grpc/build.gradle as instructed. When I do, a normal ./gradlew build runs fine but the docker-compose build fails with an 'Unterminated quoted string' error so I removed it. Then I see the behavior in this issue.
The text was updated successfully, but these errors were encountered: