UnrealDocker Setting Up Unreal to Build and Compile Shaders, in Docker, on Windows
Maybe also run? TBD?
Now that you can run DirectX in a container, let's explore where that is useful
- docker run --isolation process --device class/5B45201D-F2F2-4F3B-85BB-30FF1F953599 mcr.microsoft.com/windows:1809
- This feature is available in Docker Desktop, version 2.1 and Docker Engine - Enterprise, version 19.03 or later.
- GPU acceleration for workloads in Hyper-V-isolated Windows containers is not currently supported.
- GPU acceleration for workloads in Hyper-V-isolated Linux containers is not currently supported.
for more info see https://github.com/MicrosoftDocs/Virtualization-Documentation/tree/master/windows-container-samples/directx
- From PowerShell
- docker build . -t winml-runner
- docker run --isolation process --device class/5B45201D-F2F2-4F3B-85BB-30FF1F953599 winml-runner
- https://hub.docker.com/_/microsoft-windows?ref=login&tab=description
-
docker pull mcr.microsoft.com/windows:1903
-
docker pull mcr.microsoft.com/windows:1909
-
- https://hub.docker.com/editions/community/docker-ce-desktop-windows/