mirror of
https://github.com/hanzoai/runtime.git
synced 2026-10-30 18:23:13 +00:00
- Add main Dockerfile for production builds - Add Dockerfile.runtime for secure code execution - Add Dockerfile.runtime.fixed with improved configuration - Include .dockerignore for build optimization - Add integration documentation and publishing guides - Update API and CLI components for better runtime support - Enhance sandbox and container management features
37 lines
1.0 KiB
YAML
37 lines
1.0 KiB
YAML
name: runtime snapshot create
|
|
synopsis: Create a snapshot
|
|
usage: runtime snapshot create [SNAPSHOT] [flags]
|
|
options:
|
|
- name: context
|
|
shorthand: c
|
|
default_value: '[]'
|
|
usage: |
|
|
Files or directories to include in the build context (can be specified multiple times)
|
|
- name: cpu
|
|
default_value: '0'
|
|
usage: |
|
|
CPU cores that will be allocated to the underlying sandboxes (default: 1)
|
|
- name: disk
|
|
default_value: '0'
|
|
usage: |
|
|
Disk space that will be allocated to the underlying sandboxes in GB (default: 3)
|
|
- name: dockerfile
|
|
shorthand: f
|
|
usage: Path to Dockerfile to build
|
|
- name: entrypoint
|
|
shorthand: e
|
|
usage: The entrypoint command for the snapshot
|
|
- name: image
|
|
shorthand: i
|
|
usage: The image name for the snapshot
|
|
- name: memory
|
|
default_value: '0'
|
|
usage: |
|
|
Memory that will be allocated to the underlying sandboxes in GB (default: 1)
|
|
inherited_options:
|
|
- name: help
|
|
default_value: 'false'
|
|
usage: help for runtime
|
|
see_also:
|
|
- runtime snapshot - Manage Runtime snapshots
|