Containers

Logging

You can pipe your logs into humanlog from Docker:

# find the container to monitor
docker ps

# stream the logs into humanlog
docker logs 86e17ac9f03b | humanlog

OpenTelemetry

If you work with container runtimes such as Docker, Orbstack, Podman, or Rancher, humanlog may not be directly reachable by your applications when they don't share the host network. However, you can still have your app send its data to humanlog by configuring it to export OpenTelemetry data to the following endpoints:

ProtocolOTEL_EXPORTER_OTLP_ENDPOINT
OTLP/gRPChttp://host.docker.internal:4317
OTLP/HTTPhttp://host.docker.internal:4318

The host.docker.internal hostname enables communication from programs running inside virtualized container runtimes (like Docker Desktop on Mac, OrbStack, Rancher Desktop, or Podman) to services on your host machine. If you're wondering which container runtime we prefer, we recommend Orbstack for its performance and developer experience.

What's Next?

Need help or want to give feedback? Join our community channels.