Skip to content

Cannot start Docker container #66

@kntajus

Description

@kntajus

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     }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions