Docker Community Forums

Share and learn in the Docker community.

Run script on other container


(Mainpixelbv) #1

I’ve a docker server with two containers: Postfix and Nginx.

The Nginx container runs a webbased tool where users can create their mailboxes. So I need to create a mailbox on the other container.

What’s the best solution for this? I tried it with SSH from Nginx to the Docker node, but it isn’t the best way. Any suggestions? Thanks alot!