Skip to content

Commit

Permalink
Update runner readme
Browse files Browse the repository at this point in the history
  • Loading branch information
r4victor committed Jan 20, 2025
1 parent 8d6966e commit 87c95fa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions runner/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,12 @@ Here's the steps to build `dstack-shim` and `dstack-runner` and run `dstack` wit
3. Start the shim:

```shell
./shim --shim-home $RUNNER_DIR --runner-binary-path $COMPILED_RUNNER_PATH --ssh-key $DSTACK_PUBLIC_KEY
./shim --shim-home $RUNNER_DIR --runner-binary-path $COMPILED_RUNNER_PATH
```

Notes:

* `$RUNNER_DIR` is any directory for storing runner files.
* `$DSTACK_PUBLIC_KEY` is `~/.dstack/ssh/id_rsa.pub` that allows the dstack CLI to connect to the ssh server inside the container.

Now you can call shim API:

Expand Down

0 comments on commit 87c95fa

Please sign in to comment.