Answer the question
In order to leave comments, you need to log in
How to forward NODE_PATH from Mac OS to Docker container?
Is it possible to make running app.js on the host machine (mac) run nodejs in a running Docker container? I don't want to put a working environment on the host machine, but keep it isolated in containers. But project files are kept on the file system and run from the host, not from the container. If I understand correctly, you need to write in the host's bash_profile: export NODE_PATH=/path/to/node/container
But I don't understand how to forward this path to the container if I'm on a poppy and run docker via boot2docker.
Answer the question
In order to leave comments, you need to log in
and run from the host, not from the container
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question