From 697239b5083725bb78be24ca9c9032d8a62e0a7d Mon Sep 17 00:00:00 2001 From: josegonzalez Date: Tue, 7 Feb 2023 08:10:28 -0500 Subject: [PATCH] docs: add a note mentioning that network aliases only work when attached to a network other than bridge --- docs/networking/network.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/networking/network.md b/docs/networking/network.md index 2d95684dd..f81d9f7ed 100644 --- a/docs/networking/network.md +++ b/docs/networking/network.md @@ -196,7 +196,9 @@ dokku network:set --global initial-network #### Network Aliases -When a container created for a deployment is being attached to a network - regardless of which `attach` property was used - a network alias of the pattern `APP.PROC_TYPE` will be added to all containers. This can be used to load-balance requests between containers. For an application named `node-js-app` with a process type of web, the network alias - or resolvable DNS record within the network - will be: +> Note: This feature is only available when an app has been attached to a network other than the default `bridge` network. + +When a container created for a deployment is being attached to a network - regardless of which network property was used - a network alias of the pattern `APP.PROC_TYPE` will be added to all containers. This can be used to load-balance requests between containers. For an application named `node-js-app` with a process type of web, the network alias - or resolvable DNS record within the network - will be: ``` node-js-app.web