Skip to content

Can't get it to work via Node.JS running within a container #82

@gdollard

Description

@gdollard

Hi, I am invoking throttle.start & stop directly in my Node.JS code. We then build an image of this (based on sitespeed.io:26.1.0) and pass a config.json file with all the various configuration for sitespeed (browsertime, connectivity, engine etc).

However, when I run the image and invoke my test function I get the following error:

ERROR: [browsertime] Error In My Test Scenario Error: Command failed: sudo ip link set dev ifb0 up
sitespeed-scenario | Cannot find device "ifb0"

I am running this on Mac.

I am able to run throttle with no problem when invoking the package directly from my global module but not when running in a container.

I noticed some settings needed when running the container on Linux (https://www.sitespeed.io/documentation/throttle/#run-in-docker-on-linux) but is there similar support for Mac?

I'd appreciate some info on this, thanks folks.

Metadata

Metadata

Assignees

No one assigned

    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