Difference between revisions of "Docker network inspect"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{Draft}}
 
{{Draft}}
 +
{{lc}}
  
 
  [[docker network]] inspect
 
  [[docker network]] inspect
Line 12: Line 13:
 
         '''"Driver": "[[bridge]]",'''
 
         '''"Driver": "[[bridge]]",'''
 
         "EnableIPv6": false,
 
         "EnableIPv6": false,
         "IPAM": {
+
         "[[IPAM]]": {
 
             "Driver": "default",
 
             "Driver": "default",
 
             "Options": null,
 
             "Options": null,
Line 39: Line 40:
 
* <code>[[docker network create]]</code>
 
* <code>[[docker network create]]</code>
 
* <code>[[docker network ls]]</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: