github netresearch/ofelia v0.11.1
v0.11.1 - Docker Socket Compatibility Fix

latest releases: v0.25.0, v0.24.0, v0.23.1...
6 months ago

Summary

This release fixes critical Docker connectivity issues introduced in v0.11.0, where users with Unix sockets or non-TLS TCP connections experienced "protocol error" failures.

๐Ÿ”ง Fixed

Docker Socket HTTP/2 Compatibility (#267)

  • Fixed Docker client connection failures on non-TLS connections introduced in v0.11.0
  • OptimizedDockerClient now only enables HTTP/2 for HTTPS (TLS) connections
  • Resolves "protocol error" issues when connecting to:
    • /var/run/docker.sock (Unix socket)
    • tcp://localhost:2375 (TCP cleartext)
    • http:// URLs

Container Monitoring Reliability (#267)

  • Added polling fallback for container state detection alongside Docker events API
  • Prevents hangs when events API is unavailable or unreliable
  • Properly handles go-dockerclient event listener cleanup (upstream issue #911)

๐Ÿ”„ Changed

  • Upgraded to netresearch/go-cron v0.5.0 (forked from robfig/cron with timezone fixes)
  • Updated golangci-lint configuration for v2 compatibility
  • Added 2-minute timeout for integration tests

๐Ÿงช Internal

  • Enforced strict failure policy for integration tests (no silent skips)
  • Added comprehensive panic recovery for upstream go-dockerclient issues
  • Improved test reliability with mock Docker server compatibility

Upgrade

This is a drop-in replacement for v0.11.0. No configuration changes required.

# Docker
docker pull ghcr.io/netresearch/ofelia:v0.11.1

# Binary
# Download from assets below

Full Changelog: v0.11.0...v0.11.1

Included in this release

View all PRs and Issues included in this release

Don't miss a new ofelia release

NewReleases is sending notifications on new releases.