Skip to content

Commit ccf26b4

Browse files
committed
clarity
1 parent 283590f commit ccf26b4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

content/reference/compose-file/services.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1221,8 +1221,10 @@ There is a performance penalty for applications that swap memory to disk often.
12211221

12221222
- `none`: Turns off all container networking.
12231223
- `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).
12261228

12271229
```yml
12281230
network_mode: "host"

0 commit comments

Comments
 (0)