Skip to content

Error in running docker container for control-plane #1061

@kdeshpa16

Description

@kdeshpa16

I followed tutorial from this link -
https://docs.agntcy.org/messaging/slim-howto/#installation

However I keep getting following error while trying to run the docker container for control plane -

2025/12/20 12:45:37 /ctx/control-plane/control-plane/internal/db/sqlite.go:67
[error] failed to initialize database, got error unable to open database file: out of memory (14)
2025-12-20T12:45:37Z FTL failed to initialize database service: failed to connect to database: unable to open database file: out of memory (14) (path: /db/controlplane.db)
r

Below are the commands I executed:

docker pull ghcr.io/agntcy/slim:latest

cat << EOF > ./config.yaml
tracing:
log_level: info
display_thread_names: true
display_thread_ids: true

runtime:
n_cores: 0
thread_name: "slim-data-plane"
drain_timeout: 10s

services:
slim/0:
dataplane:
servers:
- endpoint: "0.0.0.0:46357"
tls:
insecure: true

  clients: []

EOF

docker run -it
-v ./config.yaml:/config.yaml -p 46357:46357
ghcr.io/agntcy/slim:latest /slim --config /config.yaml

docker run -d
--name slim-agent
-v ./config.yaml:/config.yaml
-p 46357:46357
ghcr.io/agntcy/slim:latest /slim --config /config.yaml

docker pull ghcr.io/agntcy/slim/control-plane:latest

cat << EOF > ./slim-control-plane.yaml
northbound:
httpHost: 0.0.0.0
httpPort: 50051
logging:
level: INFO

southbound:
httpHost: 0.0.0.0
httpPort: 50052
logging:
level: INFO

reconciler:
maxRequeues: 15
maxNumOfParallelReconciles: 1000

logging:
level: INFO

database:
filePath: controlplane.db
EOF

docker run -it
-v ./slim-control-plane.yaml:/config.yaml -v .:/db
-p 50051:50051 -p 50052:50052
ghcr.io/agntcy/slim/control-plane:latest
-config /config.yaml

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions