Explicit IPv6 address in ports
compose fails to deploy stack
#3533
Labels
area/stack-creation
bug/confirmed
dep/libcompose
Indicates that the issue requires an evolution in the libcompose dependency.
kind/bug
Applied to Bugs
stack/standalone
Bug description
When trying to create a stack which uses an explicit IPv6 address in
ports
, portainer responds with an error.Using an IPv4 address instead works fine.
docker-compose supports both IPv4 and IPv6 syntax and starts the docker-proxy with the specified configuration derived from
ports
.Expected behavior
Portainer creates stack successfully.
Portainer Logs
The Portainer container logs:
The Portainer WebUI displays the following error:
Deployment error Service 'alpine' configuration key 0 value Does not match format 'ports'
Browser console shows:
Steps to reproduce the issue:
replacing
- "2001:db8::1:80:80/tcp"
with- "192.0.2.1:80:80/tcp"
results in a successful deployment. Both versions result in a successful deployment when using docker-compose.Technical details:
The text was updated successfully, but these errors were encountered: