You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I have a problem installing with Windows Container. I have a file called "InstallFonts.cmd" and when I execute it, these 2 lines would throw an error message.
The source files could not be found.
Use the "Source" option to specify the location of the files that are required to restore the feature. For more information on specifying a source location, see http://go.microsoft.com/fwlink/?LinkId=243077.
To Reproduce
Steps to reproduce the behaviour:
My powershell script (I have omitted some information...)
docker run --entrypoint C:\DockerDeployment\Common\InstallFonts.cmd
Configuration:
Windows 11 as a host machine.
Base Image : Windows Server 2022
Container Engine : Docker
Docker Version : 27.3.1
Additional context
Is there any alternative way of installing these fonts, perhaps a file I can execute within the container?
ISO is huge and wouldn't be ideal for pipelines to be downloading this in every build.
The text was updated successfully, but these errors were encountered:
Thank you for creating an Issue. Please note that GitHub is not an official channel for Microsoft support requests. To create an official support request, please open a ticket here. Microsoft and the GitHub Community strive to provide a best effort in answering questions and supporting Issues on GitHub.
Describe the bug
I have a problem installing with Windows Container. I have a file called "InstallFonts.cmd" and when I execute it, these 2 lines would throw an error message.
dism /online /enable-feature /featurename:ServerCoreFonts-NonCritical-Fonts-UAPFonts /Source:C:\WindowsSource\ /LimitAccess
dism /online /enable-feature /featurename:ServerCoreFonts-NonCritical-Fonts-Support /Source:C:\WindowsSource\ /LimitAccess
Error Message:
Error: 0x800f081f
The source files could not be found.
Use the "Source" option to specify the location of the files that are required to restore the feature. For more information on specifying a source location, see http://go.microsoft.com/fwlink/?LinkId=243077.
To Reproduce
Steps to reproduce the behaviour:
My powershell script (I have omitted some information...)
docker run --entrypoint C:\DockerDeployment\Common\InstallFonts.cmd
File contents
dism /online /enable-feature /featurename:ServerCoreFonts-NonCritical-Fonts-MinConsoleFonts /Source:C:\WindowsSource\ /LimitAccess
dism /online /enable-feature /featurename:ServerCoreFonts-NonCritical-Fonts-BitmapFonts /Source:C:\WindowsSource\ /LimitAccess
dism /online /enable-feature /featurename:ServerCoreFonts-NonCritical-Fonts-TrueType /Source:C:\WindowsSource\ /LimitAccess
dism /online /enable-feature /featurename:ServerCoreFonts-NonCritical-Fonts-UAPFonts /Source:C:\WindowsSource\ /LimitAccess
dism /online /enable-feature /featurename:ServerCoreFonts-NonCritical-Fonts-Support /Source:C:\WindowsSource\ /LimitAccess
Expected behaviour
Results as below for all five font installation.
Deployment Image Servicing and Management tool
Version: 10.0.20348.681
Image Version: 10.0.20348.2340
Enabling feature(s)
[ 0.1% ]
[ 1.1% ]
[====== 10.8% ]
[======= 12.5% ]
[======== 14.1% ]
[========= 15.8% ]
[========== 17.5% ]
[=========== 19.1% ]
[============ 20.8% ]
[============= 22.5% ]
[============= 24.1% ]
[============== 25.8% ]
[=============== 27.5% ]
[================ 29.1% ]
[================= 30.2% ]
[================== 31.4% ]
[================== 32.5% ]
[==========================100.0%==========================]
The operation completed successfully.
Configuration:
Windows 11 as a host machine.
Base Image : Windows Server 2022
Container Engine : Docker
Docker Version : 27.3.1
Additional context
Is there any alternative way of installing these fonts, perhaps a file I can execute within the container?
ISO is huge and wouldn't be ideal for pipelines to be downloading this in every build.
The text was updated successfully, but these errors were encountered: