Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Feature: adding a Dev Container to Minikube #21686

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
star3am wants to merge 2 commits into kubernetes:master
base: master
Choose a base branch
Loading
from star3am:devcontainer

Conversation

Copy link

@star3am star3am commented Oct 2, 2025
edited
Loading

Feature: adding a Dev Container to Minikube, enabling us to launch Minikube in a Github Codespace or in a Dev Container locally

  • Enables us to quickly get Minikube running in a Github Codespace
  • Enables us to quickly get Minikube running locally using Dev Containers

Once the Codespace or Dev Container is launched
image

We can run inside the VSCode terminal minikube start - Let's open a new Terminal tab
image

Now let's run minikube start
image

Now we should have minikube up and running and we can run minikube and kubectl commads
image

We can even bring up the Minikube Kubernetes Dashboard by running minikube dashboard --url
image

And by going to the Ports tab and right click and opening in new browser
image

And opening the Minikube Kubernetes Dashboard location on our Github Codespace
image

This is to my knowledge the fastest way to launch Minikube on the internet for Development / Demo purposes

juicebomb4130 reacted with thumbs up emoji
...nikube in a Github Codespace or in a Dev Container locally
- adding devcontainer.json file and a section in the README
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Oct 2, 2025
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: star3am
Once this PR has been reviewed and has the lgtm label, please assign spowelljr for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Copy link
Collaborator

Can one of the admins verify this patch?

@k8s-ci-robot k8s-ci-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Oct 2, 2025
Copy link
Contributor

Hi @star3am. Thanks for your PR.

I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@k8s-ci-robot k8s-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Oct 2, 2025
@star3am star3am changed the title (削除) Feature: adding a Dev Container to Minikube, enabling us to launch Mi... (削除ここまで) (追記) Feature: adding a Dev Container to Minikube (追記ここまで) Oct 2, 2025
@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Oct 9, 2025
"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
edited
Loading

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

star3am reacted with eyes emoji
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@ComradeProgrammer ComradeProgrammer Awaiting requested review from ComradeProgrammer

@medyagh medyagh Awaiting requested review from medyagh

Assignees

No one assigned

Labels

cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /