Skip to content

fix: Update docker IP inspection for newer Docker versions#1043

Merged
NLX-SeokHwanKong merged 2 commits intoloxilb-io:mainfrom
backguynn:main
Dec 15, 2025
Merged

fix: Update docker IP inspection for newer Docker versions#1043
NLX-SeokHwanKong merged 2 commits intoloxilb-io:mainfrom
backguynn:main

Conversation

@backguynn
Copy link
Collaborator

Newer Docker versions (29.x+) store IP addresses in .NetworkSettings.Networks
map instead of directly in .NetworkSettings.IPAddress. Updated get_llb_peerIP()
function to:

  • Try new Networks map format first
  • Fall back to legacy IPAddress field for compatibility
  • Set default IPs when both methods fail
  • Add error suppression to prevent template parsing errors

This fixes "map has no entry for key IPAddress" errors and ensures
compatibility across Docker versions.

backguynn and others added 2 commits December 12, 2025 17:36
Removed K3s installation and related kubectl commands from the workflow.
@NLX-SeokHwanKong NLX-SeokHwanKong merged commit 893bcc2 into loxilb-io:main Dec 15, 2025
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants