Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "Kubernetes - Minikube-in-Docker",
"image": "mcr.microsoft.com/devcontainers/base:bullseye",
"features": {
"ghcr.io/devcontainers/features/docker-in-docker:2": {
"enableNonRootDocker": "true",
"moby": "true"
},
"ghcr.io/devcontainers/features/kubectl-helm-minikube:1": {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you @star3am for this PR I am curious where is this image coming from and who builds it ? need a comment to know the origins of it

Copy link
Author

@star3am star3am Oct 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good day @medyagh that image is from the Devcontainer organisation on Github

Specifically the image comes from mcr.microsoft.com/devcontainers/base:debian (latest)
https://github.com/devcontainers/images/tree/main/src/base-debian

The below page contains information on how Minikube is installed using the feature.
https://github.com/devcontainers/features/pkgs/container/features%2Fkubectl-helm-minikube

image

More information can be found here https://github.com/devcontainers/features/tree/main/src/kubectl-helm-minikube

The Dev Containers used to be a project by Microsoft, but has been migrated to https://github.com/devcontainers
image

Can you clarify whether you also wanted a comment in the devcontainer.json file referencing these URLs or just this comment?

Thank you for taking the time to look at my PR and thank you for a great project!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this org owned by microsoft or github ?
and how often the image gets updated? I would prefer an image that minikube project can control and can update

Copy link
Author

@star3am star3am Oct 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @medyagh Thank you for your time! As far as I understand, Miscrosoft used to own it and now it's an Org on it's own. See this announcement microsoft/vscode-dev-containers#1762

Seems to be regular releases such as monthly see here: https://github.com/devcontainers/images/releases

If I understand correctly, do you want a Dockerfile with Image source as Docker in Docker such as FROM docker:dind and then the minikube install to happen in the Dockerfile? Is that whaat you are looking for?

"version": "latest",
"helm": "latest",
"minikube": "latest"
}
}
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ _testmain.go
*.test
*.prof
*.pprof
*.log

/deploy/iso/minikube-iso/board/minikube/x86_64/rootfs-overlay/usr/bin/auto-pause
/deploy/iso/minikube-iso/board/minikube/aarch64/rootfs-overlay/usr/bin/auto-pause
Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,15 @@ See the [Getting Started Guide](https://minikube.sigs.k8s.io/docs/start/)

: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:

## Github Codespace

You can run Minikube in a Gihub Codespace by clicking here:
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/kubernetes/minikube?quickstart=1)

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.

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

## Documentation

See https://minikube.sigs.k8s.io/docs/
Expand Down