Skip to content

Conversation

ffais
Copy link

@ffais ffais commented Aug 12, 2025

Summary

Add support for enroot as container runtime.


Related issue : #76

Copy link
Member

@dciangot dciangot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @ffais . It looks very promising, and definetely in line with what we discussed last time.

I added a few comments that should be not to heavy to implement! If you have any question, please ask!

@@ -0,0 +1,70 @@
FROM ubuntu:22.04
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you have some notes on how to use this for developing the plugin it would be very nice to add it in a .md file

commstr1 := prepareRuntimeCommand(h.Config, container, metadata)
log.G(h.Ctx).Debug("-- Appending all commands together...")
runtime_command := append(commstr1, envs...)
switch h.Config.ContainerRuntime {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's ok defaulting to singularity, I wonder if maybe we can rise an fatal error, earlier in the code, if the runtime name is not singularity neither enroot.

It can happen that one user blindly put in the config a runtime that is not in that list.

@ffais ffais mentioned this pull request Aug 12, 2025
16 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants