Cannot find DockerNAT virtual switch.

Justin Walsh's Avatar

Justin Walsh

11 May, 2020 11:18 PM

I just installed AppVeyor Server on Windows 10 running Docker 2.3.0.2 (stable) and when attempting to run a linux container receive the following message `Cannot find DockerNAT virtual switch.`. After googling about I determined that docker has removed the DockerNAT on windows as of version 2.2 onward and does not recommend relying on it any longer.

I tried creating the interface myself in Hyper-V as local only then immediately get into this error ...
`Connecting to Appveyor via SignalR...`
`fail: Appveyor.BuildAgent.Service.AgentHostedService[0]`
`Error executing agent hosted service: Error starting SignalR client connection`

And I guess that makes since as the line above appears to be attempting to contact my host at `http://[fe80::dc01:4ae:f2d3:563c%35]:80/`. Not sure what address that is or how it was resolved, and if I attempt to connect to the address using wget in powershell, I get an error about not being able to connect to the remote server.

Not sure where to go from here as the docs do not seem to indicate any special setup requirement.

  1. Support Staff 1 Posted by Feodor Fitsner on 11 May, 2020 11:23 PM

    Feodor Fitsner's Avatar

    Hi Justin,

    Could you drop a link to article with DockerNAT deprecation?

  2. 2 Posted by Justin Walsh on 11 May, 2020 11:29 PM

    Justin Walsh's Avatar
  3. Support Staff 3 Posted by Feodor Fitsner on 11 May, 2020 11:34 PM

    Feodor Fitsner's Avatar

    You get that error while running Linux container?

  4. 4 Posted by Justin Walsh on 11 May, 2020 11:47 PM

    Justin Walsh's Avatar

    Correct. I set the Build to Docker, and container to Linux.

  5. Support Staff 5 Posted by Feodor Fitsner on 12 May, 2020 03:57 AM

    Feodor Fitsner's Avatar

    OK, I've created a new issue for tracking: https://github.com/appveyor/ci/issues/3425

    Will fix the bug and release Server update later this week.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac