- 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> |
||
---|---|---|
.. | ||
baktainer | ||
baktainer.rb |