Skip to content

Commit 7b1e50d

Browse files
authored
Compose: networking clarity (#22983)
<!--Delete sections as needed --> ## Description <!-- Tell us what you did and why --> ## 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 bd60c50 commit 7b1e50d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

content/manuals/compose/how-tos/networking.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,9 @@ networks:
164164
driver: custom-driver-1
165165
```
166166

167-
## Use a pre-existing network
167+
## Use an existing network
168+
169+
If you've manually created a bridge network outside of Compose using the `docker network create` command, you can connect your Compose services to it by marking the network as `external`.
168170

169171
If you want your containers to join a pre-existing network, use the [`external` option](/reference/compose-file/networks.md#external)
170172
```yaml

0 commit comments

Comments
 (0)