Difference between revisions of "Docker network inspect"

From wikieduonline
Jump to navigation Jump to search
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Draft}}
 
{{Draft}}
 +
{{lc}}
  
 +
[[docker network]] inspect
  
 
  docker network inspect YOUR_DOCKER_NETWORK
 
  docker network inspect YOUR_DOCKER_NETWORK
Line 9: Line 11:
 
         "Created": "2019-06-16T14:39:40.264239902+04:00",
 
         "Created": "2019-06-16T14:39:40.264239902+04:00",
 
         "Scope": "local",
 
         "Scope": "local",
         "Driver": "bridge",
+
         '''"Driver": "[[bridge]]",'''
 
         "EnableIPv6": false,
 
         "EnableIPv6": false,
         "IPAM": {
+
         "[[IPAM]]": {
 
             "Driver": "default",
 
             "Driver": "default",
 
             "Options": null,
 
             "Options": null,
Line 32: Line 34:
  
  
 +
docker network inspect YOUR_DOCKER_NETWORK
 +
docker network inspect bridge
  
 +
== Related terms ==
 +
* <code>[[docker network create]]</code>
 +
* <code>[[docker network ls]]</code>
 +
[[docker run --network="host"]]
  
 
== See also ==
 
== See also ==
 
* {{docker network}}
 
* {{docker network}}
* {{docker}}
+
* {{Docker networking}}
  
  
 
[[Category:Docker]]
 
[[Category:Docker]]

Latest revision as of 14:23, 31 January 2024

This article is a Draft. Help us to complete it.

docker network inspect
docker network inspect YOUR_DOCKER_NETWORK
[
   {
       "Name": "YOUR_DOCKER_NETWORK",
       "Id": "ttfe458eb9a249fcae91561aa48891310d9a61f1b6936edd1dc55fb981cbd65g",
       "Created": "2019-06-16T14:39:40.264239902+04:00",
       "Scope": "local",
       "Driver": "bridge",
       "EnableIPv6": false,
       "IPAM": {
           "Driver": "default",
           "Options": null,
           "Config": [
               {
                   "Subnet": "172.19.0.0/16",
                   "Gateway": "172.19.0.1"
               }
           ]
       },
       "Internal": false,
       "Attachable": true,
       "Ingress": false,
       "ConfigFrom": {
           "Network": ""
       },
       "ConfigOnly": false,
       "Containers": {
.../...


docker network inspect YOUR_DOCKER_NETWORK
docker network inspect bridge

Related terms[edit]

docker run --network="host"

See also[edit]

Advertising: