Information
Docker daemon leverages Docker environment file for setting Docker daemon run time
environment. If you are using Docker on a machine that uses systemd to manage services,
then the file is /etc/sysconfig/docker. On other systems, the environment file is
/etc/default/docker. Verify that the environment file permissions are correctly set to
'644' or more restrictive.
Docker environment file contains sensitive parameters that may alter the behavior of
Docker daemon during run time. Hence, it should be only writable by 'root' to maintain the
integrity of the file.
Solution
#> chmod 644 <Environment file name>
For example,#> chmod 644 /etc/sysconfig/dockerThis would set the file permissions for the environment file to '644'.
Impact-None.
Default Value-By default, the file permissions for this file is correctly set to '644'.