Bug #5025
open[Docker] Make it easy to add data from the host system to containers
Description
It often happens that someone wants to test the Docker functionality of Crunch by spinning up the Arvados containers, uploading an image from the host system to those containers, and then submitting a job.
Right now, if you try to do this, arv keep docker
will fail to connect to the Keep servers, because they have internal DNS names and the host system doesn't consult the internal DNS server. You can work around that by adding 172.17.42.1 as a nameserver to the host system, but you have to dig through the source to figure that out.
This should be easier. At the very least, we should document the nameserver trick. We could also consider adjusting the Keep entries in the Docker containers to use IP addresses (although this might have downsides I'm not aware of yet), or figure out a reliable way to reconfigure the host resolv.conf to accommodate this.