instabox 0.8.38 → 0.8.40
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/cli/SHA256SUMS +6 -6
- package/cli/instabox-darwin-amd64 +0 -0
- package/cli/instabox-darwin-arm64 +0 -0
- package/cli/instabox-linux-amd64 +0 -0
- package/cli/instabox-linux-arm64 +0 -0
- package/cli/instabox-windows-amd64.exe +0 -0
- package/cli/instabox-windows-arm64.exe +0 -0
- package/package.json +1 -1
- package/skills/instabox-snapshots/SKILL.md +11 -1
package/cli/SHA256SUMS
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
4ac8957ca170a605025f3506e6ddc2edce2df67230f9d7b9d06b315ab837dc22 instabox-darwin-amd64
|
|
2
|
+
cdff54464dd57a5b21b64bef08a791fb16bcab8ac0076462aa87c9399bd540af instabox-darwin-arm64
|
|
3
|
+
da930996e671d53ac63dbf3f7f5c8303083deb2eea5c50f2a46a9a42b3ca3383 instabox-linux-amd64
|
|
4
|
+
e10bb94c0a800824560856eebf0abed30885f00e9cfa6518804cba7c52ec2bc8 instabox-linux-arm64
|
|
5
|
+
cf22c363a9cce8928d9bcc42de52472aa8dca237ad3b67cdefc58be894333d38 instabox-windows-amd64.exe
|
|
6
|
+
79f74cd8f1947f17e3ef03a23c0ae66a2bffd6a38480805d936f26002922b10c instabox-windows-arm64.exe
|
|
Binary file
|
|
Binary file
|
package/cli/instabox-linux-amd64
CHANGED
|
Binary file
|
package/cli/instabox-linux-arm64
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: instabox-snapshots
|
|
3
|
-
description: Use when the user wants to save an instabox box's state and load it later — "save a snapshot", "checkpoint this box", "restore/load from a snapshot", "start a new box from my setup", "clone this box". Covers instabox snapshot save/ls/files/rm, create --snapshot and fork.
|
|
3
|
+
description: Use when the user wants to save an instabox box's state and load it later — "save a snapshot", "checkpoint this box", "restore/load from a snapshot", "start a new box from my setup", "clone this box", "a box from my Docker image". Covers instabox snapshot save/import/ls/files/rm, create --snapshot and fork.
|
|
4
4
|
metadata:
|
|
5
5
|
installed-by: instabox
|
|
6
6
|
---
|
|
@@ -65,6 +65,16 @@ instabox create --name work2 --snapshot work-copy --no-vault --secrets none
|
|
|
65
65
|
|
|
66
66
|
To give the copy API credentials, name them with `--secrets NAME,NAME`. Placeholders copied from the source box do not work for the new one. New selections do not erase credentials that apps or people already wrote into files on the copied disks; review those before sharing the snapshot or the box.
|
|
67
67
|
|
|
68
|
+
## A box from a Docker/OCI image
|
|
69
|
+
|
|
70
|
+
```sh
|
|
71
|
+
instabox snapshot import python:3.12 --name py312 # a few minutes: pulls, lays the image over a box, reboots it to check, saves
|
|
72
|
+
instabox create --name dev --snapshot py312
|
|
73
|
+
instabox exec dev -- python3 --version # the image's python
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
The box is a normal instabox box (systemd, sshd, sudo, the user, `/data`) with the image's files, `ENV` and users on top; the image's `ENTRYPOINT`/`CMD` runs as `instabox-image.service` (`--no-entrypoint` to skip; `journalctl -u instabox-image.service` for its output). Images must be `linux/amd64`. Private registries: `--registry-username U` with `INSTABOX_REGISTRY_PASSWORD` set or `--registry-password-stdin`. A locally built image must be pushed to a registry first (`ghcr.io`, or `ttl.sh` for a one-off). `--json` gives `{snapshot, image, digest, os, service, verified, ...}`; `--keep-builder` keeps the throwaway box for a look when something is off. Details and limits: `instabox help snapshot import`.
|
|
77
|
+
|
|
68
78
|
## Clean up
|
|
69
79
|
|
|
70
80
|
```sh
|