{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/nomad/issues/439","labels_url":"https://api.github.com/repos/hashicorp/nomad/issues/439/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/nomad/issues/439/comments","events_url":"https://api.github.com/repos/hashicorp/nomad/issues/439/events","html_url":"https://github.com/hashicorp/nomad/pull/439","id":117505131,"number":439,"title":"Fix docker port tests and empty port_map","user":{"login":"cbednarski","id":649798,"avatar_url":"https://avatars.githubusercontent.com/u/649798?v=3","gravatar_id":"","url":"https://api.github.com/users/cbednarski","html_url":"https://github.com/cbednarski","followers_url":"https://api.github.com/users/cbednarski/followers","following_url":"https://api.github.com/users/cbednarski/following{/other_user}","gists_url":"https://api.github.com/users/cbednarski/gists{/gist_id}","starred_url":"https://api.github.com/users/cbednarski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbednarski/subscriptions","organizations_url":"https://api.github.com/users/cbednarski/orgs","repos_url":"https://api.github.com/users/cbednarski/repos","events_url":"https://api.github.com/users/cbednarski/events{/privacy}","received_events_url":"https://api.github.com/users/cbednarski/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-18T03:22:29Z","updated_at":"2015-11-18T04:51:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hashicorp/nomad/pulls/439","html_url":"https://github.com/hashicorp/nomad/pull/439","diff_url":"https://github.com/hashicorp/nomad/pull/439.diff","patch_url":"https://github.com/hashicorp/nomad/pull/439.patch"},"body":"- Fix guards for docker port mapping\r\n- Change dummy dynamic ports to real ports (0 is not a valid port)\r\n- Alloc id for test context is random so container names don't collide during multi-container tests\r\n- Add debug logging for container name and labels\r\n- If a container with the same name exists as the one we're trying to start, we'll try to purge and re-create it"},"comment":{"url":"https://api.github.com/repos/hashicorp/nomad/issues/comments/157604140","html_url":"https://github.com/hashicorp/nomad/pull/439#issuecomment-157604140","issue_url":"https://api.github.com/repos/hashicorp/nomad/issues/439","id":157604140,"user":{"login":"cbednarski","id":649798,"avatar_url":"https://avatars.githubusercontent.com/u/649798?v=3","gravatar_id":"","url":"https://api.github.com/users/cbednarski","html_url":"https://github.com/cbednarski","followers_url":"https://api.github.com/users/cbednarski/followers","following_url":"https://api.github.com/users/cbednarski/following{/other_user}","gists_url":"https://api.github.com/users/cbednarski/gists{/gist_id}","starred_url":"https://api.github.com/users/cbednarski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbednarski/subscriptions","organizations_url":"https://api.github.com/users/cbednarski/orgs","repos_url":"https://api.github.com/users/cbednarski/repos","events_url":"https://api.github.com/users/cbednarski/events{/privacy}","received_events_url":"https://api.github.com/users/cbednarski/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T04:51:54Z","updated_at":"2015-11-18T04:51:54Z","body":"This PR adds a significant feature: If we fail to create a container because a container with the same name already exists, we will attempt to purge and recreate it."}}