C
C
corruptzero2021-12-02 16:04:10
Nginx
corruptzero, 2021-12-02 16:04:10

Docker. nginx. How to run container with conditions?

Please explain how to run an nginx container in the background with the following requirements:
- The web server is available on port 8081
- The nginx configuration file is mapped - The
nginx directory containing the site files is mapped to the /tmp/nginx-test host directory
- Container name is nginx -test
- The time inside the container is synchronized with the time of the host machine
I would be very grateful!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Drno, 2021-12-02
@Drno

each individual question is easily googled with almost the first link

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question