Преглед изворни кода

Changed the Remote API reference to connect a container to a network in v1.22
and v1.23

Signed-off-by: Christian Böhme <development@boehme3d.de>

Christian Böhme пре 9 година
родитељ
комит
2bd365ae2f

+ 1 - 1
docs/reference/api/docker_remote_api_v1.22.md

@@ -3072,7 +3072,7 @@ Content-Type: application/json
 {
 {
   "Container":"3613f73ba0e4",
   "Container":"3613f73ba0e4",
   "EndpointConfig": {
   "EndpointConfig": {
-    "test_nw": {
+    "IPAMConfig": {
         "IPv4Address":"172.24.56.89",
         "IPv4Address":"172.24.56.89",
         "IPv6Address":"2001:db8::5689"
         "IPv6Address":"2001:db8::5689"
     }
     }

+ 1 - 1
docs/reference/api/docker_remote_api_v1.23.md

@@ -3106,7 +3106,7 @@ Content-Type: application/json
 {
 {
   "Container":"3613f73ba0e4",
   "Container":"3613f73ba0e4",
   "EndpointConfig": {
   "EndpointConfig": {
-    "test_nw": {
+    "IPAMConfig": {
         "IPv4Address":"172.24.56.89",
         "IPv4Address":"172.24.56.89",
         "IPv6Address":"2001:db8::5689"
         "IPv6Address":"2001:db8::5689"
     }
     }