python - no django app created when following the docker-compose tutorial -


i'm following docker-compose tutorial, try , figure out how django app deploy: http://docs.docker.com/compose/django/

and everything's going smoothly (the app works!) django project folder composeexample isn't created in local project directory.

i'm left working "it works!" page after running:

$ docker-compose run web django-admin.py startproject composeexample .

but can't continue edit composeexample/settings.py, tutorial suggests: folder doesn't exist on machine (it exist in container, it's no me there!)

is tutorial wrong? did not follow right?

thanks!

update:

here's problem, i'm using docker-machine run whole process through remote docker instance. rules local folder sharing different when using remote docker machine?

you need set dockerfile when docker build, copies local code onto container. started, need copy files container local. here that. or overwrite directory own django app

copying files host docker container

example:

from python:2.7 run mkdir /code workdir /code add . /code/ 

Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -