Timedatectl execute commands in Docker containers suggest the following error:
View time in the container:
Such a problem is the need to access privileged mode Docker
Solution:
When starting container: specified as follows:
docker run -it --name prod_centos-test1 -d --privileged www.node175.com/base/prod_centos:v1 /usr/sbin/init
Description:
Start-up parameters --privileged parameters, this container given more privileges, but that there is a certain security risk
Last Seen: