Because of "no matching manifest for linux/arm64/v8 in the manifest list entries" I build docker locally.
docker build --platform=linux/arm64 -t test/onvif-server:arm64 .
Result is:
Successfully built 13cd985c6ea9
Successfully tagged test/onvif-server:arm64
After this I run container with command:
docker container run test/onvif-server:arm64
but I receive the errors:
/app/src/config-tools.js:16
exit(-1);
^
ReferenceError: exit is not defined
at readConfig (/app/src/config-tools.js:16:13)
at readAndCheckConfig (/app/src/config-tools.js:40:18)
at Object.<anonymous> (/app/main.js:27:18)
at Module._compile (node:internal/modules/cjs/loader:1706:14)
at Object..js (node:internal/modules/cjs/loader:1839:10)
at Module.load (node:internal/modules/cjs/loader:1441:32)
at Function._load (node:internal/modules/cjs/loader:1263:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:237:24)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5)
Node.js v22.19.0
what I do wrong ?
Because of "no matching manifest for linux/arm64/v8 in the manifest list entries" I build docker locally.
docker build --platform=linux/arm64 -t test/onvif-server:arm64 .
Result is:
Successfully built 13cd985c6ea9
Successfully tagged test/onvif-server:arm64
After this I run container with command:
docker container run test/onvif-server:arm64
but I receive the errors:
what I do wrong ?