instabox 0.8.38 → 0.8.39
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
|
+
71fa6e7b1df786a9519de5f77e5cdf44742da78cfe48c3a9a88f7df8c1c20ca8 instabox-darwin-amd64
|
|
2
|
+
65ad6d18ecea7b8439e8e2e355501d4e08074049facfcc7a8101f4340ba063ff instabox-darwin-arm64
|
|
3
|
+
0ef01d9fafed68b88bb304522363656f3cd85dce93c27532f152cb8c58570f52 instabox-linux-amd64
|
|
4
|
+
8f216f4c162e05afce5c39f0010ada3e4a1eedf2a84fa98df7c2be5a7caa4122 instabox-linux-arm64
|
|
5
|
+
309aa5d07c5edd0737660de90e4f798be946b75dfe2ea698e2f8932bff9956cd instabox-windows-amd64.exe
|
|
6
|
+
3448fad2908f31f6181ebfd58d7e90c4bbf027bb9a572e90343ac3354cd295d5 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
|