-
Notifications
You must be signed in to change notification settings - Fork 259
Description
BCContainerhelper version
6.1.9
Describe the issue
Trying to setup the Traefik container and configuration fails on Windows Server 2025 Standard. Error message points to the container operating system not matching the host. We were able to set it up years ago on a Windows Server 2019 Standard and wanted to migrate this to a newer version.
Command or script used to produce the issue
Setup-TraefikContainerForBcContainers -PublicDnsName xxx.yyy.com -ContactEMailForLetsEncrypt [email protected]
(Domain and email changed for privacy reasons)
Full output of the command or script
Creating folder structure at c:\programdata\bccontainerhelper\traefikforbc
Directory: C:\programdata\bccontainerhelper
Mode LastWriteTime Length Name
d----- 21.11.2025 16:20 traefikforbc
Directory: C:\programdata\bccontainerhelper\traefikforbc
Mode LastWriteTime Length Name
-a---- 21.11.2025 16:20 0 traefik.txt
d----- 21.11.2025 16:20 my
d----- 21.11.2025 16:20 config
Directory: C:\programdata\bccontainerhelper\traefikforbc\config
Mode LastWriteTime Length Name
-a---- 21.11.2025 16:20 0 acme.json
Create traefik config file
Pulling traefik
docker.io/tobiasfenster/traefik-for-windows:v1.7.34
Running traefik
34afd6d438d8a5a5b16864fe1d3d8d81c9cfe1bf7e81c214f534d66e4dc87ba2
34afd6d438d8a5a5b16864fe1d3d8d81c9cfe1bf7e81c214f534d66e4dc87ba2
Setup-TraefikContainerForBcContainers Telemetry Correlation Id: 8e4c27b6-491e-4e6f-bb23-d0c3b7fec906
DockerDo : docker: Error response from daemon: container 34afd6d438d8a5a5b16864fe1d3d8d81c9cfe1bf7e81c214f534d66e4dc87ba2 encountered
an error during hcs::System::Start: failure in a Windows system call: The container operating system does not match the host operating
system. (0xc0370101)
Run 'docker run --help' for more information
ExitCode: 125
Commandline: docker run -p 443:443 -p 80:80 --restart always -v "c:\programdata\bccontainerhelper\traefikforbc\config:c:/etc/traefik"
-v \.\pipe\docker_engine:\.\pipe\docker_engine -p 8080:8080 --detach tobiasfenster/traefik-for-windows:v1.7.34
--docker.endpoint=npipe:////./pipe/docker_engine
At C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\6.1.9\ContainerHandling\Setup-TraefikContainerForNavContainers.ps1:195
char:5
-
DockerDo -command run -imageName "$traefikImage --docker.endpoint ... -
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~- CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
- FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,DockerDo
Additional information
No response
Does this happen every time?
Yes
Did this used to work?
Yes