The Docker Bench for Security is a script that checks for dozens of common best-practices around deploying Docker containers in production.
9.17k
stars
1.02k
forks
source link
Sed error when specifying checks to include and exclude when runnning on a Mac #503
Closed
gavinmporter closed 10 months ago
I'm using docker-bench-security on a Mac to check images.
Using parameters that specify both checks to include and exclude results in a sed error on BSD systems. For example,
sed_bsd_p_fix.txt
This can be fixed by modifying the sed command to add an explicit semi-colon after the p, see attached patch.