You can follow these steps :
- In your docker terminal check the path $HOME. Type the command echo $HOME.
- Make sure that your fabric-samples folder is the same path as of the variable $HOME.
- Follow the steps for generating your first network.
Also check if you have a local firewall enabled. Depending on your docker configuration, a firewall may prohibit the docker daemon from accessing share drives as specified in docker setup (windows). The shared network drive needs to be working for any directory on the local machine to be identified from the container.
Docker for example has the "Shared drive" which is usually C:\ under which all your byfn.sh paths shall be present. Second condition is you need to be running the byfn.sh script with the same user who was authenticated to share the drives on the container. Your password change on the windows environment could break the already existing shared drives with the containers, hence creating problems in starting them.
Restart the Docker daemon after applying local firewall changes.