Skip to content

Commit 93289fe

Browse files
authored
ENGDOCS-2278 (#21256)
<!--Delete sections as needed --> ## Description Closes #21247 ## Related issues or tickets <!-- Related issues, pull requests, or Jira tickets --> ## Reviews <!-- Notes for reviewers here --> <!-- List applicable reviews (optionally @tag reviewers) --> - [ ] Technical review - [ ] Editorial review - [ ] Product review
1 parent e1d8136 commit 93289fe

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

content/reference/compose-file/services.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1221,7 +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).
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).
12251228

12261229
```yml
12271230
network_mode: "host"

0 commit comments

Comments
 (0)