tg123/oci-to-wsl
Import an OCI container image into a Windows Subsystem for Linux (WSL) distribution.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| image | OCI image reference to import, e.g. ubuntu:22.04 or myacr.azurecr.io/myimage:latest. Ignored when "profile" is set. | no | — |
| name | WSL distribution name to create. Required unless "profile" sets it or "save-tar" is used. | no | — |
| profile | Path to a YAML profile file (or "-" for stdin, or an http(s):// URL) describing the image, files, users, init_cmds, etc. Overrides "image"/"name"/"dir" when set. | no | — |
| dir | Directory to store the WSL virtual disk (default: .\<name>). | no | — |
| save-tar | Write the exported rootfs tar to this path and skip "wsl --import". | no | — |
| loglevel | Logging verbosity: debug, info, warn, or error. | no | info |
| version | Release of oci-to-wsl to download, e.g. v1.2.3. Defaults to "latest". | no | latest |
Outputs
| name | description |
|---|---|
| binary | Path to the oci-to-wsl.exe binary that was downloaded and used. |