Question

Where is docker-compose run web .. putting its files?

I’m running the command “docker-compose run web django-admin.py startproject composeexample .” and it’s operating correctly, localhost:8000 shows Django is working, but I can’t find the files like manage.py that are produced.

On my local machine the same command put the resulting files in a code directory off the home directory. I don’t see signs of the files anywhere in any home directory. I have no idea why this behavior is different on the droplet.

Subscribe
Share

Can this question please be deleted? The premise was false, I just made a mistake in the docker-compose.yml file.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Just mark it as fixed ;) Great you solved it yourself