Tried to create Dockerfile but not working.I am getting below the error.
If i tried in command prompt:
C:UsersadminD1>touch Dockerfile 'touch' is not recognized as an internal or external command, operable program or batch file.
If i tried in VS Code terminal:
PS C:UsersadminD1> touch Dockerfile touch : The term 'touch' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + touch Dockerfile + ~~~~~ + CategoryInfo : ObjectNotFound: (touch:String) , CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
How to resolve this issue?
Source: Docker Questions