File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
engine/userguide/networking/default_network Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,10 @@ detail on container linking in default `bridge` network.
21
21
> ** Warning** : The ` --link ` flag is a deprecated legacy feature of Docker. It may eventually
22
22
be removed. Unless you absolutely need to continue using it, we recommend that you use
23
23
user-defined networks to facilitate communication between two containers instead of using
24
- ` --link ` .
24
+ ` --link ` . One feature that user-defined networks do not support that you can do
25
+ with ` --link ` is sharing environmental variables between containers. However,
26
+ you can use other mechanisms such as volumes to share environment variables
27
+ between containers in a more controlled way.
25
28
26
29
## Connect using network port mapping
27
30
You can’t perform that action at this time.
0 commit comments