{"action":"created","comment":{"url":"https://api.github.com/repos/awslabs/mxnet-model-server/pulls/comments/175989979","pull_request_review_id":105612848,"id":175989979,"diff_hunk":"@@ -1,33 +1,54 @@\n-# MMS with Docker\n-\n-You have two ways of getting the Docker image.\n-1. Through Docker hub. Get the image through the following command\n-```bash\n-# For beta CPU image\n-$ docker pull awsdeeplearningteam/mms_cpu:beta\n-```\n-\n-```bash\n-# For beta GPU image\n-$ docker pull  awsdeeplearningteam/mms_gpu:beta\n-```\n-\n-Currently these contain the latest changes made to the MXNet Model Server.\n-\n-Verify that the image was pulled\n-```bash\n-# Verify the image\n-$ docker images\n- \n-REPOSITORY                    TAG                 IMAGE ID            CREATED             SIZE\n-awsdeeplearningteam/mms_cpu   beta                869a68f574a5        4 hours ago         1.71GB\n-ubuntu                        latest              f975c5035748        10 hours ago        112MB\n-```\n-\n-If you want to build the Docker image manually, follow the next sections in the document.\n+# MXNet Model Server with Docker\n+Docker images are currently available on Docker Hub. Running MXNet Model Server in the docker instance can be done with four easy steps\n+\n+## Running MXNet Model Server with Docker-Hub image\n+\n+1. Pull the Docker image from the Docker-Hub\n+   ```bash\n+    # CPU image\n+    $ docker pull awsdeeplearningteam/mms_cpu\n+    ```\n+   For GPU Image\n+   ```bash\n+   # GPU Image\n+   $ docker pull awsdeeplearningteam/mms_gpu\n+   ```\n+   Verify the image is downloaded\n+   ```bash\n+   $ docker images\n+   REPOSITORY                    TAG                 IMAGE ID            CREATED             SIZE\n+   awsdeeplearningteam/mms_cpu   latest              869a68f574a5        2 days ago          1.71GB\n+   ubuntu                        latest              f975c5035748        2 days ago          112MB\n+   ```\n+\n+2. Create a directory for `models` and update the `mms_app.conf` file that MXNet Model Server should use with the models. There are example \n+   configuration files in the `docker` folder of `mxnet-model-server` repository. Refer [mms_app_cpu.conf](mms_app_cpu.conf) or [mms_app_gpu.conf](mms_app_gpu.conf).\n+   Update the `--models` option in the configuration and add it to the newly created directory.\n+   ```bash\n+   $ mkdir /home/user/models\n+   $ cp ~/mxnet-model-server/docker/mms_app_cpu.conf /home/user/models/.\n+   ``` \n+   Verify the models and configuration file is in this newly created directory. Also verify that the `mms_app_*.conf` is updated.\n+\n+2. Run the downloaded Docker image\n+   ```bash\n+   $ docker run --name mms -p 80:80 -itd -v /home/users/models/:/models awsdeeplearningteam/mms_cpu\n+   0c1862a2c30edd0f33391f7277b2c8bcba4a5f4cf22669f3b308b4078a5d3ce8\n+   # Verify the image is running\n+   $ docker ps -a\n+   CONTAINER ID        IMAGE               COMMAND             CREATED                  STATUS              PORTS                NAMES\n+   b4bab087f2a8        mms_cpu             \"/bin/bash\"         Less than a second ago   Up 2 seconds        0.0.0.0:80->80/tcp   mms\n+   ```\n+\n+3. Run MXNet Model Server in the running instance of Docker\n+   ```bash\n+   $ docker exec mms bash -c \"mxnet-model-server.sh start --mms-config /models/mms_app_cpu.conf\"","path":"docker/README.md","position":72,"original_position":72,"commit_id":"425d5b2a60c13130d63580593c8a361e5df8a285","original_commit_id":"5a49772529aa565af158974c5c8e8283c9c454ff","user":{"login":"vdantu","id":36211508,"avatar_url":"https://avatars1.githubusercontent.com/u/36211508?v=4","gravatar_id":"","url":"https://api.github.com/users/vdantu","html_url":"https://github.com/vdantu","followers_url":"https://api.github.com/users/vdantu/followers","following_url":"https://api.github.com/users/vdantu/following{/other_user}","gists_url":"https://api.github.com/users/vdantu/gists{/gist_id}","starred_url":"https://api.github.com/users/vdantu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vdantu/subscriptions","organizations_url":"https://api.github.com/users/vdantu/orgs","repos_url":"https://api.github.com/users/vdantu/repos","events_url":"https://api.github.com/users/vdantu/events{/privacy}","received_events_url":"https://api.github.com/users/vdantu/received_events","type":"User","site_admin":false},"body":"I modified it.","created_at":"2018-03-21T06:04:08Z","updated_at":"2018-03-21T06:04:08Z","html_url":"https://github.com/awslabs/mxnet-model-server/pull/344#discussion_r175989979","pull_request_url":"https://api.github.com/repos/awslabs/mxnet-model-server/pulls/344","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/awslabs/mxnet-model-server/pulls/comments/175989979"},"html":{"href":"https://github.com/awslabs/mxnet-model-server/pull/344#discussion_r175989979"},"pull_request":{"href":"https://api.github.com/repos/awslabs/mxnet-model-server/pulls/344"}},"in_reply_to_id":174309333},"pull_request":{"url":"https://api.github.com/repos/awslabs/mxnet-model-server/pulls/344","id":173937147,"html_url":"https://github.com/awslabs/mxnet-model-server/pull/344","diff_url":"https://github.com/awslabs/mxnet-model-server/pull/344.diff","patch_url":"https://github.com/awslabs/mxnet-model-server/pull/344.patch","issue_url":"https://api.github.com/repos/awslabs/mxnet-model-server/issues/344","number":344,"state":"open","locked":false,"title":"Updated the mxnet-model-server pip package","user":{"login":"vdantu","id":36211508,"avatar_url":"https://avatars1.githubusercontent.com/u/36211508?v=4","gravatar_id":"","url":"https://api.github.com/users/vdantu","html_url":"https://github.com/vdantu","followers_url":"https://api.github.com/users/vdantu/followers","following_url":"https://api.github.com/users/vdantu/following{/other_user}","gists_url":"https://api.github.com/users/vdantu/gists{/gist_id}","starred_url":"https://api.github.com/users/vdantu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vdantu/subscriptions","organizations_url":"https://api.github.com/users/vdantu/orgs","repos_url":"https://api.github.com/users/vdantu/repos","events_url":"https://api.github.com/users/vdantu/events{/privacy}","received_events_url":"https://api.github.com/users/vdantu/received_events","type":"User","site_admin":false},"body":"*Issue #, if available:*\r\n#342\r\n*Description of changes:*\r\nThe code changes to MMS were pushed earlier than the pip package. This causes the MMS to error out while processing arguments. \r\nThe pip package is published and the docker images are updated. I modified our Dockerfiles to get the latest pip image. These changes have to be pushed into the mainline.\r\n\r\nBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.\r\n","created_at":"2018-03-09T07:29:45Z","updated_at":"2018-03-21T06:04:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1b89862825acecc8753e318a8193af48c699ccd6","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/awslabs/mxnet-model-server/pulls/344/commits","review_comments_url":"https://api.github.com/repos/awslabs/mxnet-model-server/pulls/344/comments","review_comment_url":"https://api.github.com/repos/awslabs/mxnet-model-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/awslabs/mxnet-model-server/issues/344/comments","statuses_url":"https://api.github.com/repos/awslabs/mxnet-model-server/statuses/425d5b2a60c13130d63580593c8a361e5df8a285","head":{"label":"vdantu:master","ref":"master","sha":"425d5b2a60c13130d63580593c8a361e5df8a285","user":{"login":"vdantu","id":36211508,"avatar_url":"https://avatars1.githubusercontent.com/u/36211508?v=4","gravatar_id":"","url":"https://api.github.com/users/vdantu","html_url":"https://github.com/vdantu","followers_url":"https://api.github.com/users/vdantu/followers","following_url":"https://api.github.com/users/vdantu/following{/other_user}","gists_url":"https://api.github.com/users/vdantu/gists{/gist_id}","starred_url":"https://api.github.com/users/vdantu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vdantu/subscriptions","organizations_url":"https://api.github.com/users/vdantu/orgs","repos_url":"https://api.github.com/users/vdantu/repos","events_url":"https://api.github.com/users/vdantu/events{/privacy}","received_events_url":"https://api.github.com/users/vdantu/received_events","type":"User","site_admin":false},"repo":{"id":120691512,"name":"mxnet-model-server","full_name":"vdantu/mxnet-model-server","owner":{"login":"vdantu","id":36211508,"avatar_url":"https://avatars1.githubusercontent.com/u/36211508?v=4","gravatar_id":"","url":"https://api.github.com/users/vdantu","html_url":"https://github.com/vdantu","followers_url":"https://api.github.com/users/vdantu/followers","following_url":"https://api.github.com/users/vdantu/following{/other_user}","gists_url":"https://api.github.com/users/vdantu/gists{/gist_id}","starred_url":"https://api.github.com/users/vdantu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vdantu/subscriptions","organizations_url":"https://api.github.com/users/vdantu/orgs","repos_url":"https://api.github.com/users/vdantu/repos","events_url":"https://api.github.com/users/vdantu/events{/privacy}","received_events_url":"https://api.github.com/users/vdantu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vdantu/mxnet-model-server","description":"Model Server for Apache MXNet is a tool for deploying neural net models for inference","fork":true,"url":"https://api.github.com/repos/vdantu/mxnet-model-server","forks_url":"https://api.github.com/repos/vdantu/mxnet-model-server/forks","keys_url":"https://api.github.com/repos/vdantu/mxnet-model-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vdantu/mxnet-model-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vdantu/mxnet-model-server/teams","hooks_url":"https://api.github.com/repos/vdantu/mxnet-model-server/hooks","issue_events_url":"https://api.github.com/repos/vdantu/mxnet-model-server/issues/events{/number}","events_url":"https://api.github.com/repos/vdantu/mxnet-model-server/events","assignees_url":"https://api.github.com/repos/vdantu/mxnet-model-server/assignees{/user}","branches_url":"https://api.github.com/repos/vdantu/mxnet-model-server/branches{/branch}","tags_url":"https://api.github.com/repos/vdantu/mxnet-model-server/tags","blobs_url":"https://api.github.com/repos/vdantu/mxnet-model-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vdantu/mxnet-model-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vdantu/mxnet-model-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/vdantu/mxnet-model-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vdantu/mxnet-model-server/statuses/{sha}","languages_url":"https://api.github.com/repos/vdantu/mxnet-model-server/languages","stargazers_url":"https://api.github.com/repos/vdantu/mxnet-model-server/stargazers","contributors_url":"https://api.github.com/repos/vdantu/mxnet-model-server/contributors","subscribers_url":"https://api.github.com/repos/vdantu/mxnet-model-server/subscribers","subscription_url":"https://api.github.com/repos/vdantu/mxnet-model-server/subscription","commits_url":"https://api.github.com/repos/vdantu/mxnet-model-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/vdantu/mxnet-model-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/vdantu/mxnet-model-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/vdantu/mxnet-model-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/vdantu/mxnet-model-server/contents/{+path}","compare_url":"https://api.github.com/repos/vdantu/mxnet-model-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vdantu/mxnet-model-server/merges","archive_url":"https://api.github.com/repos/vdantu/mxnet-model-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vdantu/mxnet-model-server/downloads","issues_url":"https://api.github.com/repos/vdantu/mxnet-model-server/issues{/number}","pulls_url":"https://api.github.com/repos/vdantu/mxnet-model-server/pulls{/number}","milestones_url":"https://api.github.com/repos/vdantu/mxnet-model-server/milestones{/number}","notifications_url":"https://api.github.com/repos/vdantu/mxnet-model-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vdantu/mxnet-model-server/labels{/name}","releases_url":"https://api.github.com/repos/vdantu/mxnet-model-server/releases{/id}","deployments_url":"https://api.github.com/repos/vdantu/mxnet-model-server/deployments","created_at":"2018-02-08T00:55:11Z","updated_at":"2018-03-16T10:19:16Z","pushed_at":"2018-03-14T06:50:50Z","git_url":"git://github.com/vdantu/mxnet-model-server.git","ssh_url":"git@github.com:vdantu/mxnet-model-server.git","clone_url":"https://github.com/vdantu/mxnet-model-server.git","svn_url":"https://github.com/vdantu/mxnet-model-server","homepage":"","size":30674,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"awslabs:master","ref":"master","sha":"6efb0a796bfaa776a3bbbf0517c7f12cd2cc00ab","user":{"login":"awslabs","id":3299148,"avatar_url":"https://avatars0.githubusercontent.com/u/3299148?v=4","gravatar_id":"","url":"https://api.github.com/users/awslabs","html_url":"https://github.com/awslabs","followers_url":"https://api.github.com/users/awslabs/followers","following_url":"https://api.github.com/users/awslabs/following{/other_user}","gists_url":"https://api.github.com/users/awslabs/gists{/gist_id}","starred_url":"https://api.github.com/users/awslabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awslabs/subscriptions","organizations_url":"https://api.github.com/users/awslabs/orgs","repos_url":"https://api.github.com/users/awslabs/repos","events_url":"https://api.github.com/users/awslabs/events{/privacy}","received_events_url":"https://api.github.com/users/awslabs/received_events","type":"Organization","site_admin":false},"repo":{"id":105830539,"name":"mxnet-model-server","full_name":"awslabs/mxnet-model-server","owner":{"login":"awslabs","id":3299148,"avatar_url":"https://avatars0.githubusercontent.com/u/3299148?v=4","gravatar_id":"","url":"https://api.github.com/users/awslabs","html_url":"https://github.com/awslabs","followers_url":"https://api.github.com/users/awslabs/followers","following_url":"https://api.github.com/users/awslabs/following{/other_user}","gists_url":"https://api.github.com/users/awslabs/gists{/gist_id}","starred_url":"https://api.github.com/users/awslabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awslabs/subscriptions","organizations_url":"https://api.github.com/users/awslabs/orgs","repos_url":"https://api.github.com/users/awslabs/repos","events_url":"https://api.github.com/users/awslabs/events{/privacy}","received_events_url":"https://api.github.com/users/awslabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/awslabs/mxnet-model-server","description":"Model Server for Apache MXNet is a tool for serving neural net models for inference","fork":false,"url":"https://api.github.com/repos/awslabs/mxnet-model-server","forks_url":"https://api.github.com/repos/awslabs/mxnet-model-server/forks","keys_url":"https://api.github.com/repos/awslabs/mxnet-model-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/awslabs/mxnet-model-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/awslabs/mxnet-model-server/teams","hooks_url":"https://api.github.com/repos/awslabs/mxnet-model-server/hooks","issue_events_url":"https://api.github.com/repos/awslabs/mxnet-model-server/issues/events{/number}","events_url":"https://api.github.com/repos/awslabs/mxnet-model-server/events","assignees_url":"https://api.github.com/repos/awslabs/mxnet-model-server/assignees{/user}","branches_url":"https://api.github.com/repos/awslabs/mxnet-model-server/branches{/branch}","tags_url":"https://api.github.com/repos/awslabs/mxnet-model-server/tags","blobs_url":"https://api.github.com/repos/awslabs/mxnet-model-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/awslabs/mxnet-model-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/awslabs/mxnet-model-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/awslabs/mxnet-model-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/awslabs/mxnet-model-server/statuses/{sha}","languages_url":"https://api.github.com/repos/awslabs/mxnet-model-server/languages","stargazers_url":"https://api.github.com/repos/awslabs/mxnet-model-server/stargazers","contributors_url":"https://api.github.com/repos/awslabs/mxnet-model-server/contributors","subscribers_url":"https://api.github.com/repos/awslabs/mxnet-model-server/subscribers","subscription_url":"https://api.github.com/repos/awslabs/mxnet-model-server/subscription","commits_url":"https://api.github.com/repos/awslabs/mxnet-model-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/awslabs/mxnet-model-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/awslabs/mxnet-model-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/awslabs/mxnet-model-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/awslabs/mxnet-model-server/contents/{+path}","compare_url":"https://api.github.com/repos/awslabs/mxnet-model-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/awslabs/mxnet-model-server/merges","archive_url":"https://api.github.com/repos/awslabs/mxnet-model-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/awslabs/mxnet-model-server/downloads","issues_url":"https://api.github.com/repos/awslabs/mxnet-model-server/issues{/number}","pulls_url":"https://api.github.com/repos/awslabs/mxnet-model-server/pulls{/number}","milestones_url":"https://api.github.com/repos/awslabs/mxnet-model-server/milestones{/number}","notifications_url":"https://api.github.com/repos/awslabs/mxnet-model-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/awslabs/mxnet-model-server/labels{/name}","releases_url":"https://api.github.com/repos/awslabs/mxnet-model-server/releases{/id}","deployments_url":"https://api.github.com/repos/awslabs/mxnet-model-server/deployments","created_at":"2017-10-04T23:41:07Z","updated_at":"2018-03-20T18:26:43Z","pushed_at":"2018-03-14T06:50:52Z","git_url":"git://github.com/awslabs/mxnet-model-server.git","ssh_url":"git@github.com:awslabs/mxnet-model-server.git","clone_url":"https://github.com/awslabs/mxnet-model-server.git","svn_url":"https://github.com/awslabs/mxnet-model-server","homepage":"","size":30671,"stargazers_count":159,"watchers_count":159,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":25,"mirror_url":null,"archived":false,"open_issues_count":30,"license":null,"forks":25,"open_issues":30,"watchers":159,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/awslabs/mxnet-model-server/pulls/344"},"html":{"href":"https://github.com/awslabs/mxnet-model-server/pull/344"},"issue":{"href":"https://api.github.com/repos/awslabs/mxnet-model-server/issues/344"},"comments":{"href":"https://api.github.com/repos/awslabs/mxnet-model-server/issues/344/comments"},"review_comments":{"href":"https://api.github.com/repos/awslabs/mxnet-model-server/pulls/344/comments"},"review_comment":{"href":"https://api.github.com/repos/awslabs/mxnet-model-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/awslabs/mxnet-model-server/pulls/344/commits"},"statuses":{"href":"https://api.github.com/repos/awslabs/mxnet-model-server/statuses/425d5b2a60c13130d63580593c8a361e5df8a285"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"vdantu"}}