7 comments

[ 3.0 ms ] story [ 33.0 ms ] thread
Can I connect to this env from my ide? I use the python jetbrains ide. With Podman I can install and run the ide in an isolated env with all my libs.
(comment deleted)
When you say "isolated env", do you mean specifically python version + libs?
yep,Then I just use the container in production with some tweaks.
I haven’t tried it yet, but it might be possible by doing a `devbox build` to create a container with the environment. Then you would configure it as a PyCharm Docker interpreter, similar to what you’d do with Podman.
Is there a way to make it work with devbox shell? Add virtual env support?
Implementing support for virtual envs in the shell would probably work better.

At the end of the day, a devbox shell is just your system’s regular shell with environment variables that point things to your system’s Nix store. Anything that’s able to launch from that shell and inherit the environment should work.