You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/reference/compose-file/services.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1221,8 +1221,10 @@ There is a performance penalty for applications that swap memory to disk often.
1221
1221
1222
1222
- `none`: Turns off all container networking.
1223
1223
- `host`: Gives the container raw access to the host's network interface.
1224
-
- `service:{name}`: Gives the containers access to the specified service only. For more information, see [Container networks](/manuals/engine/network/_index.md#container-networks).
1225
-
- `container:{name}`: Gives the service container access to the specified container.
1224
+
- `service:{name}`: Gives the container access to the specified container by referring to its service name.
1225
+
- `container:{name}`: Gives the container access to the specified container by referring to its container ID.
1226
+
1227
+
For more information container networks, see the [Docker Engine documentation](/manuals/engine/network/_index.md#container-networks).
0 commit comments