-
Notifications
You must be signed in to change notification settings - Fork 621
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
Update official documentation to list recommended container base images #4413
Comments
I think the differentiator is whether the base OS image uses glibc or musl. Alpine uses musl, but I believe the AWS CLI expects glibc, so they don't work together. If you use Fusion instead of the AWS CLI, then alpine should work because Fusion doesn't depend on either. |
Worth to add a note in any case |
There is a note here about requirements for containers in general (i.e. bash and ps). Would be good to either augment that note or add a complementary note to the AWS page about the AWS CLI requirements. |
the part that really confused me for a long time was that Worth noting that there's a mention of this error here;
though this did not resolve the issue either |
I am working on a PR to clarify these requirements. However the issue between the AWS CLI and Alpine seems to be resolved: aws/aws-cli#4971 (comment) So it might be TMI to have a note that "AWS CLI and Alpine don't work together in these very specific cases". Also I am hesitant to recommended a particular image when really most base images will work |
As per the Slack discussion here I discovered that Nextflow containers meant for usage on AWS Batch should not be built on an Alpine Linux base image;
#1865
some more details here;
aws/aws-cli#4971
Technically this is not a Nextflow issue but instead an AWS Batch issue it seems with the relation between AWS and Alpine Linux, however, considering that we already have some official docs for Nextflow about Container usage;
https://nextflow.io/docs/latest/container.html
maybe we can update these docs to include a couple recommended base images to use for packaging tools and scripts inside Docker containers to run in a Nextflow pipeline.
In my case, I finally settled on Ubuntu 22.04 ( https://hub.docker.com/_/ubuntu/tags ) as a base image for my custom tools since it seems to work with everything out of the box (has all required reporting tools along with
ps
andbash
).Having a quick note recommending this or some other container that "just works" would be really helpful!
The text was updated successfully, but these errors were encountered: