Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CWL: Argue to CWL team to change spec to be container runtime neutral #270

Open
rstyd opened this issue Dec 10, 2020 · 7 comments
Open

CWL: Argue to CWL team to change spec to be container runtime neutral #270

rstyd opened this issue Dec 10, 2020 · 7 comments
Labels
question Further information is requested

Comments

@rstyd
Copy link
Collaborator

rstyd commented Dec 10, 2020

Currently, the CWL spec's container support is entirely focused on docker. I think this was reasonable at the time considering big hitters like podman/buildah were in relative infancy ~3 years ago when CWL was first developed. The landscape has changed considerably since then though. It'd be very helpful if we could convince them to generalize their container interface to use any OCI compliant runtime. I don't think it would require much work on their part other than changing the names of fields like dockerLoad and dockerImport to containerLoad and containerImport since by definition OCI runtimes work like docker. What do you all think?

@rstyd rstyd added the question Further information is requested label Dec 10, 2020
@qwofford
Copy link
Collaborator

I think that's a good idea, maybe you could start a discussion here? https://cwl.discourse.group

I have a couple of other open discussion points that have yet to be addressed in a way that benefits us...but it sounds like @mcpherson might have another avenue to get some mods in?

"dockerImageId can't be known before dockerFile build": https://cwl.discourse.group/t/dockerimageid-can-not-be-known-before-dockerfile-build/223
"dockerFile contents vs dockerFile file": https://cwl.discourse.group/t/dockerfile-contents-vs-dockerfile-file/221/4

@pagrubel
Copy link
Collaborator

Currently, the CWL spec's container support is entirely focused on docker. I think this was reasonable at the time considering big hitters like podman/buildah were in relative infancy ~3 years ago when CWL was first developed. The landscape has changed considerably since then though. It'd be very helpful if we could convince them to generalize their container interface to use any OCI compliant runtime. I don't think it would require much work on their part other than changing the names of fields like dockerLoad and dockerImport to containerLoad and containerImport since by definition OCI runtimes work like docker. What do you all think?

Yes, we've discussed this and getting it in the standard would be a good idea.

@qwofford
Copy link
Collaborator

@qwofford
Copy link
Collaborator

No updates on dockerFile content issue, so I pinged them:

@pagrubel
Copy link
Collaborator

pagrubel commented Apr 4, 2023

@Boogie3D This issue is old but relevant to collaborating on the standard, getting BEE as an implementation is more important and adding some of our extensions.

@mr-c
Copy link

mr-c commented Dec 16, 2023

Yes, it would be great to merge more of your extensions into CWL!

FYI, CWL has always been neutral on the software container runtime; just that the format for the container is the Docker format. Various CWL implementations use podman, apptainer, singularity, udocker, etc.. and pass all the CWL conformance tests.

@pagrubel
Copy link
Collaborator

@mr-c Thank you for your input we do have this on our to do list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants