-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create registry_addon_mac_windows.inc
- Loading branch information
1 parent
9b9d7c3
commit 2452471
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
site/content/en/docs/drivers/includes/registry_addon_mac_windows.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)) |