conda-incubator / conda-docker

Create minimal docker images from conda environments
BSD 3-Clause "New" or "Revised" License
60 stars 9 forks source link

Status #15

Open colindaven opened 2 years ago

colindaven commented 2 years ago

Hi,

this sounds really useful for many users who are using conda successfully but having trouble packaging their conda envs easily into docker or singularity containers.

My question is about the status and future of this project. Is this a working prototype ? Or mature already, or just a test? How does it compare to the experimental conda-pack ?

Thanks for your efforts Colin

xhochy commented 2 years ago

Hello @colindaven,

I'm not a maintainer of this particular project but many others in this space. As @scopatz has been out for a while of the one here, I'm directly picking this up.

  1. conda-docker is working but not actively developed. Give it a try but if you run into issues, you are on your own.
  2. conda-pack isn't experimental but already stable and widely used. You can give it a try but no necessarily needed for putting conda environments into a Docker container.
  3. For putting conda environments into Docker containers, you don't need a tool in most cases but a good manual should help you more, thus I have written a cheatsheet over at https://uwekorn.com/2021/03/03/deploying-conda-environments-in-docker-cheatsheet.html (there is also a long-read linked with more explanations).

I hope this helps!

colindaven commented 2 years ago

Thank you, that is very helpful to pick up on what is the path of least resistance.

costrouc commented 2 years ago

Hey @colindaven just to give some updates on this package. I plan to make some heavy additions to this package in the next few weeks. I need deeper support for creating docker images from conda environments for conda-store.

That said conda-docker is "stable" in that it should just work and if anything in the future:

Also in the near future conda will be adding support for plugins. We may look at adding this package as an "install" plugin that produces docker artifacts

colindaven commented 2 years ago

Very interesting. I have discovered micromamba works well in rapidly installing to containers but will be following this as well.

Thanks for your efforts!