• gigachad@sh.itjust.works
    link
    fedilink
    arrow-up
    8
    ·
    24 hours ago

    We do geodata science and rely on some pretty specific C++ libraries that are only distributed via conda. While on unix-based systems it’s possible to get some of them from other channels or even building them from source, we mostly have Windows machines in production where we are not that flexible. Docker is unfortunately no solution due to security concerns.

    If you are asking why I hate it: It’s bloated, uses more space than needed and it’s rare I can reproduce an environment from the environment file without running into errors. Using it feels unintuitive, I still google command after years. It was very slow until recently, when the libmamba solver was finally integrated. Last but not least licensing is a pain in the ass.

    • rutrum@lm.paradisus.day
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 hours ago

      I’ve been using micromamba/mamba and not had solving issues like I did with conda. Im glad conda integrated libmamba.

      Question: why were docker containers deemed security risks?

      • gigachad@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        1 hour ago

        Yes, mamba is a huge improvement. Regarding docker I can’t really tell you as I’m not an infrastructure guy.

    • Eager Eagle@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      20 hours ago

      I share the same frustration trying to replicate an environment. I’m glad I can avoid it these days, the community needs a way out of the conda lock-in.

    • db0@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      2
      ·
      22 hours ago

      Interesting. We use conda via micromamba for my own project, as it makes the install for end-users much easier when they can just run a shell script, to install python, cuda, and all the dependencies needed.