Handle startup of docker container inside another
I have an application, running in docker container A. Application can use modules, which I want to place in data-only container B. Containers is starting from docker-compose file, where is assigned to get volumes from container B to container A. Than I should restart containers by composer To reach B files on A.
- Can I just start container B and don’t restart container A, if path to volume form B is not exist?
- How can I handle inside of container A start/stop of container B, to process install of modules?