If you are reporting a problem, please make sure the following information are provided:
1)Version of docker engine and docker-compose.
Docker version 17.03.1-ce, build c6d412e
docker-compose version 1.11.2, build dfed245
2)Config files of harbor, you can get them by packaging "harbor.cfg" and files in the same directory, including subdirectory.
not required
3)Log files, you can get them by package the /var/log/harbor/ .
not required
Problem:
By default harbor creates it's own bridge network
networks:
harbor:
external: false
the problem is i can't tell the docker daemon which subnet to create start from (https://github.com/moby/moby/issues/21776) and unfortunately i am unlucky enough that the subnet chosen overlaps with one of our internal subnets.
I can simply hack up the compose file and fix this but won't be very portable though upgrades.
Happy to look at implementing a new config option if someone points me in the right direction
I'm afraid currently you have to do the hack, but this is a valid request we'll consider it.
encounter the same issue yesterday~~
solved by
docker-compose down -vdocker-compose.yml...
networks:
harbor:
ipam:
driver: default
config:
- subnet: 172.28.0.0/16
docker-compose up -dThanks @moooofly 鈥撀燼ppreciate the feedback and workaround. @reasonerjt does it make sense for @moooofly to document this in our wiki as a workaround?
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.
I met it too, thx
Most helpful comment
solved by
docker-compose down -vdocker-compose.ymldocker-compose up -d