O
O
Oval Enoc2019-10-12 17:03:27
Docker
Oval Enoc, 2019-10-12 17:03:27

How to reload from one Docker container to another?

Hello.
1. NodeJS container.
2. Nginx container.
I am changing the Nginx config via NodeJS and now I need to reload nginx -s reload.
How to reload Nginx container from NodeJS container?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly Karasik, 2019-10-12
@vitaly_il1

In my opinion, it's easier to use https://www.npmjs.com/package/nodemon or something similar to automatically restart when changing the config

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question