]> git.ardis.lu - seed-phrase-transposer/commitdiff
Add `wslc` as an alternate container runner
authorArdis Lu <ardisglu@gmail.com>
Sun, 9 Aug 2026 07:23:00 +0000 (00:23 -0700)
committerArdis Lu <ardisglu@gmail.com>
Sun, 9 Aug 2026 07:23:00 +0000 (00:23 -0700)
README.md

index 18bf04c1e9b62aedf70e262da2c69f64cdf3d698..be5258af5a3d73e5b481692d4ff7bc6a5fa490bc 100644 (file)
--- a/README.md
+++ b/README.md
@@ -109,11 +109,29 @@ deno test --lock
 `main.ts` does not have any dependencies, so `deno.lock` has no effect on the
 main CLI.
 
-## Docker container
+## Container
 
-For additional security, you can run this CLI within a Docker container.
+For additional security, you can run this CLI within a container.
 
-1. Build the Docker image using the provided `Dockerfile`:
+### Using WSL container
+
+This section is referring to [`wslc.exe`](https://devblogs.microsoft.com/commandline/wsl-container-is-now-available-for-public-preview/), not running Docker within WSL.
+
+1. Build the image using the provided `Dockerfile`:
+
+```
+wslc build -t spt .
+```
+
+2. Create a new container and run the CLI:
+
+```
+wslc run -it --rm spt
+```
+
+### Using Docker
+
+1. Build the image using the provided `Dockerfile`:
 
 ```
 docker build -t spt .
This page took 0.038227 seconds and 4 git commands to generate.