Open skiffer-git opened 1 year ago
That looks odd indeed; was there a specific situation that led to this issue? Mostly considering things like;
--default-address-pool
or similar options)?/var/lib/docker
)version: '3'
networks:
server:
driver: bridge
ipam:
driver: default
config:
- subnet: '${DOCKER_BRIDGE_SUBNET}'
gateway: '${DOCKER_BRIDGE_GATEWAY}'
services:
mysql:
image: mysql:5.7
ports:
- "${MYSQL_PORT}:3306"
container_name: mysql
volumes:
- "${DATA_DIR}/components/mysql/data:/var/lib/mysql"
- "/etc/localtime:/etc/localtime"
environment:
MYSQL_ROOT_PASSWORD: "${MYSQL_PASSWORD}"
restart: always
networks:
server:
ipv4_address: ${MYSQL_NETWORK_ADDRESS}
I just use docker compose down
or up -d
, using the above yml file.
Did you have failures when creating new networks (thinking if it possibly created the network "partially", but because of that didn't clean up) It's possible, but I am not sure. Is there any way I can clean up this network?It could be caused by upgrading the Docker version. Previously, I used docker-compose, but after upgrading Docker, I directly used docker compose.
Did you change any daemon settings at some point (e.g. did you configure --default-address-pool or similar options)? No
3,. Did you manually remove state (e.g. clean /var/lib/docker) No
We are working on an open-source Instant Messaging (https://github.com/OpenIMSDK) project, which involves a lot of components, making the deployment complicated. Therefore, this issue is quite important for us
@akerouanton any ideas?
Nope, no ideas.
only in my machine
Does that mean you can consistently reproduce this on your machine, but not other people in your team/company? Does they reappear when you reboot your VM?
Is there any way I can clean up this network?
Yes, you can delete them with:
$ sudo ip link del br-060f06276afb
$ sudo ip link del br-44e4088c44fa
$ sudo ip link del br-5ad852a3ae66
$ sudo ip link del br-d1b3aac5521e
It could be caused by upgrading the Docker version.
What version were you using?
Description
I want to remove three networks 172.28.0.1, 172.20.0.1, 172.19.0.1, but they cannot be found using 'docker network ls', and 172.28.0.1 is displayed twice.
Reproduce
only in my machine
Expected behavior
No response
docker version
docker info
Additional Info
No response