Nerdctl network inspect doesn't output enough information #1451
-
Hi all, I'm currently using nerdctl v0.22.0 and I noticed that Nerdctl output:
Docker output:
I noticed there are some important information missing, it would be better to have them for user's perspective and for writing automation tests (served as validation purpose). |
Beta Was this translation helpful? Give feedback.
Answered by
AkihiroSuda
Oct 19, 2022
Replies: 1 comment 1 reply
-
[
{
"CNI": {
"cniVersion": "1.0.0",
"name": "bridge",
"nerdctlID": "17f29b073143d8cd97b5bbe492bdeffec1c5fee55cc1fe2112c8b9335f8b6121",
"nerdctlLabels": {},
"plugins": [
{
"type": "bridge",
"bridge": "nerdctl0",
"isGateway": true,
"ipMasq": true,
"hairpinMode": true,
"ipam": {
"ranges": [
[
{
"gateway": "10.4.0.1",
"subnet": "10.4.0.0/24"
}
]
],
"routes": [
{
"dst": "0.0.0.0/0"
}
],
"type": "host-local"
}
},
{
"type": "portmap",
"capabilities": {
"portMappings": true
}
},
{
"type": "firewall",
"ingressPolicy": "same-bridge"
},
{
"type": "tuning"
}
]
},
"NerdctlID": "17f29b073143d8cd97b5bbe492bdeffec1c5fee55cc1fe2112c8b9335f8b6121",
"NerdctlLabels": {},
"File": "/etc/cni/net.d/nerdctl-bridge.conflist"
}
]
Which information is important to you? |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
fahedouch
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
nerdctl network inspect --mode=native
produces detailed info, but in a different format