Syntax
Commands
| Command | Description |
|---|---|
add | Upload a binary to a Lager Box |
list | List custom binaries on a Lager Box |
remove | Remove a binary from a Lager Box |
Command Reference
add
Upload a binary file to the Lager Box.
BINARY_PATH- Local path to the binary file
--box BOX- Lagerbox name or IP address--name NAME- Name for the binary on Lager Box (defaults to filename)--yes- Skip confirmation prompt
list
List all custom binaries on a Lager Box.
remove
Remove a binary from the Lager Box.
BINARY_NAME- Name of the binary to remove
--box BOX- Lagerbox name or IP address--yes- Skip confirmation prompt
Storage Locations
Binaries are stored in:| Location | Path |
|---|---|
| Host (Lager Box) | /home/lagerdata/third_party/customer-binaries/ |
| Container | /home/www-data/customer-binaries/ |
Using Binaries in Python Scripts
Once uploaded, binaries can be called from Python scripts running on the Lager Box:Adding to PATH (Optional)
To call binaries without the full path, modify the Lager Box Dockerfile:Examples
Use Cases
Device Communication Tools
Upload vendor-specific tools for device interaction:Firmware Tools
Upload custom firmware manipulation tools:Test Utilities
Upload test-specific utilities:Notes
- Binaries must be Linux x86_64 compatible
- Files are automatically made executable
- Container restart is not required (volume mount)
- File sizes are displayed in human-readable format
- Use
--yesto skip confirmation in scripts

