daq icon indicating copy to clipboard operation
daq copied to clipboard

Avoid getting docker images when internet connection is not available

Open pisuke opened this issue 6 years ago • 0 comments

In user mode, cmd/run calls the docker registry to check for latest images. If the internet connection has less priority than the interface that DAQ uses, then it is not possible to connect to the internet and DAQ fails.

Example to fix this on debian/ubuntu based systems:

# apt install ifmetric
# route -n
# ifmetric <internet_interface> 50
# route -n 

It would be better if cmd/run doesn’t have to get the docker layers when an internet connection is not available and there are already docker layers downloaded.

pisuke avatar Oct 18 '18 13:10 pisuke