Skip to content

Container keeps restarting (Synology NAS) #575

@poudenes

Description

@poudenes

Hey All,

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions