{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/10096","labels_url":"https://api.github.com/repos/docker/docker/issues/10096/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/10096/comments","events_url":"https://api.github.com/repos/docker/docker/issues/10096/events","html_url":"https://github.com/docker/docker/issues/10096","id":54366518,"number":10096,"title":"Docker gives out IP addresses already in use (duplicate because #6561) was closed.","user":{"login":"damm","id":1010,"avatar_url":"https://avatars.githubusercontent.com/u/1010?v=3","gravatar_id":"","url":"https://api.github.com/users/damm","html_url":"https://github.com/damm","followers_url":"https://api.github.com/users/damm/followers","following_url":"https://api.github.com/users/damm/following{/other_user}","gists_url":"https://api.github.com/users/damm/gists{/gist_id}","starred_url":"https://api.github.com/users/damm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damm/subscriptions","organizations_url":"https://api.github.com/users/damm/orgs","repos_url":"https://api.github.com/users/damm/repos","events_url":"https://api.github.com/users/damm/events{/privacy}","received_events_url":"https://api.github.com/users/damm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-14T19:41:27Z","updated_at":"2015-01-14T19:56:08Z","closed_at":null,"body":"Hi,\r\n\r\nI am trying to get my Docker containers (in a datacenter) to be on a specific link and have it hand out IP addresses that are not in use. So docker is running like docker -d -b=br0\r\n\r\nThe subnets I have tried are below:\r\n\r\n10.0.0.1/24\r\n10.1.10.1/24\r\n172.16.0.1/24\r\n\r\nThere is nothing special in my configuration my forward delay is 1 on the bridge (I used to set 9).\r\n\r\n    Switches Involved.\r\n        Cisco SG-300 24 port\r\n        Cisco SG-200 24 port\r\n\r\nRapid STP is enabled so basically what happens is it flaps the ip between the ports assuming it. This makes it impossible to docker build on 2 servers at once (apt-get update usually fails)\r\n\r\nI don't care what IP is given out; I just cannot be an IP address already in use."},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/69980394","html_url":"https://github.com/docker/docker/issues/10096#issuecomment-69980394","issue_url":"https://api.github.com/repos/docker/docker/issues/10096","id":69980394,"user":{"login":"damm","id":1010,"avatar_url":"https://avatars.githubusercontent.com/u/1010?v=3","gravatar_id":"","url":"https://api.github.com/users/damm","html_url":"https://github.com/damm","followers_url":"https://api.github.com/users/damm/followers","following_url":"https://api.github.com/users/damm/following{/other_user}","gists_url":"https://api.github.com/users/damm/gists{/gist_id}","starred_url":"https://api.github.com/users/damm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damm/subscriptions","organizations_url":"https://api.github.com/users/damm/orgs","repos_url":"https://api.github.com/users/damm/repos","events_url":"https://api.github.com/users/damm/events{/privacy}","received_events_url":"https://api.github.com/users/damm/received_events","type":"User","site_admin":false},"created_at":"2015-01-14T19:56:08Z","updated_at":"2015-01-14T19:56:08Z","body":"Oh I know there's work 'arounds' by configuring a bridge's CIDR to not collide with another hosts; but I still think we should check the IP is available for allocating it.\r\n\r\nI've had false starts on containers (even with the default 172.17.0.0 subnet) because the IP was in use and Docker was unaware (typically an issue with the sqlite database being out of sync). \r\n\r\n> It's a bad user experience "}}