{"action":"created","comment":{"url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/pulls/comments/85241213","pull_request_review_id":5968459,"id":85241213,"diff_hunk":"@@ -235,13 +266,58 @@ C:\\> docker run -it --network=MyTransparentNet --ip=10.80.123.32 windowsserverco\n \n Static IP assignment is performed directly on the container's network adapter and must only be performed when the container is in a STOPPED state. \"Hot-add\" of container network adapters or changes to the network stack is not supported while the container is running.\n \n+## Docker Compose and Service Discovery\n+\n+> For a practical example of how Docker Compose and Service Discovery can be used to define multi-service, scaled-out applications, visit [this post](https://blogs.technet.microsoft.com/virtualization/2016/10/18/use-docker-compose-and-service-discovery-on-windows-to-scale-out-your-multi-service-container-application/) on our [Virtualization Blog](https://blogs.technet.microsoft.com/virtualization/).\n+\n+### Docker Compose\n+\n+[Docker Compose](https://docs.docker.com/compose/overview/) can be used to define and configure container networks alongside the containers/services that will be using those networks. The Compose 'networks' key is used as the top-level key in defining the networks to which containers will be connected. For example, the syntax below defines the default NAT network created by Docker to be the 'default' network for all containers/services defined in a given Compose file.\n+\n+```none\n+networks:\n+ default:\n+  external:\n+   name: \"nat\"\n+```\n+For further information on defining/configuring container networks using Docker Compose, refer to the [Compose File reference](https://docs.docker.com/compose/compose-file/).","path":"virtualization/windowscontainers/management/container_networking.md","position":66,"original_position":66,"commit_id":"1835812589c2d3249cad76dd8b74e2b748d82aaa","original_commit_id":"1835812589c2d3249cad76dd8b74e2b748d82aaa","user":{"login":"JMesser81","id":7772846,"avatar_url":"https://avatars.githubusercontent.com/u/7772846?v=3","gravatar_id":"","url":"https://api.github.com/users/JMesser81","html_url":"https://github.com/JMesser81","followers_url":"https://api.github.com/users/JMesser81/followers","following_url":"https://api.github.com/users/JMesser81/following{/other_user}","gists_url":"https://api.github.com/users/JMesser81/gists{/gist_id}","starred_url":"https://api.github.com/users/JMesser81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JMesser81/subscriptions","organizations_url":"https://api.github.com/users/JMesser81/orgs","repos_url":"https://api.github.com/users/JMesser81/repos","events_url":"https://api.github.com/users/JMesser81/events{/privacy}","received_events_url":"https://api.github.com/users/JMesser81/received_events","type":"User","site_admin":false},"body":"Can you add a second example for defining a user-defined nat network which is a partition of the pre-existing NAT internal prefix (I think we included this in the blog article).","created_at":"2016-10-26T23:25:52Z","updated_at":"2016-10-26T23:25:52Z","html_url":"https://github.com/Microsoft/Virtualization-Documentation/pull/448#discussion_r85241213","pull_request_url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/pulls/448","_links":{"self":{"href":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/pulls/comments/85241213"},"html":{"href":"https://github.com/Microsoft/Virtualization-Documentation/pull/448#discussion_r85241213"},"pull_request":{"href":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/pulls/448"}}},"pull_request":{"url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/pulls/448","id":91106685,"html_url":"https://github.com/Microsoft/Virtualization-Documentation/pull/448","diff_url":"https://github.com/Microsoft/Virtualization-Documentation/pull/448.diff","patch_url":"https://github.com/Microsoft/Virtualization-Documentation/pull/448.patch","issue_url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/issues/448","number":448,"state":"open","locked":false,"title":"Changes to container networking post -- service discovery, compose, m…","user":{"login":"kallie-b","id":22505611,"avatar_url":"https://avatars.githubusercontent.com/u/22505611?v=3","gravatar_id":"","url":"https://api.github.com/users/kallie-b","html_url":"https://github.com/kallie-b","followers_url":"https://api.github.com/users/kallie-b/followers","following_url":"https://api.github.com/users/kallie-b/following{/other_user}","gists_url":"https://api.github.com/users/kallie-b/gists{/gist_id}","starred_url":"https://api.github.com/users/kallie-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kallie-b/subscriptions","organizations_url":"https://api.github.com/users/kallie-b/orgs","repos_url":"https://api.github.com/users/kallie-b/repos","events_url":"https://api.github.com/users/kallie-b/events{/privacy}","received_events_url":"https://api.github.com/users/kallie-b/received_events","type":"User","site_admin":false},"body":"…ultiple NAT networks, transparent networking caveat.","created_at":"2016-10-26T23:14:38Z","updated_at":"2016-10-26T23:25:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a7b9585eb4ee9a7b89e237d2dd3c22ee89c46167","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/pulls/448/commits","review_comments_url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/pulls/448/comments","review_comment_url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/issues/448/comments","statuses_url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/statuses/1835812589c2d3249cad76dd8b74e2b748d82aaa","head":{"label":"kallie-b:master","ref":"master","sha":"1835812589c2d3249cad76dd8b74e2b748d82aaa","user":{"login":"kallie-b","id":22505611,"avatar_url":"https://avatars.githubusercontent.com/u/22505611?v=3","gravatar_id":"","url":"https://api.github.com/users/kallie-b","html_url":"https://github.com/kallie-b","followers_url":"https://api.github.com/users/kallie-b/followers","following_url":"https://api.github.com/users/kallie-b/following{/other_user}","gists_url":"https://api.github.com/users/kallie-b/gists{/gist_id}","starred_url":"https://api.github.com/users/kallie-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kallie-b/subscriptions","organizations_url":"https://api.github.com/users/kallie-b/orgs","repos_url":"https://api.github.com/users/kallie-b/repos","events_url":"https://api.github.com/users/kallie-b/events{/privacy}","received_events_url":"https://api.github.com/users/kallie-b/received_events","type":"User","site_admin":false},"repo":{"id":70749835,"name":"Virtualization-Documentation","full_name":"kallie-b/Virtualization-Documentation","owner":{"login":"kallie-b","id":22505611,"avatar_url":"https://avatars.githubusercontent.com/u/22505611?v=3","gravatar_id":"","url":"https://api.github.com/users/kallie-b","html_url":"https://github.com/kallie-b","followers_url":"https://api.github.com/users/kallie-b/followers","following_url":"https://api.github.com/users/kallie-b/following{/other_user}","gists_url":"https://api.github.com/users/kallie-b/gists{/gist_id}","starred_url":"https://api.github.com/users/kallie-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kallie-b/subscriptions","organizations_url":"https://api.github.com/users/kallie-b/orgs","repos_url":"https://api.github.com/users/kallie-b/repos","events_url":"https://api.github.com/users/kallie-b/events{/privacy}","received_events_url":"https://api.github.com/users/kallie-b/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kallie-b/Virtualization-Documentation","description":"Place to store our documentation, code samples, etc for public consumption.","fork":true,"url":"https://api.github.com/repos/kallie-b/Virtualization-Documentation","forks_url":"https://api.github.com/repos/kallie-b/Virtualization-Documentation/forks","keys_url":"https://api.github.com/repos/kallie-b/Virtualization-Documentation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kallie-b/Virtualization-Documentation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kallie-b/Virtualization-Documentation/teams","hooks_url":"https://api.github.com/repos/kallie-b/Virtualization-Documentation/hooks","issue_events_url":"https://api.github.com/repos/kallie-b/Virtualization-Documentation/issues/events{/number}","events_url":"https://api.github.com/repos/kallie-b/Virtualization-Documentation/events","assignees_url":"https://api.github.com/repos/kallie-b/Virtualization-Documentation/assignees{/user}","branches_url":"https://api.github.com/repos/kallie-b/Virtualization-Documentation/branches{/branch}","tags_url":"https://api.github.com/repos/kallie-b/Virtualization-Documentation/tags","blobs_url":"https://api.github.com/repos/kallie-b/Virtualization-Documentation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kallie-b/Virtualization-Documentation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kallie-b/Virtualization-Documentation/git/refs{/sha}","trees_url":"https://api.github.com/repos/kallie-b/Virtualization-Documentation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kallie-b/Virtualization-Documentation/statuses/{sha}","languages_url":"https://api.github.com/repos/kallie-b/Virtualization-Documentation/languages","stargazers_url":"https://api.github.com/repos/kallie-b/Virtualization-Documentation/stargazers","contributors_url":"https://api.github.com/repos/kallie-b/Virtualization-Documentation/contributors","subscribers_url":"https://api.github.com/repos/kallie-b/Virtualization-Documentation/subscribers","subscription_url":"https://api.github.com/repos/kallie-b/Virtualization-Documentation/subscription","commits_url":"https://api.github.com/repos/kallie-b/Virtualization-Documentation/commits{/sha}","git_commits_url":"https://api.github.com/repos/kallie-b/Virtualization-Documentation/git/commits{/sha}","comments_url":"https://api.github.com/repos/kallie-b/Virtualization-Documentation/comments{/number}","issue_comment_url":"https://api.github.com/repos/kallie-b/Virtualization-Documentation/issues/comments{/number}","contents_url":"https://api.github.com/repos/kallie-b/Virtualization-Documentation/contents/{+path}","compare_url":"https://api.github.com/repos/kallie-b/Virtualization-Documentation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kallie-b/Virtualization-Documentation/merges","archive_url":"https://api.github.com/repos/kallie-b/Virtualization-Documentation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kallie-b/Virtualization-Documentation/downloads","issues_url":"https://api.github.com/repos/kallie-b/Virtualization-Documentation/issues{/number}","pulls_url":"https://api.github.com/repos/kallie-b/Virtualization-Documentation/pulls{/number}","milestones_url":"https://api.github.com/repos/kallie-b/Virtualization-Documentation/milestones{/number}","notifications_url":"https://api.github.com/repos/kallie-b/Virtualization-Documentation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kallie-b/Virtualization-Documentation/labels{/name}","releases_url":"https://api.github.com/repos/kallie-b/Virtualization-Documentation/releases{/id}","deployments_url":"https://api.github.com/repos/kallie-b/Virtualization-Documentation/deployments","created_at":"2016-10-12T23:21:37Z","updated_at":"2016-10-12T23:21:38Z","pushed_at":"2016-10-26T23:04:01Z","git_url":"git://github.com/kallie-b/Virtualization-Documentation.git","ssh_url":"git@github.com:kallie-b/Virtualization-Documentation.git","clone_url":"https://github.com/kallie-b/Virtualization-Documentation.git","svn_url":"https://github.com/kallie-b/Virtualization-Documentation","homepage":null,"size":60716,"stargazers_count":0,"watchers_count":0,"language":"PowerShell","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"live"}},"base":{"label":"Microsoft:master","ref":"master","sha":"bfc99f03688d30697276d35fb3ce527718e326f9","user":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":39787532,"name":"Virtualization-Documentation","full_name":"Microsoft/Virtualization-Documentation","owner":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/Virtualization-Documentation","description":"Place to store our documentation, code samples, etc for public consumption.","fork":false,"url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation","forks_url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/forks","keys_url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/teams","hooks_url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/events","assignees_url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/tags","blobs_url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/languages","stargazers_url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/subscription","commits_url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/merges","archive_url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/downloads","issues_url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/releases{/id}","deployments_url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/deployments","created_at":"2015-07-27T17:17:39Z","updated_at":"2016-10-26T23:02:29Z","pushed_at":"2016-10-26T23:14:38Z","git_url":"git://github.com/Microsoft/Virtualization-Documentation.git","ssh_url":"git@github.com:Microsoft/Virtualization-Documentation.git","clone_url":"https://github.com/Microsoft/Virtualization-Documentation.git","svn_url":"https://github.com/Microsoft/Virtualization-Documentation","homepage":null,"size":60948,"stargazers_count":341,"watchers_count":341,"language":"PowerShell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":228,"mirror_url":null,"open_issues_count":86,"forks":228,"open_issues":86,"watchers":341,"default_branch":"live"}},"_links":{"self":{"href":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/pulls/448"},"html":{"href":"https://github.com/Microsoft/Virtualization-Documentation/pull/448"},"issue":{"href":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/issues/448"},"comments":{"href":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/issues/448/comments"},"review_comments":{"href":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/pulls/448/comments"},"review_comment":{"href":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/pulls/448/commits"},"statuses":{"href":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/statuses/1835812589c2d3249cad76dd8b74e2b748d82aaa"}}}}
{"actor":{"display_login":"JMesser81"}}