Skip to content

default Network subnet will be incremented on each down and up (Version 2.2.3 #9136

@reba0

Description

@reba0

Hi
I have tested the lastst version 2.2.3 on linux
I saw that on each docker-compose down and up the Network Subnet will be incremented by 1 ( eg 172.18.0.0 -> 172.19.0.0 -> 172.20.0.0 aso )

Tested on Raspi with 64 bit
with v2.2.3/docker-compose-linux-aarch64

docker-compose Network part :
.....
networks:
#Docker-compose V2.x.x
default:
name: iotstack_default

tryed also to fix the inctemental with with fixed IP Subnet
networks:
default:
name: iotstack_default
ipam:
config:
- subnet: 172.18.0.0/16
-> with that config the Subnet is stable but the is no gateway

tryed also to fix them again
networks:
default:
name: iotstack_default
ipam:
config:
- subnet: 172.18.0.0/16
- gateway 172.18.0.1

works the first time after an down and up again the following Error aperes :
failed to create network iotstack_default: Error response from daemon: Invalid subnet : invalid CIDR address:

Remark Problem was not seen on 2.2.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions