redroid-doc
redroid-doc copied to clipboard
Why does changing the time in the phone or in the docker container affect the host?
为什么我在手机内修改时间或者在手机docker容器内修改时间,会影响到宿主机?
我发现,这可能是由于docker启动时添加了--privileged导致的,但当我去掉--privileged时,redroid无法正常启动。这个如何解决呢?
CLOCK_REALTIME is shared even with different time namespace.
FYI: https://www.man7.org/linux/man-pages/man7/time_namespaces.7.html
CLOCK_REALTIMEis shared even with differenttimenamespace.FYI: https://www.man7.org/linux/man-pages/man7/time_namespaces.7.html
Does that mean that if I change the time in the container, the host's time will inevitably change? Even if I don't use the --privileged parameter?