but cannot connect from outside (due to the use of networks, and how to access the network
guess you need to)
And using directives ports - don't need prokalyvayutsya ports in the containers outside?
If you make any changes in main application
one can only hope that they're going to appear in the container
If you make changes to the project which primapin through volume container immediately sees.
Can your app to see what local files have changed and to apply them is another question.
But even if he can not - there is no problem to prestarting the desired container after making any changes.
Can five times to remove the container with the app, then ten times to remove the image
any changes will not get anywhere.
I do not know you are built - but will bring about examples of projects in python.
In Python, a folder is created with a virtual environment where to install all the required libraries to work. This folder will mapitse together with the container. This uses the python container from a standard image on all the projects and virtual environments - from primplanul directory. There is no need to install anything extra into containers. So what you're trying to do with images - is unclear...
To use the virtual environment on the local machine by running the application through it is impossible
because the network database somewhere local.
Well here is to decide - using Docker for this, or a virtual environment on your machine.
If you want to simultaneously use both - prokidyvaya ports.
Not true. Have tadalail application to at least some changes to look - you need to spend 10 minutes to first remove all the containers with your hands, then remove all the images by hand, then reassembled. - cielo.Sauer commented on March 23rd 20 at 18:57
I don't know - what am I doing wrong that I have seen everything?
You question did not indicate their system. Probably you have Docker installed using any crutches, because of which all your inconvenience. - alfonzo.Bartel commented on March 23rd 20 at 19:00
You seriously? What you need to spend ten minutes to make some changes to see does the words of Vladimir "wrong". You with such an attitude will discourage all desire to answer you. Looks like this:
This hammer is terribly uncomfortable thing, I can't do anything to them to score. How do you use it?
- Take him by the arm and hit on the nail head, which want to hammer a nail is driven is wonderful.
- But not true! 10 minutes I hammered a nail into something and he's all bent!
Well as though Yes, if you score in the metal - it is to be expected, for example. This does not mean that the hammer used for the purpose of "not working". Write more business. What are you trying to achieve and what exactly you can do about it. No need to evaluate the words of more experienced people - you can't do it adequately. - jarred_Champl commented on March 23rd 20 at 19:03