runcloud 0.1.126 → 0.1.127
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/commands/sandbox.js +3 -3
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/runcloud-0.1.127.tgz +0 -0
- package/runcloud-0.1.126.tgz +0 -0
package/README.md
CHANGED
|
@@ -298,8 +298,8 @@ runcloud image refresh python:3.12-slim # re-pin the tag to its current u
|
|
|
298
298
|
runcloud sandbox create --image python:3.12-slim
|
|
299
299
|
```
|
|
300
300
|
|
|
301
|
-
Built in: `runcloud/agent-base` (the default
|
|
302
|
-
`runcloud/
|
|
301
|
+
Built in: `runcloud/agent-base` (the default, including with `--expose`),
|
|
302
|
+
`runcloud/desktop`, and `newly/postgres`.
|
|
303
303
|
|
|
304
304
|
## Demos
|
|
305
305
|
|
package/dist/commands/sandbox.js
CHANGED
|
@@ -314,7 +314,7 @@ export function registerSandbox(program) {
|
|
|
314
314
|
withOutput(sandbox
|
|
315
315
|
.command('create')
|
|
316
316
|
.description('Spawn a microVM sandbox')
|
|
317
|
-
.option('--image <ref>', 'base image (default runcloud/agent-base
|
|
317
|
+
.option('--image <ref>', 'base image (default runcloud/agent-base)')
|
|
318
318
|
.option('--region <region>', 'placement region')
|
|
319
319
|
.option('--name <name>', 'human-readable name; with --expose, the hostname prefix <name>-box.run.cloud')
|
|
320
320
|
.option('--org <id>', 'billing and ownership organization')
|
|
@@ -339,7 +339,7 @@ export function registerSandbox(program) {
|
|
|
339
339
|
throw new Error('--persistent and --expose keep the sandbox running; drop the non-zero --idle-pause');
|
|
340
340
|
}
|
|
341
341
|
const body = {
|
|
342
|
-
image: opts.image ??
|
|
342
|
+
image: opts.image ?? 'runcloud/agent-base',
|
|
343
343
|
};
|
|
344
344
|
if (opts.name)
|
|
345
345
|
body.name = opts.name;
|
|
@@ -810,7 +810,7 @@ export function registerSandbox(program) {
|
|
|
810
810
|
.argument('<name>', 'hostname prefix: <name>-box.run.cloud')
|
|
811
811
|
.option('--sandbox <id>', 'attach an existing sandbox created with --idle-pause 0')
|
|
812
812
|
.option('--port <port>', 'guest port to publish', parsePort, 3000)
|
|
813
|
-
.option('--image <ref>', 'base image for a new sandbox
|
|
813
|
+
.option('--image <ref>', 'base image for a new sandbox', 'runcloud/agent-base')
|
|
814
814
|
.option('--region <region>', 'placement region for a new sandbox')
|
|
815
815
|
.option('--org <id>', 'billing and ownership organization for a new sandbox')
|
|
816
816
|
.option('--cpu <cores>', 'vCPU allocation for a new box', parseCpuCores, DEFAULT_BOX_CPU_CORES)
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const CLI_VERSION = '0.1.
|
|
1
|
+
export const CLI_VERSION = '0.1.127';
|
package/package.json
CHANGED
|
Binary file
|
package/runcloud-0.1.126.tgz
DELETED
|
Binary file
|