Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kaelemc authored Dec 1, 2024
1 parent 314a1e5 commit 7f10acf
Showing 1 changed file with 18 additions and 8 deletions.
26 changes: 18 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,24 @@
# wsl-clab

# Steps
Ensure [WSL 2.4.4](https://github.com/microsoft/WSL/releases/tag/2.4.4) is installed.

1. Build the container
Clnoe the repo and build use the build script

```
./build.sh
```

This will place `clab.wsl` in `C:\temp`. Doubleclick to install the distribution.

- Manual build instructions are below.

To uninstall execute `wsl --unregister Containerlab` from powershell.

Enter the distribution with `wsl -d Containerlab`

# Manual steps

1. From inside a WSL distro Build the container

```bash
docker build . --tag ghcr.io/kaelemc/clab-wsl-debian
Expand Down Expand Up @@ -32,12 +48,6 @@ As of [WSL 2.4.4](https://github.com/microsoft/WSL/releases/tag/2.4.4) you can e
wsl --install --from-file clab.wsl
```

# Usage of the distro

Enter the distro with `wsl -d clabWSL`

Uninstall with `wsl --unregister clabWSL`

# Sources

https://learn.microsoft.com/en-us/windows/wsl/use-custom-distro#export-the-tar-from-a-container
Expand Down

0 comments on commit 7f10acf

Please sign in to comment.