Skip to content

Docker Swarm error even if no Docker Swarm installed. #61

@amitaqua

Description

@amitaqua

Hi Team,
When docker-bench runs - it will try and detect if Docker Swarm exists and if not it will print an error such as:

dockerd-current: time="2020-04-02T18:19:01.654114156+11:00" level=error msg="Error retrieving swarm unlock key" error="This node is not a swarm ma
nager. Use "docker swarm init" or "docker swarm join" to connect this node to swarm and try again."

This is printed into /var/log/messages and can confuse the users who might think they have an issue with Docker.

Maybe if 'Docker Swarm' does not exists - simply skip that test or at least skip that message being printed?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions