lynis-docker icon indicating copy to clipboard operation
lynis-docker copied to clipboard

Docker details and examples for the Lynis project

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