@tomasko/serbox 0.1.2 → 0.1.3

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 CHANGED
@@ -14,7 +14,9 @@ GitHub Releases into `~/.cache/serbox`, verifies the published SHA-256, and
14
14
  execs it. There is no install script, so it works under `npm ci
15
15
  --ignore-scripts`, pnpm and `npx`.
16
16
 
17
- Requirements: Linux with a reachable Docker daemon. `serbox doctor` checks it.
17
+ Requirements: Linux with a reachable Docker or Podman engine. `serbox doctor`
18
+ checks it. Set `SERBOX_RUNTIME=podman` to use Podman; it is detected
19
+ automatically when Docker is absent.
18
20
 
19
21
  `serbox` needs no account, API key or hosted service: it creates isolated
20
22
  Docker boxes on the machine it runs on and gives you `create`, `exec`, `ssh`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tomasko/serbox",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Linux boxes for agents, on your own server: create, exec, copy, snapshot and forward ports into isolated Docker boxes, with no account and no API key.",
5
5
  "license": "Apache-2.0",
6
6
  "bin": {
@@ -7,10 +7,12 @@ metadata:
7
7
 
8
8
  # serbox CLI
9
9
 
10
- `serbox` runs disposable Linux boxes as Docker containers on the machine where it
11
- is installed. There is no account and no hosted service: `serbox` talks to the
12
- local Docker daemon, keeps its state under `~/.serbox` (override with
13
- `SERBOX_HOME`), and works the same on any Linux server.
10
+ `serbox` runs disposable Linux boxes as containers on the machine where it is
11
+ installed. There is no account and no hosted service: `serbox` talks to the
12
+ local Docker or Podman engine, keeps its state under `~/.serbox` (override with
13
+ `SERBOX_HOME`), and works the same on any Linux server. Set
14
+ `SERBOX_RUNTIME=podman` to use Podman; otherwise Docker is preferred and Podman
15
+ is the fallback.
14
16
 
15
17
  A box has a writable root filesystem and a persistent `/data` disk. `HOME` is
16
18
  `/data/home`, so files under `/data` survive pause, resume, snapshot and fork.
@@ -35,7 +37,7 @@ serbox create --name work --template ubuntu --publish 3000 --secrets TOKEN
35
37
  serbox ls # state, template, age
36
38
  serbox get work --json # one box as JSON
37
39
  serbox templates # known image aliases
38
- serbox doctor # Docker and state checks
40
+ serbox doctor # runtime and state checks
39
41
  ```
40
42
 
41
43
  `create` waits until the box accepts commands unless `--no-wait` is given.