Version
docker-compose-linter/dclint-github-action@v1.6.0
YAML file where the error occurs
ports:
- '0.0.0.0:8200:8200' # IPv4
- '[::]:8200:8200' # IPv6
Command used to run
npx dclint@3.1.0 ./ -r -f github
Optional configuration (if different from the default)
none
Additional context
nothing
Current behavior (console output)
no-duplicate-exported-ports: Service "test-service" is exporting port "8200" which is already used by service "duplicati".
Expected behavior
The duplicate ports rule should allow using the same port for ipv4 and ipv6 on the same service, because the duplication in this situation isn't really a problem.
Version
docker-compose-linter/dclint-github-action@v1.6.0YAML file where the error occurs
Command used to run
npx dclint@3.1.0 ./ -r -f githubOptional configuration (if different from the default)
none
Additional context
nothing
Current behavior (console output)
Expected behavior
The duplicate ports rule should allow using the same port for ipv4 and ipv6 on the same service, because the duplication in this situation isn't really a problem.