Search notes:

wslc.exe

wslc.exe enables management and interaction with WSL containers from the command line. It can be used to build, run and deploy Linux containers on Windows.
WSLC is the Windows Subsystem for Linux Container CLI tool.
C:\> wslc run --rm grycap/cowsay /usr/games/cowsay "The cow says moo"
Image 'grycap/cowsay' not found, pulling
latest: Pulling from grycap/cowsay
b6f892c0043b: Pull complete
55010f332b04: Pull complete
2955fb827c94: Pull complete
3deef3fcbd30: Pull complete
cf9722e506aa: Pull complete
d6e911d60d73: Pull complete
Digest: sha256:fad516b39e3a587f33ce3dbbb1e646073ef35e0b696bcf9afb1a3e399ce2ab0b
Status: Downloaded newer image for grycap/cowsay:latest
 __________________
< The cow says moo >
 ------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||
C:\> wslc run --rm --gpus all ubuntu bash -c 'export PATH=$PATH:/user/lib/wsl/lib; nvidia-smi'

See also

container.exe is an alias for wslc.exe.
C:\Program Files\WSL

Links

WSL containers is now generally available

Index