Skip to content

Commit

Permalink
Create registry_addon_mac_windows.inc
Browse files Browse the repository at this point in the history
  • Loading branch information
ruben-baez-seagull-com authored Apr 11, 2020
1 parent 9b9d7c3 commit 2452471
Showing 1 changed file with 28 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
## Requirements

* Run on Mac OS or Windows
* Registry addon enabled
* Run Minikube on KIC driver.

## Start Minikube enabling registry addon

Open a shell console, and run the following command:

```bash
minikube start --addons=registry --vm-driver={{docker | podman}}
```

## Usage Registry

Build docker image and tag it appropriately:

```shell
docker build --tag $(minikube ip):5000/test-img .
```
Push docker image to minikube registry:

```shell
docker push $(minikube ip):5000/test-img
```

* For more information, documentation ([Pushing to an in-cluster using Registry addon](https://minikube.sigs.k8s.io/docs/handbook/pushing/#4-pushing-to-an-in-cluster-using-registry-addon))

0 comments on commit 2452471

Please sign in to comment.