I don't have good internet right now so can't properly test out things.

To get a shell inside the container to dig around run it as:

docker run --run -it --entrypoint mod_wsgi-docker-shell python-app-image-name

Replace name of actual image.

That will give you shell with what should be same environment as app runs in 
and you can then check where packages are installed.

I have been playing with how virtual environment is constructed. I had tested 
with an image created off base image but not sure If interested on build image 
properly.

Graham

> On 20 Nov 2015, at 2:34 PM, Collin Jackson <[email protected]> wrote:
> 
> I'm running mod-wsgi-docker:python-2.7-onbuild and have listed my 
> requirements in requirements.txt. During build, I can see that the packages 
> are installed properly, but when I try to run the image, it crashes on the 
> first non-Standard Library import with an ImportError exception. I can't 
> figure out what's happening and it's not exactly easy to poke around inside 
> the container to see what's going on. I noticed that a virtual environment is 
> created prior to installing the packages (here), but I imagine that if this 
> is the issue, other users would have the same issue. Any ideas?
> -- 
> You received this message because you are subscribed to the Google Groups 
> "modwsgi" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/modwsgi.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to