Skip to content
Vision EngineDOCUMENTATION
RUN & OPERATE/Build and operate containers

Build and operate containers

Use a single Compose entry point for the installation. Build everything initially, then update individual services when appropriate.

Run the whole deployment

Build creates images; up creates or replaces containers and starts them. Detached mode returns your terminal while services continue running.

Terminal
docker compose -f config/.generated/pipeline.compose.yaml up --build -d --remove-orphans
docker compose -f config/.generated/pipeline.compose.yaml ps

Build one service at a time

List generated names first. Start prerequisite services before using --no-deps. The example updates inference only, without rebuilding every image.

Terminal
docker compose -f config/.generated/pipeline.compose.yaml config --services
docker compose -f config/.generated/pipeline.compose.yaml up --build -d --no-deps visionengine-inference-service-people

Use the Linux operator menu

The menu provides generation, build/deploy, start/stop, restart, status, live logs, read-only diagnostics, and Docker-at-boot setup. It can target all services or one generated service name.

Bash
bash scripts/service.sh

# Direct commands
bash scripts/service.sh diagnose
bash scripts/service.sh deploy

Know which name you are changing

Compose project names come from device.environment. Camera and model IDs identify instances; image names identify shared service software.

KindExample
Projectvisionengine-development-edge
Imagevisionengine-inference:local
Servicevisionengine-inference-service-people
Container<project>-<service>-1

Stop, restart, and recover after reboot

Generated containers use unless-stopped. Enable Docker at boot to bring eligible containers back after a power cycle. Manually stopped containers remain stopped; an unhealthy status alone does not restart a running process.

Terminal · Linux systemctl commands
docker compose -f config/.generated/pipeline.compose.yaml stop
docker compose -f config/.generated/pipeline.compose.yaml start
sudo systemctl enable --now docker
systemctl is-active docker
systemctl is-enabled docker
Vision Engine · Configuration-driven services, branch-focused insights.