Skip to content

Containers + Network views issue - Is v0.5.26 release the same as the code on master / main? #195

@aphorise

Description

@aphorise

Encountered the same issue as what's described on openwrt/luci#7144 using v0.5.26 where the following two files need to be manually edited to read the same as what's on master.

  1. /usr/lib/lua/luci/model/cbi/dockerman/containers.lua - Line 89:

    				data[index]["_image"] = iv.RepoTags and iv.RepoTags[1] or (next(iv.RepoDigests) and (iv.RepoDigests[1]:gsub("(.-)@.+", "%1") .. ":<none>")) or ""
    
  2. /usr/lib/lua/luci/model/cbi/dockerman/networks.lua - Lines 44-45

    		data[index]["_subnet"] = v.IPAM and v.IPAM.Config and v.IPAM.Config[1] and v.IPAM.Config[1].Subnet or nil
    		data[index]["_gateway"] = v.IPAM and v.IPAM.Config and v.IPAM.Config[1] and v.IPAM.Config[1].Gateway or nil
    

Before Image

After Image

Version information

  • openwrt version: 24.10
  • luci version: 25.185.45933~25d10fa
  • docker daemon version: 27.3.1
  • dockerman version: v0.5.26

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions