Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filebeat 8.17.0 docker container not starting #42039

Closed
wargamez opened this issue Dec 13, 2024 · 3 comments
Closed

Filebeat 8.17.0 docker container not starting #42039

wargamez opened this issue Dec 13, 2024 · 3 comments
Labels
needs_team Indicates that the issue/PR needs a Team:* label

Comments

@wargamez
Copy link

docker run docker.elastic.co/beats/filebeat:8.17.0
Error: unknown command "container" for "filebeat"
Run 'filebeat --help' for usage.

@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Dec 13, 2024
@botelastic
Copy link

botelastic bot commented Dec 13, 2024

This issue doesn't have a Team:<team> label.

@fonfalleh
Copy link

Dockerfile uses CMD ["-environment" "container"], seems to work if overriding using --environment instead.
This worked up until 8.16.1 as far as I can tell.

Docs say that -environment should have one dash, so that's another place which could use some review as well.
https://www.elastic.co/guide/en/beats/filebeat/8.17/command-line-options.html#global-flags

Saw interesting commit, is this related? 15eae5f

@cmacknz
Copy link
Member

cmacknz commented Dec 16, 2024

Same as #42038

See #42038 (comment) for a work around.

@cmacknz cmacknz closed this as completed Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs_team Indicates that the issue/PR needs a Team:* label
Projects
None yet
Development

No branches or pull requests

3 participants