Windows Build Agent: docker.server.osType contains linux

Hi

I have team city installed on Windows Server 2016. Team City and the build agents run as windows services & they work for all my current builds.

I am now looking to build & push Docker images (built for linux). I have set the build step runner to Docker but when attempting to run the build is does not find a compatible agent - incompatible configuration: 

 docker.server.osType contains linux

 

Service path to executable:

<path to install>\TeamCity\BuildAgent3\launcher\bin\TeamCityAgentService-windows-x86-32.exe -s <path to install>\TeamCity\BuildAgent3\launcher\conf\wrapper.conf

How do I configure the build agent so that it builds the image?

docker version:

Client: Docker Engine - Enterprise
Version: 19.03.5
API version: 1.40
Go version: go1.12.12
Git commit: 2ee0c57608
Built: 11/13/2019 08:00:16
OS/Arch: windows/amd64
Experimental: false

Server: Docker Engine - Enterprise
Engine:
Version: 19.03.5
API version: 1.40 (minimum version 1.24)
Go version: go1.12.12
Git commit: 2ee0c57608
Built: 11/13/2019 07:58:51
OS/Arch: windows/amd64
Experimental: false

 

 

 

Please sign in to leave a comment.