elastic / elastic/elastic-otel-node

update mockotlpserver Dockerfile to support passing `docker run` args to the CLI

Open
#494 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12
Forks
22
Avg merge
16h 54m
Merged PRs (30d)
5

Description

It would be nice to be able to pass CLI arguments to mockotlpserver when running it via the published Docker image.
CUrrently that doesn't work:

```
docker run --rm -it -p 4317:4317 -p 4318:4318 --name mockotlpserver \
ghcr.io/elastic/elastic-otel-node/mockotlpserver --help
```

That `--help` arg is going to `node` rather than to the mockotlpserver `lib/cli.js`. Low priority.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.