You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
dockerClient.inspectContainerCmd(id).exec() throws exception. version 3.5.1 #2457
can you share a project that reproduces the issue, please? This 161/udp/tcp seems incorrect.
Yes, it seems that there was an error in parsing '161/udp/tcp'. Does the current version not support this type of port binding parsing? The complete HostConfig configuration returned by executing Docker Inspect containerId is as follows.
Activity
eddumelendez commentedon Jun 19, 2025
can you share a project that reproduces the issue, please? This
161/udp/tcpseems incorrect.zhangyzGithub commentedon Jun 23, 2025
Yes, it seems that there was an error in parsing '161/udp/tcp'. Does the current version not support this type of port binding parsing? The complete HostConfig configuration returned by executing Docker Inspect containerId is as follows.
"HostConfig": {
"Binds": [
"/var/zdns/appdata/zdns-mo-snmp/conf:/etc/snmp",
"/etc/localtime:/etc/localtime:ro",
"/var/zdns/appdata/zdns-mo-snmp/setenv.sh:/opt/setup/zdns-mo-snmp/setenv.sh:ro"
],
"ContainerIDFile": "",
"LogConfig": {
"Type": "json-file",
"Config": {}
},
"NetworkMode": "host",
"PortBindings": {
"161/udp/tcp": [
{
"HostIp": "0.0.0.0",
"HostPort": "161"
}
]
},
"RestartPolicy": {
"Name": "unless-stopped",
"MaximumRetryCount": 0
},
"AutoRemove": false,
"VolumeDriver": "",
"VolumesFrom": null,
"CapAdd": null,
"CapDrop": null,
"Dns": [],
"DnsOptions": [],
"DnsSearch": [],
"ExtraHosts": null,
"GroupAdd": null,
"IpcMode": "shareable",
"Cgroup": "",
"Links": null,
"OomScoreAdj": 0,
"PidMode": "",
"Privileged": false,
"PublishAllPorts": false,
"ReadonlyRootfs": false,
"SecurityOpt": null,
"UTSMode": "",
"UsernsMode": "",
"ShmSize": 67108864,
"Runtime": "runc",
"ConsoleSize": [
0,
0
],
"Isolation": "",
"CpuShares": 0,
"Memory": 0,
"NanoCpus": 0,
"CgroupParent": "",
"BlkioWeight": 0,
"BlkioWeightDevice": null,
"BlkioDeviceReadBps": null,
"BlkioDeviceWriteBps": null,
"BlkioDeviceReadIOps": null,
"BlkioDeviceWriteIOps": null,
"CpuPeriod": 0,
"CpuQuota": 0,
"CpuRealtimePeriod": 0,
"CpuRealtimeRuntime": 0,
"CpusetCpus": "",
"CpusetMems": "",
"Devices": null,
"DeviceCgroupRules": null,
"DiskQuota": 0,
"KernelMemory": 0,
"MemoryReservation": 0,
"MemorySwap": 0,
"MemorySwappiness": null,
"OomKillDisable": false,
"PidsLimit": 0,
"Ulimits": [
{
"Name": "nofile",
"Hard": 262144,
"Soft": 262144
}
],
"CpuCount": 0,
"CpuPercent": 0,
"IOMaximumIOps": 0,
"IOMaximumBandwidth": 0,
"MaskedPaths": [
"/proc/asound",
"/proc/acpi",
"/proc/kcore",
"/proc/keys",
"/proc/latency_stats",
"/proc/timer_list",
"/proc/timer_stats",
"/proc/sched_debug",
"/proc/scsi",
"/sys/firmware"
],
"ReadonlyPaths": [
"/proc/bus",
"/proc/fs",
"/proc/irq",
"/proc/sys",
"/proc/sysrq-trigger"
]
}