We need to run Exasol locally on M1 machines to support the local testing. However docker image does not start on Exasol.
Docker image used - https://github.com/exasol/docker-db/
Do we have any other workaround for this?
Tried using --platform flag already. Tried building the original dockerfile using buildx on mac, but that also throws error.
The error -
[+] Building 3.1s (4/4) FINISHED
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 32B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 34B 0.0s
=> ERROR [internal] load metadata for docker.io/library/centos:7.5.1804 3.0s
=> [auth] library/centos:pull token for registry-1.docker.io 0.0s
------
> [internal] load metadata for docker.io/library/centos:7.5.1804:
------
error: failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to create LLB definition: no match for platform in manifest sha256:7a45e4a1efbaafc1d9aa89925b6fdb33288a96d35ea0581412316e2f0ad3720a: not found
Exasol does not officially support running its Docker image on Apple's M1 architecture. The error message shows that the system is not able to find a platform match for the image. As of now the Exasol docker image you're trying to run is built for x86_64 architecture.
An open issue is already registered here.
You can try running in a VMware or you need an Intel system to run.