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:
Protocol | OTEL_EXPORTER_OTLP_ENDPOINT |
---|---|
OTLP/gRPC | http://host.docker.internal:4317 |
OTLP/HTTP | http://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?
- 💻 Deep dive into localhost & concepts →
- 🕵 How to query →
- 🌊 How to stream →
- 📚 Learn the language →
Need help or want to give feedback? Join our community channels.