Skip to main content
Glama
start.sh787 B
#!/bin/bash set -euo pipefail SB_ID="${1:-0}" # Default to sb_id=0 JAILER_BINARY="/usr/bin/jailer" JAILER_NS="jailer-$SB_ID" JAIL="/srv/jailer/firecracker/$SB_ID/root" if ! test -f "$JAIL/firecracker.conf"; then echo "Files missing from $JAIL. Has the machine configuration been completed?" else echo "Starting jailer $SB_ID..." # TODO(johnrwatson): We don't use proper cgroup isolation, we probably want this in the future "${JAILER_BINARY}" \ --cgroup-version 2 \ --id $SB_ID \ --exec-file \ /usr/bin/firecracker \ --uid 10000$SB_ID \ --gid 10000 \ --netns /var/run/netns/$JAILER_NS \ -- \ --config-file ./firecracker.conf & # note: if you forget the & above, nothing will work and you will spend hours # trying to figure out why. fi

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/systeminit/si'

If you have feedback or need assistance with the MCP directory API, please join our Discord server