Skip to content

The ability to select the default docker network route and configure network route priority #658

@Daniel-dev22

Description

@Daniel-dev22

Tell us about your request
A clear and concise description of what you want to happen or the change you would like to see

It would be nice to be able to set the default docker route to a docker network name defined in the compose and define the route priority in either a dictionary or list where the order in the yaml is the order docker would use.

Which service(s) is this request for?
Let us know which product(s) you want this for?

Docker compose I think and maybe more under the hood I am not sure.

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

There's no way currently to set the default route in docker or to set the priority it uses. Rather the default route and priority is currently selected based on the alphabet of the network name.
That makes for a bad user experience and a lot of confusion when using docker networks.

Are you currently working around the issue?
A clear and concise description of any alternative solutions or features you've considered or are using today.

My work around is to create networks but append an alphabet letter a-example-network for example so that network is the default network for example and subsequent networks would come after a.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

Labels

community_newNew idea raised by a community contributor

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions