[ 
https://issues.apache.org/jira/browse/PIO-187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16665457#comment-16665457
 ] 

ASF GitHub Bot commented on PIO-187:
------------------------------------

Wei-1 commented on a change in pull request #486: [PIO-187] Livedoc with Docker 
Installation Update
URL: https://github.com/apache/predictionio/pull/486#discussion_r228612000
 
 

 ##########
 File path: docs/manual/source/install/install-docker.html.md.erb
 ##########
 @@ -21,22 +21,34 @@ limitations under the License.
 
 ## Download and Start Docker
 
-Docker is a widely used container solution. Please download and start Docker 
by following their [official guide](https://www.docker.com/get-started).
+Docker is a widely used container solution. Please download and start Docker 
by following their [guide](https://www.docker.com/get-started).
 
 ## Get PredictionIO and Dependencies Configuration
 
-Starting from v0.13.0, Apache PredictionIO® starts to provide official docker 
support for production environment. `Dockerfile` and dependencies configuration 
can be found in the `docker` folder in the [git 
repository](https://github.com/apache/predictionio/tree/develop/docker).
+Starting from v0.13.0, Apache PredictionIO® starts to provide docker support 
for the production environment. `Dockerfile` and dependencies configuration can 
be found in the `docker` folder in the [git 
repository](https://github.com/apache/predictionio/tree/develop/docker).
 
 ```bash
 git clone https://github.com/apache/predictionio.git
 cd predictionio/docker
 ```
 
-INFO: In this installation, we only need the `docker` sub-directory in the 
repository. One can use other tools to get the folder without cloning the whole 
preject.
+INFO: In this installation, we only need the `docker` sub-directory in the 
repository. One can use other tools to get the folder without cloning the whole 
project.
 
-## Pull Images and Start
+## Build Docker Image
+
+To build PredictionIO docker image, `Dockerfile` is provided in sub-directory 
`pio`.
+
+```
+docker build -t predictionio/pio pio
+```
+
+One will be able to build an image with tag `prediction/pio:latest` using the 
above command.
+
+WARNING: People can get PredictionIO image from Dockerhub through `docker pull 
predictionio/pio`. However, since the image cannot run without a properly 
configured storage, please follow the following steps to complete the 
installation.
+
+WARNING: Image `prediction/pio` hosted on Dockerhub is **NOT** regarded as an 
official ASF release and might provide a different PredictionIO version from 
your desired PredictionIO version. It is recommended to build the image locally 
other than pulling directly from Dockerhub.
 
 Review comment:
   Agree. Currently, the image on Dockerhub is 0.12.1, which is different from 
the 0.13.0 that we are trying to target.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Livedoc and Develop-Readme Official Docker Doc Update
> -----------------------------------------------------
>
>                 Key: PIO-187
>                 URL: https://issues.apache.org/jira/browse/PIO-187
>             Project: PredictionIO
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: Future, Live Documentation
>            Reporter: Wei Chen
>            Assignee: Wei Chen
>            Priority: Minor
>             Fix For: Future, Live Documentation
>
>
> Official Docker support had been provided through 
> [#462|https://github.com/apache/predictionio/pull/462]
> Based on the discussion with [~shinsuke] in PIO-86
> We create another issue to track the modification of livedoc and develop 
> readme.
> In this issue:
> 1. Create a new official Docker installation page in livedoc
> 2. Modify the Docker installation link in livedoc and develop readme



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to