Skip to content

Commit

Permalink
Add instructions to make minikube's docker env available during 'make…
Browse files Browse the repository at this point in the history
… docker_build' (#586)

Minikube uses a separate docker daemon from the normal system docker
daemon, so you need to tell your shell how to access the minikube docker
daemon. Otherwise when the Task runs it fails immediately because it
tries to pull from Dockerhub.

This also removes a redundant "to" in the following sentence.
  • Loading branch information
jeremydonahue committed Nov 11, 2020
1 parent 9b59ac6 commit edbb361
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rsts/user/getting_started/create_first.rst
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,10 @@ Interacting with Flyte

Flyte fulfills tasks using docker images. You'll need to build a docker image from this code before it can run in Flyte. The repo has a make target to build the docker image for you ::

eval $(minikube -p minikube docker-env) # If using the flyte sandbox via minikube
make docker_build

If you have the flyte sandbox installed on your local machine, the image will be accessible to to your Flyte system. If you're running a remote Flyte instance, you'll need to upload this image to a remote registry such as Dockerhub, Amazon ECR, or Google Container Registry, so that it can be used by the Flyte system.
If you have the flyte sandbox installed on your local machine, the image will be accessible to your Flyte system. If you're running a remote Flyte instance, you'll need to upload this image to a remote registry such as Dockerhub, Amazon ECR, or Google Container Registry, so that it can be used by the Flyte system.

To upload to a remote registry (or even local registry), use ::

Expand Down

0 comments on commit edbb361

Please sign in to comment.