Skip to content

Commit bd2d932

Browse files
authored
Merge pull request #21686 from star3am/devcontainer
site: adding a Dev Container to Minikube
2 parents 151f87b + ed663cb commit bd2d932

File tree

3 files changed

+25
-0
lines changed

3 files changed

+25
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name": "Kubernetes - Minikube-in-Docker",
3+
"image": "mcr.microsoft.com/devcontainers/base:bullseye",
4+
"features": {
5+
"ghcr.io/devcontainers/features/docker-in-docker:2": {
6+
"enableNonRootDocker": "true",
7+
"moby": "true"
8+
},
9+
"ghcr.io/devcontainers/features/kubectl-helm-minikube:1": {
10+
"version": "latest",
11+
"helm": "latest",
12+
"minikube": "latest"
13+
}
14+
}
15+
}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ _testmain.go
2727
*.test
2828
*.prof
2929
*.pprof
30+
*.log
3031

3132
/deploy/iso/minikube-iso/board/minikube/x86_64/rootfs-overlay/usr/bin/auto-pause
3233
/deploy/iso/minikube-iso/board/minikube/aarch64/rootfs-overlay/usr/bin/auto-pause

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,15 @@ See the [Getting Started Guide](https://minikube.sigs.k8s.io/docs/start/)
4646

4747
:mega: **Please fill out our [fast 5-question survey](https://forms.gle/Gg3hG5ZySw8c1C24A)** so that we can learn how & why you use minikube, and what improvements we should make. Thank you! :dancers:
4848

49+
## Github Codespace
50+
51+
You can run Minikube in a Gihub Codespace by clicking here:
52+
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/kubernetes/minikube?quickstart=1)
53+
54+
This will launch a Github Codespace. You can then run `minikube start` and `minikube dashboard` - You can then open Minikube Dashboard by clicking opening the link displayed in the terminal.
55+
56+
You can also run Minikube in a Dev Container locally using your favourit IDE, for more infor mation see Dev Containers https://code.visualstudio.com/docs/devcontainers/containers
57+
4958
## Documentation
5059

5160
See https://minikube.sigs.k8s.io/docs/

0 commit comments

Comments
 (0)