id : The term 'id' 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. #12
id : The term 'id' 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.
Full command:
PS tex> docker run --rm -ti -v miktex:/miktext/.miktex -v $(pwd):/miktex/work -e MIKTEX_GID=$(id
-e MIKTEX_UID=$(id -u) miktex/miktex pdflatex .\fduthesis-template.tex
id : The term 'id' 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:87
+ ... ex:/miktext/.miktex -v $(pwd):/miktex/work -e MIKTEX_GID=$(id -g) -e ...
+ ~~
+ CategoryInfo : ObjectNotFound: (id:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
id : The term 'id' 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:110
+ ... $(pwd):/miktex/work -e MIKTEX_GID=$(id -g) -e MIKTEX_UID=$(id -u) mik ...
+ ~~
+ CategoryInfo : ObjectNotFound: (id:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Run the example command on Windows get the error:
Full command: