Hi there! Need help in running the command "vi Dockerfile" for Jfrog Docker Challenge. I'm facing glitches when i run this cmd in my windows cmd prompt or powershell. Anyone who can help me about this is welcomed.
As a general rule, when asking questions you should strive to provide as much detail as possible. Could you share the specific error output?
If I had a guess, it's that your windows command prompt doesn't have vi available, which is a text editor available in standard Linux distributions. I don't know much about Windows, but you may want to try following these steps using WSL. Alternatively, use a different text editor to make the required Dockerfile edits.
My guess is you don't have Vi installed.Maybe try setting up neovim for better luck? FYI:
if you do use neovim the command will be nvim Dockerfile .Also, It may not working powershell , I don't know much about powershell.
We're a place where coders share, stay up-to-date and grow their careers.
Top comments (2)
As a general rule, when asking questions you should strive to provide as much detail as possible. Could you share the specific error output?
If I had a guess, it's that your windows command prompt doesn't have
viavailable, which is a text editor available in standard Linux distributions. I don't know much about Windows, but you may want to try following these steps using WSL. Alternatively, use a different text editor to make the required Dockerfile edits.My guess is you don't have
Viinstalled.Maybe try setting upneovimfor better luck? FYI:if you do use
neovimthe command will benvim Dockerfile.Also, It may not working powershell , I don't know much about powershell.