Add support for charliecloud containers. #18
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
As mentioned on the mailing list, I spent some time developing support for Charliecloud:
https://github.com/hpc/charliecloud
More details:
user's home directory.
initial working directory to it. Location in the container has to exist,
can be specified via CHARLIECLOUD_TARGET_DIR.
Initial documentation is also there, the features and usability are close to what is offered by the Singularity support. Also the implementation is in many parts almost identical.
Significant differences Charliecloud <=> Singularity:
As with Singularity, interactive jobs and
condor_ssh_to_job
do not work yet.However, a solution would be easy by using
nsenter
which can run with user privileges. I have suggested that on the mailing list:https://www-auth.cs.wisc.edu/lists/htcondor-users/2017-October/msg00116.shtml
but sadly did not receive any feedback as of yet.
Also, the PID namespace feature of HTCondor could be used with Charliecloud, but again for this (same as for interactive jobs), this should best happen outside the container.