baktainer/app/lib
James Paterni 1fa85dac55
Some checks are pending
Test and Build Docker Image / test (push) Waiting to run
Test and Build Docker Image / build (push) Blocked by required conditions
Fix container running state detection for different Docker API versions
- Handle both string and hash formats for container.info['State']
- Add fallback to container.json['State'] when needed
- Fix "Container not running" error when containers are actually running
- Support multiple Docker API response formats

The Docker API gem can return State as either:
- A simple string: "running"
- A hash: {"Status": "running", "Running": true, ...}

This fix ensures compatibility with different Docker daemon versions
and API response formats.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-15 08:18:46 -04:00
..
baktainer Fix container running state detection for different Docker API versions 2025-07-15 08:18:46 -04:00
baktainer.rb Fix health check server by using Puma with Rack directly 2025-07-14 23:15:26 -04:00