Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 387 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 387 Bytes

lynis-docker

Docker details and examples for the Lynis project

Retrieve project

git clone https://github.com/CISOfy/lynis-docker cd lynis-docker

Build the image

docker build --no-cache -t lynis:latest .

Start image

docker run -d --tty --name lynis lynis:latest

Run Lynis inside the container

docker exec -i --tty [containerID] /bin/bash cd /root/lynis ./lynis audit system