Answer the question
In order to leave comments, you need to log in
How to change the time in all Docker containers?
Hello!
You need to periodically run docker containers with a certain time in them, for example 2020-12-25T00:30
Containers start from docker-comppose and there are a lot of them (about 20). Manually go and do it in everyone is not suitable, because. it is long and the time will be different.
Host machine on Windows 10.
I tried to change the time on the host and re-create containers - it did not help.
Who has experienced this? How did they decide?
UPD: hmmm... just now I realized that dockers are running in WSL2. Later I'll try to set the time for him and try again.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question