Skip to content

Setting Up Unreal to Build and Run in Docker on Windows with Direct X Support

Notifications You must be signed in to change notification settings

Unreal-UX/UnrealDocker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

UnrealDocker Setting Up Unreal to Build and Compile Shaders, in Docker, on Windows

Maybe also run? TBD?

DirectXContainers

Now that you can run DirectX in a container, let's explore where that is useful

To start a container with GPU acceleration, run the following command:

  1. 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

  1. From PowerShell
    • docker build . -t winml-runner
    • docker run --isolation process --device class/5B45201D-F2F2-4F3B-85BB-30FF1F953599 winml-runner

Easy Links

Visual Studio Tools

Find dlls missing from docker image

About

Setting Up Unreal to Build and Run in Docker on Windows with Direct X Support

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published