alibaba / pipcook

Machine learning platform for Web developers

Home Page:https://alibaba.github.io/pipcook/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to create the pipcook config in docker?

dukeliberal opened this issue · comments

I got an error " http://localhost:6927/pipeline No Found" when I create it using the web, and got "No permission" using terminal in docker, so how can I do to create one config?

commented

What's the command you start the docker container?

What's the command you start the docker container?

docker run -it -p 6927:6927 registry.cn-beijing.aliyuncs.com/pipcook/pipcook:latest /bin/bash

commented

The office image is: https://hub.docker.com/r/pipcook/pipcook
The latest version is v1.3.0, you could try this again.

The office image is: https://hub.docker.com/r/pipcook/pipcook
The latest version is v1.3.0, you could try this again.

I use the image you mention above but when I visit "localhost:6927" in chrome, it show "404 no found". Fortunately I got permission to create my file in docker. Does it in line with expectations? I also found same issue in MAC.

commented

The office image is: https://hub.docker.com/r/pipcook/pipcook
The latest version is v1.3.0, you could try this again.

I use the image you mention above but when I visit "localhost:6927" in chrome, it show "404 no found". Fortunately I got permission to create my file in docker. Does it in line with expectations? I also found same issue in MAC.

In 1.x, you need to install the npm package @pipcook/pipcook-cli to access Pipcook daemon:

$ npm install @pipcook/pipcook-cli -g

If you want to list pipelines:

$ pipcook pipeline list

run pipeline of bayes:

$ pipcook run https://raw.githubusercontent.com/alibaba/pipcook/v1.x/example/pipelines/text-bayes-classification.json

And you can get all pipeline configure files here:
https://github.com/alibaba/pipcook/tree/v1.x/example/pipelines