Dynamically create directories between containers

I need that from a container, which contains my app, directories can be created dynamically in another container and to be able to access that directory during the execution of my app. How can I do that?


You are aware that a container is self contained, aren’t you?

Though, if you use the same docker volume (local folder or remote share) with both containers, you would be free to modify the content of the volume from whatever container it is attached to.

1 Like