You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed this nice tool to check my docker/containers. It restart all the time after it finished the checks.
Here my docker-compose:
services:
docker-bench-security:
image: docker/docker-bench-security
container_name: docker-bench-security
hostname: docker-bench-security
restart: always
volumes:
- /etc/localtime:/etc/localtime:ro
- /etc:/etc:ro
- /var/lib:/var/lib:ro
- /var/run/docker.sock:/var/run/docker.sock:ro
# - /usr/bin/docker:/usr/bin/docker:ro # On NAS its a different location see line below
- /usr/local/bin/docker:/usr/bin/docker:ro
# - /usr/bin/docker:/usr/bin/docker:ro # On NAS its a different location see line above
Activity
poudenes commentedon Nov 9, 2025
My fault. It's running a script and then stop. Removed the compose because it will restart all the time. SORRY