This guide gets you from zero to first secure execution in under five minutes.
- Docker installed and running
- Ignite installed (single binary)
Install Docker: https://docs.docker.com/get-docker/
curl -fsSL https://raw.githubusercontent.com/dev-dami/ignite/master/install.sh | bash
ignite --versionignite init hello-world
cd hello-worldGenerated files:
hello-world/
├── service.yaml
├── package.json
└── index.ts
ignite init refuses to overwrite existing generated files.
ignite run .ignite run . --input '{"name":"Developer"}'Input is available via process.env.IGNITE_INPUT.
ignite run . --auditAudit mode applies restrictive sandbox flags and prints a security audit summary.
ignite preflight .Preflight validates memory, dependencies, timeout, and (when image exists) image size.
ignite serve --services . --port 3000Then call:
curl -X POST http://localhost:3000/services/hello-world/execute \
-H 'Content-Type: application/json' \
-d '{"input":{"name":"Developer"}}'Start Docker Desktop or the Docker service and retry.
sudo usermod -aG docker $USER
# sign out and sign in again