after install docker image such as php or node in docker desktop in windows 11
how to access to image to use out of environment docker
for example, open terminal CMD or Power shell and check php version but show message that php is not recognized
Question 2: Is this way right or wrong? mean better install php such as Xampp or no just install docker and access to this
PS C:\Users\syncp> php -v
php : The term ‘php’ 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
- php -v
-
+ CategoryInfo : ObjectNotFound: (php:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException