[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] mount points in docker universe
- Date: Thu, 25 Feb 2016 11:19:10 -0600
- From: Todd Tannenbaum <tannenba@xxxxxxxxxxx>
- Subject: Re: [HTCondor-users] mount points in docker universe
On 2/25/2016 8:59 AM, Matthias Schnepf wrote:
I want to mount some directories in my docker container (running as
Docker universe). It works fine when the path on the host and inside the
container are the same.
Is there a method to change the mount point inside the container?
e.g.:on host: /mnt/storage/ inside docker: /storage/
Yes, if I recall correctly HTCondor can change the mount point inside
To implement your example above (e.g.:on host: /mnt/storage/ inside
docker: /storage/), I think you could append something like the
following in condor_config.local :
DOCKER_VOLUMES = $(DOCKER_VOLUMES) STORAGE
DOCKER_MOUNT_VOLUMES = $(DOCKER_MOUNT_VOLUMES) STORAGE
DOCKER_VOLUME_DIR_STORAGE = /mnt/storage:/storage
Warning: the above config is off the top of my head, I didn't personally
The key is the ability to use a colon in DOCKER_VOLUME_DIR_xxxx knob to
specify both host and container mount points.
See details from the development ticket for this feature at:
It looks to me like the HTCondor Manual documentation on this feature is
not yet 100% complete; for instance I didn't see it mention the ability
to have different host and container mount points. We will make a
documentation ticket to correct this for future releases of the HTCondor
Hope the above helps.
Todd Tannenbaum <tannenba@xxxxxxxxxxx> University of Wisconsin-Madison
Center for High Throughput Computing Department of Computer Sciences
HTCondor Technical Lead 1210 W. Dayton St. Rm #4257