prerequisites
ensure you have all the correct versions of required software mentioned in the plugin
I had this same problem on Windows 10. Here is how I solved it.
- Setup docker and make sure you can run the hello world program
- Setup the shared drive with a user with admin authority (I named it
DockerHost) in the Docker Desktop. I could not use my id I log in
with it is Azure and uses a pin or fingerprint.
- Ensure the shared drive for docker is accessible to admins or uses who will run docker
- Modify the permissions to the folder and all sub directories on C:\Program Files\Docker . I added the user DockerHost and ensured it had all privileges
- Uninstall the extension in VSCode
- Remove all blockchain extensions under the folder ~/.vscode/extenstions
e.g. ibmblockchain.ibm-blockchain-platform*
- remove the folder ~/.fabric-vscode reinstall the extension in VSCode
- Run it to test (worked for me)
While trying to figure this out I did a few steps
1). try to run the start.cmd directly from a command prompt saw error
2). try to run the start.cmd from a powershell with admin privileges, saw it worked
3). Beat my head a bit
In my case the problem, could have been solved most likely by just adding and giving all privileges to the user DockerHost and Administrators group to the folder C:\Program Files\Docker and it's sub directories