Skip to content

Fix #752: Network containers showing 'none' in config panel#766

Open
rodionsteshenko wants to merge 1 commit intojesseduffield:masterfrom
rodionsteshenko:fix-issue-752
Open

Fix #752: Network containers showing 'none' in config panel#766
rodionsteshenko wants to merge 1 commit intojesseduffield:masterfrom
rodionsteshenko:fix-issue-752

Conversation

@rodionsteshenko
Copy link

Root cause: NetworkList API returns network.Summary which doesn't populate Containers. Switched to NetworkInspect which returns the full network resource including container mappings. Clean one-file fix in pkg/commands/network.go. Tested on macOS ARM (Apple Silicon).

NetworkList returns network.Summary which doesn't include container
details in the Containers field. This causes the network config panel
to always show 'Containers: none' even when containers are connected
to the network.

Fix by calling NetworkInspect for each network during refresh to get
the full inspect data including connected containers.

Fixes jesseduffield#752
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.

1 participant