Adding fonts on containers docker Script to register fonts inside a windows container in docker How to execute this code? Copy script file to container Open command prompt inside windows container, and run command: powershell.exe -executionpolicy Bypass -nologo -noninteractive -file .\Add-Fonts.ps1