Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
note tell user take care dev-box-version for doc (#2087)
Browse files Browse the repository at this point in the history
  • Loading branch information
YanjieGao authored Jan 28, 2019
1 parent 377eb2d commit 9480bb0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/pai-management/doc/how-to-setup-dev-box.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,13 @@ Dev-Box is a docker container which contains necessary dependent software for pa

### Use prebuild dev-box image <a name="c-step-1.1"></a>

Notice that `dev-box` should run on a machine outside of PAI cluster, it shouldn't run on any PAI cluster node.
***Choose a release branch. For example: v0.x.y***

```bash

# Pull the dev-box image from Docker Hub
sudo docker pull docker.io/openpai/dev-box
sudo docker pull docker.io/openpai/dev-box:v0.x.y

# Run your dev-box
# Assume the path of custom-hadoop-binary-path in your service-configuration is /pathHadoop,
Expand All @@ -56,7 +59,7 @@ sudo docker run -itd \
--privileged=true \
--net=host \
--name=dev-box \
docker.io/openpai/dev-box
docker.io/openpai/dev-box:v0.x.y

# Working in your dev-box
sudo docker exec -it dev-box /bin/bash
Expand Down

0 comments on commit 9480bb0

Please sign in to comment.