Forum Discussion
Андрей Воронин
Aug 12, 2017Copper Contributor
Can I run WSL inside Windows Container?
Dockerfile:
FROM microsoft/windowsservercore-insider SHELL ["powershell", "-Command"] RUN Add-WindowsFeature Microsoft-Windows-Subsystem-Linux
docker build -t wsl . docker run -it wsl powershell
PS C:\> hostname 1bbc92e30a1b PS C:\> get-win PS C:\docker> docker ps -a 1bbc92e30a1b wsl "powershell" About a minute ago Exited (1073807364) 18 seconds ago heuristic_agnesi
o_0
MfG Andrey.
No RepliesBe the first to reply