Skip to content

Instantly share code, notes, and snippets.

@s1037989
Last active April 11, 2022 11:16
Show Gist options
  • Save s1037989/0be36284ee8568f796d210f12c8ecf07 to your computer and use it in GitHub Desktop.
Save s1037989/0be36284ee8568f796d210f12c8ecf07 to your computer and use it in GitHub Desktop.
wsl2
https://duckduckgo.com/?q=error+response+from+daemon+createcomputesystem+is+not+supported&ia=web
https://download.docker.com/win/static/stable/x86_64/
https://blog.carlesmateo.com/2022/02/14/using-docker-in-windows-10-without-windows-desktop-with-docker-engine-and-without-wsl/
https://docs.microsoft.com/en-us/virtualization/windowscontainers/manage-docker/manage-windows-dockerfile
https://dev.to/_nicolas_louis_/how-to-run-docker-on-windows-without-docker-desktop-hik
https://github.com/microsoft/dotnet-framework-docker/issues/660
https://duckduckgo.com/?q=firewalld+is+not+running&ia=web
https://duckduckgo.com/?q=firewall-cmd+failed+to+connect+to+socket&ia=web
https://github.com/docker/for-linux/issues/1105
https://simplernerd.com/wsl2-uncompressed/
https://docs.microsoft.com/en-us/windows/wsl/install-manual#step-4---download-the-linux-kernel-update-package
https://www.bytetips.com/how-to-fix-wsl-2-requires-an-update-to-its-kernel-component/
https://cloudbytes.dev/snippets/how-to-install-multiple-instances-of-ubuntu-in-wsl2
https://dev.to/felipecrs/simply-run-docker-on-wsl2-3o8
https://www.microsoft.com/en-us/p/windows-terminal/9n0dx20hk701?activetab=pivot:overviewtab
https://www.omgubuntu.co.uk/how-to-install-wsl2-on-windows-10
https://docs.docker.com/engine/install/binaries/#install-server-and-client-binaries-on-windows
https://askubuntu.com/questions/1295112/failed-to-connect-to-bus
https://cloud-images.ubuntu.com/releases/21.10/
https://duckduckgo.com/?q=the+requested+operation+could+not+be+completed+due+to+a+virtual+disk+size+limitation
# uname -a
Linux DESKTOP-38R6KBU 5.10.16.3-microsoft-standard-WSL2 #1 SMP Fri Apr 2 22:23:49 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
# docker -H 172.22.49.158 run -v /mnt/c:/mnt/c -it --rm busybox
# /mnt/c/Windows/System32/ipconfig.exe
# uname -a
Linux d765546ec2e9 5.10.16.3-microsoft-standard-WSL2 #1 SMP Fri Apr 2 22:23:49 UTC 2021 x86_64 GNU/Linux
> .\dockerd -H 192.168.0.174
time="2022-04-10T08:55:34.077859800-05:00" level=info msg="Starting up"
time="2022-04-10T08:55:51.217759900-05:00" level=info msg="Daemon has completed initialization"
time="2022-04-10T08:55:51.253107700-05:00" level=info msg="API listen on 192.168.0.174:2375"
> cat .\Dockerfile
FROM mcr.microsoft.com/windows/nanoserver:20H2
CMD [ "cmd" ]
> ..\docker -H tcp://192.168.0.174 build -t bla .
Sending build context to Docker daemon 2.048kB
Step 1/2 : FROM mcr.microsoft.com/windows/nanoserver:20H2
20H2: Pulling from windows/nanoserver
61d2c68cc3b1: Pull complete
Digest: sha256:7caffd8a356a2539b71003ce21bf88bd7f68f56522b030e0183dd8ed36d15217
Status: Downloaded newer image for mcr.microsoft.com/windows/nanoserver:20H2
---> 61f48fe609ba
Step 2/2 : CMD [ "cmd" ]
---> Running in c76c3b37a09c
Removing intermediate container c76c3b37a09c
---> a8844a51b029
Successfully built a8844a51b029
Successfully tagged bla:latest
> ..\docker -H tcp://192.168.0.174 run --rm a8844a51b029
docker: Error response from daemon: hcsshim::CreateComputeSystem 7d9baf47cee486da70b3dbd37f733ec23d3ceff6c21c18ff963d646307f3f1f0: The request is not supported.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment