@solcreek/dew 0.7.36 → 0.7.37

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.
Files changed (2) hide show
  1. package/README.md +16 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -149,6 +149,22 @@ dew dew (deploy receiver)
149
149
  | python | Python projects |
150
150
  | standard | Containers, services |
151
151
 
152
+ ### Running x86_64 (amd64) containers on Apple Silicon
153
+
154
+ Add `--rosetta` to mount Apple's Rosetta translator into the guest and register
155
+ `binfmt_misc`, so amd64 binaries and containers run transparently under
156
+ translation:
157
+
158
+ ```bash
159
+ dew run --profile standard --network --rosetta -- \
160
+ nerdctl run --rm --platform linux/amd64 alpine uname -m # -> x86_64
161
+ ```
162
+
163
+ Apple Silicon only (Intel Macs have no Rosetta-for-Linux). Performance depends
164
+ on the workload's hot path: roughly 70-80% of native for ordinary compiled
165
+ code, less for interpreter-heavy or crypto/SIMD-heavy code. For peak
166
+ performance prefer a native `linux/arm64` image.
167
+
152
168
  ## Security
153
169
 
154
170
  - Hardware-VM isolation. Network off until you flip `--network`. Input validated against path traversal, control characters, and injection.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solcreek/dew",
3
- "version": "0.7.36",
3
+ "version": "0.7.37",
4
4
  "description": "Sandboxed Linux compute, agent-native and human-friendly.",
5
5
  "license": "MIT",
6
6
  "repository": {