dimitri / pgloader

Migrate to PostgreSQL in a single command!
http://pgloader.io
Other
5.45k stars 548 forks source link

docker image error The integrity of this image is possibly compromised #1513

Open signmeuptwice opened 1 year ago

signmeuptwice commented 1 year ago

using command on mac osx

docker run --rm -it --network=app_network dimitri/pgloader:latest pgloader mysql://app:pass@mariadb/mr_dev postgresql://app:pass@database/mr_dev

gets

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
2023-07-26T19:30:23.195999Z LOG pgloader version "3.6.7~devel"
2023-07-26T19:30:23.217999Z LOG Data errors in '/tmp/pgloader/'
2023-07-26T19:30:23.551000Z LOG Migrating from #<MYSQL-CONNECTION mysql://app@mariadb:3306/mr_dev {1007337B13}>
2023-07-26T19:30:23.554000Z LOG Migrating into #<PGSQL-CONNECTION pgsql://app_ssl@database:5432/mr_dev {10075541F3}>
CORRUPTION WARNING in SBCL pid 1 tid 1:
Memory fault at 0x1050100110 (pc=0x526f2630 [code 0x526f25b0+0x80 ID 0xd7f], fp=0x4001e46870, sp=0x4001e46870) tid 1
The integrity of this image is possibly compromised.
Continuing with fingers crossed.
CORRUPTION WARNING in SBCL pid 1 tid 1:
Memory fault at 0x1050100110 (pc=0x526f2e70 [code 0x526f2df0+0x80 ID 0xd7e], fp=0x4001e46128, sp=0x4001e46128) tid 1
The integrity of this image is possibly compromised.
Continuing with fingers crossed.
fatal error encountered in SBCL pid 1 tid 1:
maximum interrupt nesting depth (8) exceeded

Welcome to LDB, a low-level debugger for the Lisp runtime environment.
ldb> exit
Argh! lossage_handler() returned, total confusion..
svantevonerichsen6906 commented 1 year ago

You will have to build an image for that architecture (M1 Mac).

There are ways to build multi-architecture images: https://docs.docker.com/build/building/multi-platform/