pipcook icon indicating copy to clipboard operation
pipcook copied to clipboard

How to create the pipcook config in docker?

Open dukeliberal opened this issue 4 years ago • 5 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?

dukeliberal avatar Apr 08 '21 10:04 dukeliberal

What's the command you start the docker container?

FeelyChau avatar Apr 08 '21 11:04 FeelyChau

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

dukeliberal avatar Apr 08 '21 13:04 dukeliberal

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

FeelyChau avatar Apr 09 '21 03:04 FeelyChau

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.

dukeliberal avatar Apr 09 '21 07:04 dukeliberal

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

FeelyChau avatar Apr 09 '21 14:04 FeelyChau