Skip to content

Add swarm init --default-addr-pool configurability in install.sh #70

@audacioustux

Description

@audacioustux

What problem will this feature address?

Hi!
The docker swarm init being done in the install.sh by default creates ingress network with 10.0.0.0 superblock.
Which caused routing issue within AWS VPC, which had CIDR overlapping with the swarm ingress network IPAM.
I had to fork the script as workaround as below:

https://gist.github.com/audacioustux/0019db540f4330e9ade825595882abbc#file-dokploy-sh-L130

docker swarm init --advertise-addr $advertise_addr --default-addr-pool 172.20.0.0/16 --default-addr-pool-mask-length 24

Describe the solution you'd like

Somehow let the user of install.sh to add such flags with environment variables, like: DOCKER_SWARM_INIT_ARGS

Describe alternatives you've considered

manual installation... not a nice solution...

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions