Skip to content

journalctl is missing in alpine image #23016

@xiaozongyang

Description

@xiaozongyang

A note for the community

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Problem

Binary /usr/bin/journalctl is not found in the Alpine base image. When I use the journald source I got the following error, the image is ghcr.io/vectordotdev/vector:nightly-2025-05-08-alpine

2025-05-08T07:43:43.542506Z ERROR source{component_kind="source" component_id=kubelet_logs component_type=journald}: vector::internal_events::journald: Error starting journalctl process. error=journalctl failed to execute: No such file or directory (os error 2) error_type="command_failed" stage="receiving" internal_log_rate_limit=true

When I change the image to ghcr.io/vectordotdev/vector:nightly-2025-05-08-debian, this error message disappears.

Configuration


Version

ghcr.io/vectordotdev/vector:nightly-2025-05-08-alpine

Debug Output


Example Data

No response

Additional Context

No response

References

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    source: journaldAnything `journald` source relatedtype: bugA code related bug.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions