From: Ardis Lu Date: Sun, 9 Aug 2026 07:23:00 +0000 (-0700) Subject: Add `wslc` as an alternate container runner X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=c08000a17c99b6cb03027c6e629e5d023d627cb9;p=seed-phrase-transposer Add `wslc` as an alternate container runner --- diff --git a/README.md b/README.md index 18bf04c..be5258a 100644 --- 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 .