mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-10-24 23:26:53 +00:00
Modify get_docker_configuration_file_args in order to handle daemon.json better,
and also address missing files issue. Closes #231 Closes #232 Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
This commit is contained in:
parent
d5894203c6
commit
91e625b8e4
3 changed files with 23 additions and 19 deletions
|
|
@ -92,6 +92,8 @@ get_docker_configuration_file_args() {
|
|||
else
|
||||
CONFIG_FILE='/dev/null'
|
||||
fi
|
||||
|
||||
grep "$OPTION" "$CONFIG_FILE" | sed 's/.*: //g' | tr -d \",
|
||||
}
|
||||
|
||||
get_systemd_service_file(){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue