Network-scoped aliases are really handy when dealing with a multi-container setup, so I'm really happy that they implemented this!
In previous versions, only the name of a container would be aliased to its IP address, which can make it hard to deploy a setup with multiple containers in a given network group that should address each other using their names (e.g. "api" host connects to "postgres") and then have multiple instances of those groups on the same server (as container names need to be unique).
Comments
Network-scoped aliases are really handy when dealing with a multi-container setup, so I'm really happy that they implemented this!
In previous versions, only the name of a container would be aliased to its IP address, which can make it hard to deploy a setup with multiple containers in a given network group that should address each other using their names (e.g. "api" host connects to "postgres") and then have multiple instances of those groups on the same server (as container names need to be unique).