Comments (10)
ok, thanks 👍
it worked with:
docker run --platform linux/arm64/v8 -p 8529:8529 -e ARANGO_ROOT_PASSWORD=openSesame arangodb/arangodb:3.11.2
it may be handy to add it as a note to https://www.arangodb.com/download-major/docker/ so that others on Mx don't hit the same issue.
from arangodb-docker.
Was there any investigation done into why it's choosing linux/amd64
on a linux/arm64/v8
host? Docker shouldn't do that, and I've indeed verified that Docker pulls the correct thing on a native host. 😕 Is it possible your Docker VM was running in x86 mode or something somehow? Was this on Docker Desktop? A hand-maintained VM? There's a pretty serious bug here somewhere, and I think it's one worth pulling on. 😅
from arangodb-docker.
Hi,
you need to make sure that the ARM-version of the container is used.
If it pulls x86, Rosetta is ran, which doesn't implement some cpu opcodes - hence you get SIG_ILL.
from arangodb-docker.
@tianon this seemed to be a MacOS host; It has a Rossetta x86 emulation by default. To the MacOS user it seems to be more or less opaque which binary he's running - unless its x86 and demands AVX2 - which isn't implemented in Rosettta.
So @michal-sankot would probably need to revalidate which docker etc. was in use on his machine.
from arangodb-docker.
hey, i can validate it. though i'm not strong with docker. so if you give me steps/commands to run, i happily fire them to check it.
from arangodb-docker.
i've listed defualt vars (on mac) and it sets default docker platform to linux/amd64
. so that's why it assumed platform to be amd64 while it's arm (M1 chip).
DOCKER_DEFAULT_PLATFORM=linux/amd64
from arangodb-docker.
can you file
the docker binary? is it ARM? or is it M1? or is it a fat binary?
from arangodb-docker.
it's ARM
/usr/local/bin/docker: Mach-O 64-bit executable arm64
from arangodb-docker.
😬 setting DOCKER_DEFAULT_PLATFORM
on your host in this way is very very extremely not recommended (I think it might not even be an officially documented environment variable for exactly that reason)
from arangodb-docker.
hmm, i was using intel mac before, so maybe it got carried over when migrating to m1 model 🤔
from arangodb-docker.
Related Issues (20)
- ENV options set to 0 have opposite effect
- Upgrade base image for alpine docker images
- [QUESTION] How to create database with docker-compose ?
- Folder Permission in Alpine images are not root group writeable HOT 2
- signals not handled in entrypoint
- Enabling experimental naming conventions HOT 2
- Docker image 3.8.6 ARANGO_ROOT_PASSWORD HOT 3
- ArangoDB 3.10? HOT 2
- Customize web interface appearance?
- Vulnerabilities in /usr/bin/arangodb HOT 18
- Cannot set tolerations/nodeSelector for temporary arangodb-cluster-id pod HOT 9
- Trivy findings in latest version HOT 3
- Vulnerabilities with image on DockerHub HOT 2
- ARANGO_NO_AUTH still disables auth if set to 0
- /usr/sbin/arango-init-database failed with invalid value for '--rocksdb.max-background-jobs') = 95 HOT 1
- Let service run as application user instead of root user HOT 2
- [Question] Enter docker container HOT 3
- Can't I put haproxy in front of arangodb? HOT 2
- [QUESTION] Apply database and user creation during container build
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arangodb-docker.