Skip to content

Commit

Permalink
docs(flyteinteractive): Remove the invalid --push flag for the docker…
Browse files Browse the repository at this point in the history
… build command

Resolves: flyteorg/flyte#4918
Signed-off-by: Chi-Sheng Liu <[email protected]>
  • Loading branch information
MortalHappiness committed Feb 19, 2024
1 parent 7794d3a commit 9fd5c08
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion plugins/flytekit-flyteinteractive/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ def train():
```

## User Guide
1. Build the image with Dockerfile.dev `docker build --push . -f Dockerfile.dev -t localhost:30000/flytekit:dev --build-arg PYTHON_VERSION=3.8`
1. Build the image with Dockerfile.dev and push it to the local registry
```bash
docker build . -f Dockerfile.dev -t localhost:30000/flytekit:dev --build-arg PYTHON_VERSION=3.8
docker push localhost:30000/flytekit:dev
```
2. Run the decorated task on the remote. For example: `pyflyte run --remote --image localhost:30000/flytekit:dev [PYTHONFILE] [WORKFLOW|TASK] [ARGS]...`
3. Once the code server is prepared, you can forward a local port to the pod. For example: `kubectl port-forward -n [NAMESPACE] [PODNAME] 8080:8080`.
4. You can access the server by opening a web browser and navigating to `localhost:8080`.
Expand Down

0 comments on commit 9fd5c08

Please sign in to comment.