mxsdev / LocalSandbox

Local Azure Cloud emulator. Currently supporting Azure Service Bus.
Apache License 2.0
41 stars 0 forks source link

Cannot start Docker container #66

Open kntajus opened 1 week ago

kntajus commented 1 week ago

Tried to spin a container up using the command in the readme: docker run --name localsandbox -d -p 7329:7329 -p 5672:5672 localsandbox/localsandbox

Container logs show the following:

2024-10-07 16:42:46 [15:42:46.022] INFO: Starting API server...
2024-10-07 16:42:46 [15:42:46.180] ERROR: Error starting server
2024-10-07 16:42:46     err: {
2024-10-07 16:42:46       "type": "TypeError",
2024-10-07 16:42:46       "message": "fetch failed: unable to get local issuer certificate",
2024-10-07 16:42:46       "stack":
2024-10-07 16:42:46           TypeError: fetch failed
2024-10-07 16:42:46               at node:internal/deps/undici/undici:13178:13
2024-10-07 16:42:46               at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2024-10-07 16:42:46               at async Cg.get (/snapshot/LocalSandbox/dist/scripts/cjs/cli.js)
2024-10-07 16:42:46               at async tL (/snapshot/LocalSandbox/dist/scripts/cjs/cli.js)
2024-10-07 16:42:46               at async KL (/snapshot/LocalSandbox/dist/scripts/cjs/cli.js)
2024-10-07 16:42:46               at async t.<anonymous> (/snapshot/LocalSandbox/dist/scripts/cjs/cli.js)
2024-10-07 16:42:46           caused by: Error: unable to get local issuer certificate
2024-10-07 16:42:46               at TLSSocket.onConnectSecure (node:_tls_wrap:1685:34)
2024-10-07 16:42:46               at TLSSocket.emit (node:events:519:28)
2024-10-07 16:42:46               at TLSSocket._finishInit (node:_tls_wrap:1085:8)
2024-10-07 16:42:46               at ssl.onhandshakedone (node:_tls_wrap:871:12)
2024-10-07 16:42:46     }
linear[bot] commented 1 week ago

LOC-234 Cannot start Docker container