Skip to content
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

The Compose file './docker-compose.yml' is invalid : enable_ipv6 is not allowed #32

Closed
julienloizelet opened this issue Jun 10, 2021 · 0 comments · Fixed by #35
Closed
Labels
bug Something isn't working

Comments

@julienloizelet
Copy link
Collaborator

Hi,

I am on ubuntu 18.04.1, docker 20.10.7 and docker-compose version 1.24.1.

When I try to run SETUP_ONLY=1 ./run-tests.sh, I have the following error messages :

ERROR: The Compose file './docker-compose.yml' is invalid because:
networks.wordpress_bouncer_network_ipv4 value Additional properties are not allowed ('enable_ipv6', 'name' were unexpected)
networks.wordpress_bouncer_network_ipv6 value Additional properties are not allowed ('enable_ipv6', 'name' were unexpected)
networks.wordpress_bouncer_network_ipv6.ipam.config value Additional properties are not allowed ('gateway' was unexpected)

And it seems that enable_ipv6 property is not allowed with version 3 : docker/compose#4958

I changed version "3" by "2.3" and I could run the script, but then (when I tried to test the plugin) I had other errors probably due to this change.

As a workaround, I removed all unallowed additional properties (enable_ipv6, name, gateway) from the docker-compose.yml file: the script ran well, and the plugin seems to work, but I guess I will have issue with IPv6 feature.

@mobula9 mobula9 added the bug Something isn't working label Jun 12, 2021
mobula9 added a commit that referenced this issue Jun 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants