0

I am developing IoTEdge module in VisualStudio Code and following This Link. While using the option

Build IoT Edge Solution

Build IoT Edge Solution

i am getting the error at step 10

useradd is not recognized as an internal or external command

useradd error

OS: Windows10

Bilal
  • 1,034
  • 11
  • 23
  • 2
    Is your Docker running in Windows container mode or Linux container mode? If the former, please update `${MODULES.modulename.amd64}` in your deployment.template.json to `${MODULES.modulename.windows-amd64}` – LazarusX Aug 29 '18 at 16:16
  • Thanks man, this solved the issue. post it as an answer so that i would accept it. – Bilal Aug 30 '18 at 05:06
  • @Bilah Posted. :) – LazarusX Aug 30 '18 at 08:50

1 Answers1

1

Looks like your Docker is running in Windows container mode. Please update ${MODULES.modulename.amd64} in your deployment.template.json to ${MODULES.modulename.windows-amd64}.

LazarusX
  • 2,735
  • 2
  • 22
  • 30