#12123·loki

Docker: use command instead of entrypoint

Author: J0WICreated Mar 4, 2024Updated Sep 27, 2026
Labelstype/featuredocker

Describe the bug Cannot run custom commands in the image.

See also

To Reproduce Steps to reproduce the behavior: docker run --rm grafana/loki echo "test" Returns failed parsing config: config.yaml,config/config.yaml does not exist, set config.file for custom config path

Expected behavior Should run echo "test" inside the container.

Patch would be very similar to the one described in https://github.com/grafana/grafana/discussions/38361.

Environment:

  • Docker

Screenshots, Promtail config, or terminal output n/a