Skip to content

Running test suits only works on Linux hosts #2358

Closed

Description

@K4ST0R

Running the suits only works on linux because of the way docker is started.

'docker run -d --network host $(' +

--network hostis not supported on Windows and Mac. (https://docs.docker.com/network/host/)

Activity

  1. leibale commented on Jan 3, 2023

    @leibale
    Contributor

    I tried to make it work on macOS in #1792, the problem is that I only have a Linux machine, so I cannot test my changes locally which makes implementing that very hard.. if someone has an idea on how to make it work on any OS please share it.. :)

  2. K4ST0R commented on Jan 3, 2023

    @K4ST0R
    ContributorAuthor

    I tried to make it work on macOS in #1792, the problem is that I only have a Linux machine, so I cannot test my changes locally which makes implementing that very hard.. if someone has an idea on how to make it work on any OS please share it.. :)

    You can replace
    'docker run -d --network host $(' +
    By
    `docker run -dp ${port.toString()}:${port.toString()} $(` +

    Works fine on my Mac :)

  3. leibale commented on Jan 4, 2023

    @leibale
    Contributor

    I tried to make it work on macOS in #1792, the problem is that I only have a Linux machine, so I cannot test my changes locally which makes implementing that very hard.. if someone has an idea on how to make it work on any OS please share it.. :)

    You can replace 'docker run -d --network host $(' + By `docker run -dp ${port.toString()}:${port.toString()} $(` +

    Works fine on my Mac :)

    This won't work for cluster (cause the nodes won't be able to communicate)

  4. added a commit that references this issue on Jul 10, 2026
    d29677a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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