You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Docker seems like a wildly over-engineered approach to managing installation of drivers, and is not available on some platforms and many configurations and contexts (e.g. WSL on a windows box with no admin privs). Ive gotten the standalone daemon to run just fine, but can't for the life of me figure out how to get the python driver installed without docker. And for that matter can't think of a reason why Docker is really necessary in this case.
Any help getting bblfsh with python installed without Docker would be greatly appreciated. Thanks!
The text was updated successfully, but these errors were encountered:
Babelfish does not require Docker to run, but it requires namespaces and cgroups provided by Linux kernel. We use libcontainer under the hood to isolate language drivers and it might not work under WSL properly.
We cannot provide direct support for your use case, however, you may try to follow guides for installing Docker under WSL. Docker also uses libcontainer, thus most WSL dependencies that are required for it to work should also allow Babelfish to run. Most likely you will find few WSL modules missing on your system.
@youngmit as @dennwc noted, the main reason for running drivers inside the container (though libcontainer) is to isolate environment for the native driver, incapsulating all dependencies, parser versions, etc.
Although please, help me understand - if you have a Daemon running alright and want to install a python driver - what is the current output of
Docker seems like a wildly over-engineered approach to managing installation of drivers, and is not available on some platforms and many configurations and contexts (e.g. WSL on a windows box with no admin privs). Ive gotten the standalone daemon to run just fine, but can't for the life of me figure out how to get the python driver installed without docker. And for that matter can't think of a reason why Docker is really necessary in this case.
Any help getting bblfsh with python installed without Docker would be greatly appreciated. Thanks!
The text was updated successfully, but these errors were encountered: