Trying docker for windows for my 1st time!
Windows 11 and VS code both current versions.
Running the docker build -t welcome-to-docker . command returns an error " ERROR: failed to solve: process "/bin/sh -c npm install....."
This error persisted because my WSL2 machine , or my host machine, (I am not sure which ) did not have NPM installed already.
ie trying
This was solved via running 'sudo apt install npm' in the WSL2 Ubuntu VM, and then running the welcome to docker build script again.
The container then built successfully.