{"action":"created","comment":{"url":"https://api.github.com/repos/tensorflow/tensorflow/pulls/comments/75813633","id":75813633,"diff_hunk":"@@ -370,13 +370,20 @@ After Docker is installed, launch a Docker container with the TensorFlow binary\n image as follows.\n \n ```bash\n-$ docker run -it -p 8888:8888 gcr.io/tensorflow/tensorflow\n+$ docker run -d -p 8888:8888 --name=\"tensor\" gcr.io/tensorflow/tensorflow\n ```\n \n The option `-p 8888:8888` is used to publish the Docker container᾿s internal port to the host machine, in this case to ensure Jupyter notebook connection.\n \n The format of the port mapping is `hostPort:containerPort`. You can specify any valid port number for the host port but have to use `8888` for the container port portion.\n \n+To start a command-line interface:","path":"tensorflow/g3doc/get_started/os_setup.md","position":12,"original_position":12,"commit_id":"5cdb5ab2be333d28eae827ad7f0a875fce4ef9da","original_commit_id":"5cdb5ab2be333d28eae827ad7f0a875fce4ef9da","user":{"login":"craigcitro","id":468559,"avatar_url":"https://avatars.githubusercontent.com/u/468559?v=3","gravatar_id":"","url":"https://api.github.com/users/craigcitro","html_url":"https://github.com/craigcitro","followers_url":"https://api.github.com/users/craigcitro/followers","following_url":"https://api.github.com/users/craigcitro/following{/other_user}","gists_url":"https://api.github.com/users/craigcitro/gists{/gist_id}","starred_url":"https://api.github.com/users/craigcitro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craigcitro/subscriptions","organizations_url":"https://api.github.com/users/craigcitro/orgs","repos_url":"https://api.github.com/users/craigcitro/repos","events_url":"https://api.github.com/users/craigcitro/events{/privacy}","received_events_url":"https://api.github.com/users/craigcitro/received_events","type":"User","site_admin":false},"body":"Actually, this is an *alternate* approach, right? This is starting a new container.\r\n\r\nWe also probably want a sample in line with what @vrv was expecting here.","created_at":"2016-08-23T07:22:44Z","updated_at":"2016-08-23T07:22:44Z","html_url":"https://github.com/tensorflow/tensorflow/pull/3219#discussion_r75813633","pull_request_url":"https://api.github.com/repos/tensorflow/tensorflow/pulls/3219","_links":{"self":{"href":"https://api.github.com/repos/tensorflow/tensorflow/pulls/comments/75813633"},"html":{"href":"https://github.com/tensorflow/tensorflow/pull/3219#discussion_r75813633"},"pull_request":{"href":"https://api.github.com/repos/tensorflow/tensorflow/pulls/3219"}}},"pull_request":{"url":"https://api.github.com/repos/tensorflow/tensorflow/pulls/3219","id":76579620,"html_url":"https://github.com/tensorflow/tensorflow/pull/3219","diff_url":"https://github.com/tensorflow/tensorflow/pull/3219.diff","patch_url":"https://github.com/tensorflow/tensorflow/pull/3219.patch","issue_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/3219","number":3219,"state":"open","locked":false,"title":"docker exec -it to start the interactive terminal","user":{"login":"vivekjuneja","id":122003,"avatar_url":"https://avatars.githubusercontent.com/u/122003?v=3","gravatar_id":"","url":"https://api.github.com/users/vivekjuneja","html_url":"https://github.com/vivekjuneja","followers_url":"https://api.github.com/users/vivekjuneja/followers","following_url":"https://api.github.com/users/vivekjuneja/following{/other_user}","gists_url":"https://api.github.com/users/vivekjuneja/gists{/gist_id}","starred_url":"https://api.github.com/users/vivekjuneja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vivekjuneja/subscriptions","organizations_url":"https://api.github.com/users/vivekjuneja/orgs","repos_url":"https://api.github.com/users/vivekjuneja/repos","events_url":"https://api.github.com/users/vivekjuneja/events{/privacy}","received_events_url":"https://api.github.com/users/vivekjuneja/received_events","type":"User","site_admin":false},"body":"As per the current documentation, \r\n$ docker run -it -p 8888:8888  gcr.io/tensorflow/tensorflow should be used to access the CLI. \r\nHowever, the previous command starts the Notebook App. The CLI is not available. To access the CLI, we need to access the container by creating a new interactive terminal to it. \r\nHence, I added a second step using docker exec.","created_at":"2016-07-07T11:29:35Z","updated_at":"2016-08-23T07:22:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"94eab18e67eda45a191ebfde3714846423c4206e","assignee":{"login":"vrv","id":463737,"avatar_url":"https://avatars.githubusercontent.com/u/463737?v=3","gravatar_id":"","url":"https://api.github.com/users/vrv","html_url":"https://github.com/vrv","followers_url":"https://api.github.com/users/vrv/followers","following_url":"https://api.github.com/users/vrv/following{/other_user}","gists_url":"https://api.github.com/users/vrv/gists{/gist_id}","starred_url":"https://api.github.com/users/vrv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vrv/subscriptions","organizations_url":"https://api.github.com/users/vrv/orgs","repos_url":"https://api.github.com/users/vrv/repos","events_url":"https://api.github.com/users/vrv/events{/privacy}","received_events_url":"https://api.github.com/users/vrv/received_events","type":"User","site_admin":false},"assignees":[{"login":"vrv","id":463737,"avatar_url":"https://avatars.githubusercontent.com/u/463737?v=3","gravatar_id":"","url":"https://api.github.com/users/vrv","html_url":"https://github.com/vrv","followers_url":"https://api.github.com/users/vrv/followers","following_url":"https://api.github.com/users/vrv/following{/other_user}","gists_url":"https://api.github.com/users/vrv/gists{/gist_id}","starred_url":"https://api.github.com/users/vrv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vrv/subscriptions","organizations_url":"https://api.github.com/users/vrv/orgs","repos_url":"https://api.github.com/users/vrv/repos","events_url":"https://api.github.com/users/vrv/events{/privacy}","received_events_url":"https://api.github.com/users/vrv/received_events","type":"User","site_admin":false},{"login":"danmane","id":1400023,"avatar_url":"https://avatars.githubusercontent.com/u/1400023?v=3","gravatar_id":"","url":"https://api.github.com/users/danmane","html_url":"https://github.com/danmane","followers_url":"https://api.github.com/users/danmane/followers","following_url":"https://api.github.com/users/danmane/following{/other_user}","gists_url":"https://api.github.com/users/danmane/gists{/gist_id}","starred_url":"https://api.github.com/users/danmane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danmane/subscriptions","organizations_url":"https://api.github.com/users/danmane/orgs","repos_url":"https://api.github.com/users/danmane/repos","events_url":"https://api.github.com/users/danmane/events{/privacy}","received_events_url":"https://api.github.com/users/danmane/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/tensorflow/tensorflow/pulls/3219/commits","review_comments_url":"https://api.github.com/repos/tensorflow/tensorflow/pulls/3219/comments","review_comment_url":"https://api.github.com/repos/tensorflow/tensorflow/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/3219/comments","statuses_url":"https://api.github.com/repos/tensorflow/tensorflow/statuses/5cdb5ab2be333d28eae827ad7f0a875fce4ef9da","head":{"label":"vivekjuneja:master","ref":"master","sha":"5cdb5ab2be333d28eae827ad7f0a875fce4ef9da","user":{"login":"vivekjuneja","id":122003,"avatar_url":"https://avatars.githubusercontent.com/u/122003?v=3","gravatar_id":"","url":"https://api.github.com/users/vivekjuneja","html_url":"https://github.com/vivekjuneja","followers_url":"https://api.github.com/users/vivekjuneja/followers","following_url":"https://api.github.com/users/vivekjuneja/following{/other_user}","gists_url":"https://api.github.com/users/vivekjuneja/gists{/gist_id}","starred_url":"https://api.github.com/users/vivekjuneja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vivekjuneja/subscriptions","organizations_url":"https://api.github.com/users/vivekjuneja/orgs","repos_url":"https://api.github.com/users/vivekjuneja/repos","events_url":"https://api.github.com/users/vivekjuneja/events{/privacy}","received_events_url":"https://api.github.com/users/vivekjuneja/received_events","type":"User","site_admin":false},"repo":{"id":62800943,"name":"tensorflow","full_name":"vivekjuneja/tensorflow","owner":{"login":"vivekjuneja","id":122003,"avatar_url":"https://avatars.githubusercontent.com/u/122003?v=3","gravatar_id":"","url":"https://api.github.com/users/vivekjuneja","html_url":"https://github.com/vivekjuneja","followers_url":"https://api.github.com/users/vivekjuneja/followers","following_url":"https://api.github.com/users/vivekjuneja/following{/other_user}","gists_url":"https://api.github.com/users/vivekjuneja/gists{/gist_id}","starred_url":"https://api.github.com/users/vivekjuneja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vivekjuneja/subscriptions","organizations_url":"https://api.github.com/users/vivekjuneja/orgs","repos_url":"https://api.github.com/users/vivekjuneja/repos","events_url":"https://api.github.com/users/vivekjuneja/events{/privacy}","received_events_url":"https://api.github.com/users/vivekjuneja/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vivekjuneja/tensorflow","description":"Computation using data flow graphs for scalable machine learning","fork":true,"url":"https://api.github.com/repos/vivekjuneja/tensorflow","forks_url":"https://api.github.com/repos/vivekjuneja/tensorflow/forks","keys_url":"https://api.github.com/repos/vivekjuneja/tensorflow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vivekjuneja/tensorflow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vivekjuneja/tensorflow/teams","hooks_url":"https://api.github.com/repos/vivekjuneja/tensorflow/hooks","issue_events_url":"https://api.github.com/repos/vivekjuneja/tensorflow/issues/events{/number}","events_url":"https://api.github.com/repos/vivekjuneja/tensorflow/events","assignees_url":"https://api.github.com/repos/vivekjuneja/tensorflow/assignees{/user}","branches_url":"https://api.github.com/repos/vivekjuneja/tensorflow/branches{/branch}","tags_url":"https://api.github.com/repos/vivekjuneja/tensorflow/tags","blobs_url":"https://api.github.com/repos/vivekjuneja/tensorflow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vivekjuneja/tensorflow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vivekjuneja/tensorflow/git/refs{/sha}","trees_url":"https://api.github.com/repos/vivekjuneja/tensorflow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vivekjuneja/tensorflow/statuses/{sha}","languages_url":"https://api.github.com/repos/vivekjuneja/tensorflow/languages","stargazers_url":"https://api.github.com/repos/vivekjuneja/tensorflow/stargazers","contributors_url":"https://api.github.com/repos/vivekjuneja/tensorflow/contributors","subscribers_url":"https://api.github.com/repos/vivekjuneja/tensorflow/subscribers","subscription_url":"https://api.github.com/repos/vivekjuneja/tensorflow/subscription","commits_url":"https://api.github.com/repos/vivekjuneja/tensorflow/commits{/sha}","git_commits_url":"https://api.github.com/repos/vivekjuneja/tensorflow/git/commits{/sha}","comments_url":"https://api.github.com/repos/vivekjuneja/tensorflow/comments{/number}","issue_comment_url":"https://api.github.com/repos/vivekjuneja/tensorflow/issues/comments{/number}","contents_url":"https://api.github.com/repos/vivekjuneja/tensorflow/contents/{+path}","compare_url":"https://api.github.com/repos/vivekjuneja/tensorflow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vivekjuneja/tensorflow/merges","archive_url":"https://api.github.com/repos/vivekjuneja/tensorflow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vivekjuneja/tensorflow/downloads","issues_url":"https://api.github.com/repos/vivekjuneja/tensorflow/issues{/number}","pulls_url":"https://api.github.com/repos/vivekjuneja/tensorflow/pulls{/number}","milestones_url":"https://api.github.com/repos/vivekjuneja/tensorflow/milestones{/number}","notifications_url":"https://api.github.com/repos/vivekjuneja/tensorflow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vivekjuneja/tensorflow/labels{/name}","releases_url":"https://api.github.com/repos/vivekjuneja/tensorflow/releases{/id}","deployments_url":"https://api.github.com/repos/vivekjuneja/tensorflow/deployments","created_at":"2016-07-07T11:13:19Z","updated_at":"2016-07-07T11:13:30Z","pushed_at":"2016-08-11T12:15:21Z","git_url":"git://github.com/vivekjuneja/tensorflow.git","ssh_url":"git@github.com:vivekjuneja/tensorflow.git","clone_url":"https://github.com/vivekjuneja/tensorflow.git","svn_url":"https://github.com/vivekjuneja/tensorflow","homepage":"http://tensorflow.org","size":46550,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"tensorflow:master","ref":"master","sha":"71f6bb336e5e11d6da2cedac6ba1c992ad9992bd","user":{"login":"tensorflow","id":15658638,"avatar_url":"https://avatars.githubusercontent.com/u/15658638?v=3","gravatar_id":"","url":"https://api.github.com/users/tensorflow","html_url":"https://github.com/tensorflow","followers_url":"https://api.github.com/users/tensorflow/followers","following_url":"https://api.github.com/users/tensorflow/following{/other_user}","gists_url":"https://api.github.com/users/tensorflow/gists{/gist_id}","starred_url":"https://api.github.com/users/tensorflow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tensorflow/subscriptions","organizations_url":"https://api.github.com/users/tensorflow/orgs","repos_url":"https://api.github.com/users/tensorflow/repos","events_url":"https://api.github.com/users/tensorflow/events{/privacy}","received_events_url":"https://api.github.com/users/tensorflow/received_events","type":"Organization","site_admin":false},"repo":{"id":45717250,"name":"tensorflow","full_name":"tensorflow/tensorflow","owner":{"login":"tensorflow","id":15658638,"avatar_url":"https://avatars.githubusercontent.com/u/15658638?v=3","gravatar_id":"","url":"https://api.github.com/users/tensorflow","html_url":"https://github.com/tensorflow","followers_url":"https://api.github.com/users/tensorflow/followers","following_url":"https://api.github.com/users/tensorflow/following{/other_user}","gists_url":"https://api.github.com/users/tensorflow/gists{/gist_id}","starred_url":"https://api.github.com/users/tensorflow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tensorflow/subscriptions","organizations_url":"https://api.github.com/users/tensorflow/orgs","repos_url":"https://api.github.com/users/tensorflow/repos","events_url":"https://api.github.com/users/tensorflow/events{/privacy}","received_events_url":"https://api.github.com/users/tensorflow/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tensorflow/tensorflow","description":"Computation using data flow graphs for scalable machine learning","fork":false,"url":"https://api.github.com/repos/tensorflow/tensorflow","forks_url":"https://api.github.com/repos/tensorflow/tensorflow/forks","keys_url":"https://api.github.com/repos/tensorflow/tensorflow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tensorflow/tensorflow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tensorflow/tensorflow/teams","hooks_url":"https://api.github.com/repos/tensorflow/tensorflow/hooks","issue_events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/events{/number}","events_url":"https://api.github.com/repos/tensorflow/tensorflow/events","assignees_url":"https://api.github.com/repos/tensorflow/tensorflow/assignees{/user}","branches_url":"https://api.github.com/repos/tensorflow/tensorflow/branches{/branch}","tags_url":"https://api.github.com/repos/tensorflow/tensorflow/tags","blobs_url":"https://api.github.com/repos/tensorflow/tensorflow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tensorflow/tensorflow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tensorflow/tensorflow/git/refs{/sha}","trees_url":"https://api.github.com/repos/tensorflow/tensorflow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tensorflow/tensorflow/statuses/{sha}","languages_url":"https://api.github.com/repos/tensorflow/tensorflow/languages","stargazers_url":"https://api.github.com/repos/tensorflow/tensorflow/stargazers","contributors_url":"https://api.github.com/repos/tensorflow/tensorflow/contributors","subscribers_url":"https://api.github.com/repos/tensorflow/tensorflow/subscribers","subscription_url":"https://api.github.com/repos/tensorflow/tensorflow/subscription","commits_url":"https://api.github.com/repos/tensorflow/tensorflow/commits{/sha}","git_commits_url":"https://api.github.com/repos/tensorflow/tensorflow/git/commits{/sha}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/comments{/number}","issue_comment_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/comments{/number}","contents_url":"https://api.github.com/repos/tensorflow/tensorflow/contents/{+path}","compare_url":"https://api.github.com/repos/tensorflow/tensorflow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tensorflow/tensorflow/merges","archive_url":"https://api.github.com/repos/tensorflow/tensorflow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tensorflow/tensorflow/downloads","issues_url":"https://api.github.com/repos/tensorflow/tensorflow/issues{/number}","pulls_url":"https://api.github.com/repos/tensorflow/tensorflow/pulls{/number}","milestones_url":"https://api.github.com/repos/tensorflow/tensorflow/milestones{/number}","notifications_url":"https://api.github.com/repos/tensorflow/tensorflow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/labels{/name}","releases_url":"https://api.github.com/repos/tensorflow/tensorflow/releases{/id}","deployments_url":"https://api.github.com/repos/tensorflow/tensorflow/deployments","created_at":"2015-11-07T01:19:20Z","updated_at":"2016-08-23T06:59:22Z","pushed_at":"2016-08-23T06:15:03Z","git_url":"git://github.com/tensorflow/tensorflow.git","ssh_url":"git@github.com:tensorflow/tensorflow.git","clone_url":"https://github.com/tensorflow/tensorflow.git","svn_url":"https://github.com/tensorflow/tensorflow","homepage":"http://tensorflow.org","size":223156,"stargazers_count":30387,"watchers_count":30387,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":12773,"mirror_url":null,"open_issues_count":494,"forks":12773,"open_issues":494,"watchers":30387,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tensorflow/tensorflow/pulls/3219"},"html":{"href":"https://github.com/tensorflow/tensorflow/pull/3219"},"issue":{"href":"https://api.github.com/repos/tensorflow/tensorflow/issues/3219"},"comments":{"href":"https://api.github.com/repos/tensorflow/tensorflow/issues/3219/comments"},"review_comments":{"href":"https://api.github.com/repos/tensorflow/tensorflow/pulls/3219/comments"},"review_comment":{"href":"https://api.github.com/repos/tensorflow/tensorflow/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tensorflow/tensorflow/pulls/3219/commits"},"statuses":{"href":"https://api.github.com/repos/tensorflow/tensorflow/statuses/5cdb5ab2be333d28eae827ad7f0a875fce4ef9da"}}}}
{"actor":{"display_login":"craigcitro"}}