compose icon indicating copy to clipboard operation
compose copied to clipboard

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

Open reba0 opened this issue 3 years ago • 1 comments

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

reba0 avatar Feb 01 '22 12:02 reba0

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 31 '22 21:07 stale[bot]

This issue has been automatically closed because it had not recent activity during the stale period.

stale[bot] avatar Aug 13 '22 12:08 stale[bot]