5.22 Do not docker exec commands with privileged option

Information

https://docs.docker.com/engine/reference/commandline/exec/
NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.

Solution

Do not use --privileged option in docker exec command.Impact-None. If you need enhanced capabilities within the container, then run the container with
the needed capabilities.Default Value-By default, docker exec command runs without --privileged option.

See Also

https://workbench.cisecurity.org/files/517