5.23 Do not docker exec commands with user 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 --user option in docker exec command.Impact-None.Default Value-By default, docker exec command runs without --user option.

See Also

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