Switch-DockerLinux not longer available?

Christiaan's Avatar


25 Jan, 2023 09:27 AM

Since this morning, I'm getting a build error when I call the "Switch-DockerLinux" script from a Windows 2022 instance:

"The term 'Switch-DockerLinux' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again."

All my projects seem to show this issue. It worked fine yesterday. I didn't update the build scripts on my end, and I don't see any updates at the AppVeyor side that could affect it. Any idea what is going wrong?

  1. 1 Posted by Christiaan on 25 Jan, 2023 10:26 AM

    Christiaan's Avatar

    The issue seems to have resolved on its own. Builds are now working properly again. I didn't change anything, so I'm not sure what caused it.

    I also noticed timeouts when AppVeyor was trying to push a docker container to hub.docker.com. So it could have been a local network issue of some sort.

  2. Support Staff 2 Posted by Feodor Fitsner on 25 Jan, 2023 03:22 PM

    Feodor Fitsner's Avatar

    Yep, that was a global Azure networking connectivity incident from 2023-01-24 23:33:50 PT to 2023-01-25 01:45:33 PT. During that time part of AppVeyor builds were routed to our backup cloud on GCP where Hyper-V and thus 'Switch-DockerLinux cmdlet are not available. It's resolved now, thanks for confirming!

  3. Feodor Fitsner closed this discussion on 27 Mar, 2023 09:03 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? 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