Docker Wrapper fails on Windows agent
Completed
I have TeamCity Enterprise 2019.2.2 (build 71923), try to start test step Command Line in Ubuntu container. On Windows agent I view error:
Step 1/1: test (Command Line)
Starting Linux docker container under Windows is not supported. To avoid this problem, add the ‘docker.server.osType equals Linux’ agent requirement. To use experimental support of LCOW specify the image platform in Docker wrapper and set the TeamCity server property ‘teamcity.docker.lcow.enabled=true’.
Step test (Command Line) failed with unexpected error
I did teamcity.docker.lcow.enabled=true on TeamCity Server. This is my windows agent configuration parameters:





What am I doing wrong?
Please sign in to leave a comment.
In case anyone else gets this error, you need to explicitly specify Linux as the Docker image platform in the build step settings.