Project

General

Profile

Actions

Bug #5025

open

[Docker] Make it easy to add data from the host system to containers

Added by Brett Smith over 9 years ago. Updated 2 months ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
Docker
Target version:
Story points:
-
Release:
Release relationship:
Auto

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.


Related issues

Related to Arvados - Bug #5147: [Docker] Make API server root URL in discovery document easier to resolveNewActions
Actions

Also available in: Atom PDF