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

Merge pull request #7180 from rhuss/patch-1

Fixed parent-child relationship description
James Turnbull пре 11 година
родитељ
комит
b9024174be
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      docs/sources/userguide/dockerlinks.md

+ 2 - 2
docs/sources/userguide/dockerlinks.md

@@ -162,8 +162,8 @@ containers also shows `web/db` in the `NAMES` column. This tells us that the
 `web` container is linked to the `db` container in a parent/child relationship.
 `web` container is linked to the `db` container in a parent/child relationship.
 
 
 So what does linking the containers do? Well we've discovered the link creates
 So what does linking the containers do? Well we've discovered the link creates
-a parent-child relationship between the two containers. The parent container,
-here `web`, can access information on the child container `db`. To do this
+a parent-child relationship between the two containers. The child container,
+here `web`, can access information on the parent container `db`. To do this
 Docker creates a secure tunnel between the containers without the need to
 Docker creates a secure tunnel between the containers without the need to
 expose any ports externally on the container. You'll note when we started the
 expose any ports externally on the container. You'll note when we started the
 `db` container we did not use either of the `-P` or `-p` flags. As we're
 `db` container we did not use either of the `-P` or `-p` flags. As we're