As described in this github discussion the issue arises when you mix several things together
- windows setup
- runs wsl / wsl2
- uses zsh as a shell on wsl
- installed docker desktop
In these situations you will the 'vendor completion' /usr/share/zsh/vendor-completions/_docker
because (supposedly)