Difference between revisions of "Docker network inspect"

From wikieduonline
Jump to navigation Jump to search
Line 40: 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 ==

Revision as of 15:56, 22 February 2023

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

docker run --network="host"

See also

Advertising: