-
Notifications
You must be signed in to change notification settings - Fork 7.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove unsupported IPAM config entries in v3 #1636
Conversation
Signed-off-by: Joffrey F <[email protected]>
Improves 1.1.1 release notes. * Fixes docker#1565 * Fixes docker#1636
Improves 1.1.1 release notes. * Fixes docker#1565 * Fixes docker#1636
So how are we supposed to define the gateway and ip_range using the macvlan driver for example ? |
cc/ @shin- |
At the moment, those options are not available for Swarm services, hence their absence from the v3 format. Until then, if you depend on those options, please continue to use v2. |
not sure if I quite understood here. do you mean that it is not possible to specify a custom subnet in swarm using docker-compose v3? |
Why this solution was blocked by swarm. Setting up ip_range is required without swarm. # datacenter1 / server1
subnet: 10.1.1.0/8
ip_range: 10.1.1.1/24 # allow for container # datacenter2 / server123
subnet: 10.2.123.0/8
ip_range: 10.2.123.1/24 # allow for container and I cannot specify a subnet as 10.1.1.1/24 otherwise the containers on the multi-hosts will not see each other without additional settings. ❗ |
"gateway" and "ip_range" shoule be useful lots of users |
The removal of this feature in v3 is very unfortunate. Are there any workarounds for this when also depending on v3.x for other features such as https://docs.docker.com/compose/compose-file/#target? |
Nice one @shin- Thanks, that worked! |
Awesome SLA 4 years 🎉 😄 |
Signed-off-by: Joffrey F [email protected]
Proposed changes
Remove unsupported IPAM config entries in v3 because they are unsupported and will cause Compose to raise an error when used.
Related issues (optional)
docker/compose#4474 , docker/compose#4366