-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
We will need an Ocre CLI for basic container management functions. Namely, uploading images to a container registry.
Example of how this could be implemented for ocre push
ocre push <container_file_location> [options]
Options:
-r, --registry <url> Registry URL (required)
-t, --tag <tag> Container tag (default: "latest")
-n, --name <name> Container name (default: inferred from filename)
-d, --description <text> Container description
-f, --force Force push even if tag exists
-q, --quiet Suppress detailed output
--no-verify Skip container validation before push
-h, --help Show help information
Examples:
ocre push myapp.ocre -r registry.example.com
ocre push myapp.ocre -r registry.example.com -t v1.0 -d "My embedded application"