devcontainers / features

A collection of Dev Container Features managed by Dev Container spec maintainers. See https://github.com/devcontainers/feature-starter to publish your own
https://containers.dev/features
MIT License
825 stars 325 forks source link

DinD and DoutD does not support Alpine Base Images #751

Open sr229 opened 8 months ago

sr229 commented 8 months ago

Official devcontainer features should be at least be able to support their own base images, however, in the case for Docker in Docker and Docker outside Docker, and a couple of few more features, they do not support the Alpine image.

joshspicer commented 8 months ago

Thanks for the feedback. I agree that would be ideal. With the engineering capacity we have on the maintainers team, we're only able to officially support a subset of what we'd like to - in this case it's that our Features are compatible with debian-like distros. Features like common-utils we maintain for multiple distros due to its convenience.

I'd encourage members of the community that would find this useful to build their own Features and share them with the community (and post here for visibility if folks search in the future!).

samruddhikhandale commented 8 months ago

+1 to Josh's comment above.

Also, if you are interested, feel free to contribute a PR for docker-in-docker and docker-outside-of-docker Features with added support for Alpine. We'd appreciate that, and happy to help in the process. Thank you!

robv8r commented 8 months ago

I'd love to see the official features (and templates) support Alpine.

I've created local-features that are specific to Alpine, but follow the patterns set in this repository. I borrowed the idea from the kubernetes-helm template.

Most of my work was done to simplify the installation of Kubernetes based tools for other developers. While reproducing the functionality of the existing features and templates (and creating some of my own), I found that writing installation shell scripts for Alpine can be significantly different than writing them for Debian (the preferred distro for this repository.) This is primarily due how apk works compared to apt and deb.

Two questions:

Thanks

cirolosapio commented 3 months ago

i've created a list of alpine features maybe it could help

sr229 commented 2 months ago

+1 to Josh's comment above.

Also, if you are interested, feel free to contribute a PR for docker-in-docker and docker-outside-of-docker Features with added support for Alpine. We'd appreciate that, and happy to help in the process. Thank you!

I'd be happy to help if you can guide me to the right direction, I'll give it a gander and see what I can fix!