Skip to content

Commit

Permalink
docs: fix install instructions docker (#5213)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoanFM committed Sep 27, 2022
1 parent e932d6f commit b9c8e44
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions docs/index.md
Expand Up @@ -27,16 +27,26 @@ docker pull jinaai/jina:latest

Now that you’re set up, let’s create a project:

````{tab} In host
```shell
jina new hello-jina
cd hello-jina
jina flow --uses flow.yml
python client.py
```
````
````{tab} Inside Docker
```shell
docker run -it --entrypoint=/bin/bash jinaai/jina:latest -p 54321:54321
jina new hello-jina
cd hello-jina
jina flow --uses flow.yml
```
````

And observe the result from your terminal.
Run the client on your machine and observe the results from your terminal.

```shell
python client.py
['hello, world!', 'goodbye, world!']
```

Expand Down

0 comments on commit b9c8e44

Please sign in to comment.