You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m using Blackvue Sync with Docker Desktop under Windows.
I run a script that periodically checks to see if the BlackVue camera is reachable over Wi-Fi, and if it is, I start the docker desktop, run blackvuesync, then close down the desktop like this:
When it runs, I can see console output from the Python program in the Docker Desktop UI. I can manually copy it to clipboard, but the blackvuesync docker run is normally unattended.
How can I direct that output into a file in the host OS? After docker desktop is closed, I don't find the python logging output in C:\Users\Tim\AppData\Local\Docker\log\host or anywhere else.
Also, how can I detect (from the host) when blackvuesync.py has completed in the container? I'm just using a fixed timer of about 15 minute and then run docker desktop stop. I'm finding that sometimes the program has not completed since the transfer is surprisingly slow (15-30 Mbps over local Wi-Fi) . Is there a Python function I could add at the end of run() that could perform docker desktop stop ?
The text was updated successfully, but these errors were encountered:
I’m using Blackvue Sync with Docker Desktop under Windows.
I run a script that periodically checks to see if the BlackVue camera is reachable over Wi-Fi, and if it is, I start the docker desktop, run blackvuesync, then close down the desktop like this:
When it runs, I can see console output from the Python program in the Docker Desktop UI. I can manually copy it to clipboard, but the blackvuesync docker run is normally unattended.
How can I direct that output into a file in the host OS? After docker desktop is closed, I don't find the python logging output in C:\Users\Tim\AppData\Local\Docker\log\host or anywhere else.
Also, how can I detect (from the host) when blackvuesync.py has completed in the container? I'm just using a fixed timer of about 15 minute and then run
docker desktop stop
. I'm finding that sometimes the program has not completed since the transfer is surprisingly slow (15-30 Mbps over local Wi-Fi) . Is there a Python function I could add at the end ofrun()
that could performdocker desktop stop
?The text was updated successfully, but these errors were encountered: