Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Question] Windows friendly tutorial for noobs?

See original GitHub issue

Hello Eric, Thank you for this awesome script. I’m attempting to run it on my windows computer. I managed to get docker and git working in powershell. Got as far as step 3 but I keep getting the following errors.

PS C:\Users\steve\inventory-hunter> docker run docker_run.bash -c "config.yaml" -e "" -r
Unable to find image 'docker_run.bash:latest' locally
docker: Error response from daemon: pull access denied for docker_run.bash, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.
PS C:\Users\steve\inventory-hunter> docker run inventory-hunter                                                         usage: [-h] [-c CONFIG] [-e EMAIL [EMAIL ...]] -r RELAY [-v] error: argument -c/--config: can't open 'config.yaml': [Errno 2] No such file or directory: 'config.yaml'
PS C:\Users\steve\inventory-hunter>

Obviously, I don’t have much experience running python scripts. What am I doing wrong?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:14 (5 by maintainers)

github_iconTop GitHub Comments

EricJMarticommented, Dec 6, 2020

I created a wiki for Windows users: Instructions for Windows

Please git pull to retrieve the latest docker_run.ps1 script.

Burito55commented, Dec 3, 2020

@LapCheong The docker container doesn’t have access to your filesystem, so you need to copy the config file into the container like this:

PS C:\path\to\inventory-hunter> docker run -d --network host -v (Resolve-Path -Path .\config\ps5.yaml):/config.yaml inventory-hunter --email --relay

docker run -d --network host -v C:\Users\XXXX\Desktop\inventory-hunter\config\amazon_rtx_3080.yaml:/config.yaml inventory-hunter -a discord -w

This worked, just realized what you meant. Cheers

Read more comments on GitHub >

github_iconTop Results From Across the Web

3.5 Hour Windows Guide + Windows 10 Tips - YouTube
This Windows 10 beginners guide tutorial will give you the grounding you need to be more confident using the Windows operating system!
Read more >
Windows 10 (Beginners Guide) - YouTube
The Windows 10 operating system has been out for more than a couple years now. I still get questions on how to perform...
Read more >
Windows 10 for Dummies, Newbies, and other Fine Beginners ...
Windows 10 for Dummies, Newbies, and other Fine BeginnersHappy? Please DONATE via PayPal: http://thankyou.injusta.
Read more >
Windows 10 for Beginners Tutorial - YouTube
Windows 10 for Beginners TutorialWho it's For: Learning Windows 10 is for office workers, business people, individual teachers, ...
Read more >
Windows 10 - Beginners Guide [Tutorial] - YouTube
This tutorial provides a detailed beginners guide to Windows 10. This covers the Windows 10 Start Menu, System Settings, Windows 10 ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found