Changes

From SME Server
Jump to navigationJump to search
8 bytes added ,  22:00, 10 August 2022
Line 152: Line 152:     
list all Network and Gateway
 
list all Network and Gateway
# docker network inspect `docker network ls|awk '(NR!=1) {print $1 }'`|jq '.[].IPAM.Config[]'
+
# docker network inspect `docker network ls|awk '(NR!=1) {print $1 }'`|jq '.[].IPAM.Config[]'
{
+
{
  "Subnet": "172.17.0.0/16",
+
  "Subnet": "172.17.0.0/16",
  "Gateway": "172.17.0.1"
+
  "Gateway": "172.17.0.1"
}
+
}
{
+
{
  "Subnet": "172.18.0.0/16",
+
  "Subnet": "172.18.0.0/16",
  "Gateway": "172.18.0.1"
+
  "Gateway": "172.18.0.1"
}
+
}
 
list all subnet
 
list all subnet
 
  # docker network inspect `docker network ls|awk '(NR!=1) {print $1 }'`|jq '.[].IPAM.Config[].Subnet'
 
  # docker network inspect `docker network ls|awk '(NR!=1) {print $1 }'`|jq '.[].IPAM.Config[].Subnet'
Line 173: Line 173:  
  "172.18.0.1"
 
  "172.18.0.1"
 
from there we could check if all the network are indeed in db network of SME
 
from there we could check if all the network are indeed in db network of SME
      
== usefull command for users ==
 
== usefull command for users ==
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,250

edits

Navigation menu