Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running docker_run.ps1 with an Amazon config crashes instantly. No logs that I can see. #102

Closed
sauce89 opened this issue Dec 12, 2020 · 2 comments

Comments

@sauce89
Copy link

sauce89 commented Dec 12, 2020

latest: Pulling from ericjmarti/inventory-hunter
Digest: sha256:e04780a1a2bfebb5cd7123bac056eeb0c85f8053165440b18b6ad1bb663f2d34
Status: Image is up to date for ericjmarti/inventory-hunter:latest
docker.io/ericjmarti/inventory-hunter:latest
cb7702435a3810138f2edce1f5691b5bbd17600a0261b20c0277ed20403d1e3d

started docker container named amazon_rtx_3080

view the status of this container using the following command:
$ docker ps -a -f name=amazon_rtx_3080

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
cb7702435a38 ericjmarti/inventory-hunter:latest "bash /src/run.bash …" Less than a second ago Up Less than a second amazon_rtx_3080

view logs for this container using the following command:
$ docker logs -f amazon_rtx_3080

PS C:\Users\sauce\3080\inventory-hunter> docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
b8a3bb8d052a ericjmarti/inventory-hunter:latest "bash /src/run.bash …" 10 minutes ago Up 10 minutes bestbuy_rtx_3080
15d413e46e86 ericjmarti/inventory-hunter:latest "bash /src/run.bash …" 11 minutes ago Up 11 minutes microcenter_rtx_3080
ceac9acadf87 ericjmarti/inventory-hunter:latest "bash /src/run.bash …" 11 minutes ago Up 11 minutes newegg_rtx_3080
PS C:\Users\sauce\3080\inventory-hunter>

@EricJMarti
Copy link
Owner

Can you run git pull to get the latest code and try again? After running docker_run.bash or docker_run.ps1, you should see a log directory get created with one log file per container. If the container exits immediately after getting the latest code, can you check the log file for any exceptions?

@sauce89
Copy link
Author

sauce89 commented Dec 13, 2020

Took a look at the log and it looks like I made a mistake in the config. I had the max_price in the wrong place. Apologies. Good to see the log files in one folder!

@sauce89 sauce89 closed this as completed Dec 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants