alibaba / pipcook

Machine learning platform for Web developers
https://alibaba.github.io/pipcook/
Apache License 2.0
2.55k stars 209 forks source link

How to create the pipcook config in docker? #756

Open dukeliberal opened 3 years ago

dukeliberal commented 3 years ago

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?

FeelyChau commented 3 years ago

What's the command you start the docker container?

dukeliberal commented 3 years ago

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

FeelyChau commented 3 years ago

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

dukeliberal commented 3 years ago

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.

FeelyChau commented 3 years ago

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