Skip to content
This repository was archived by the owner on Nov 30, 2023. It is now read-only.

Commit f6b2825

Browse files
authored
Update README.md
1 parent a0370e4 commit f6b2825

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

containers/kubernetes-helm/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,18 @@ You can adapt your own existing development container Dockerfile to support this
2525
1. First, update your `devcontainer.json` to forward the local Docker socket and mount the local `.kube` folder in the container so its contents can be reused. From `.devcontainer/devcontainer.json`:
2626

2727
```json
28-
"runArgs": ["-e", "SYNC_LOCALHOST_KUBECONFIG=true",
29-
"-v", "/var/run/docker.sock:/var/run/docker.sock",
30-
"-v", "$HOME/.kube:/root/.kube-localhost"]
28+
"runArgs": ["-e", "SYNC_LOCALHOST_KUBECONFIG=true",
29+
"-v", "/var/run/docker.sock:/var/run/docker.sock",
30+
"-v", "$HOME/.kube:/root/.kube-localhost"]
3131
```
3232

3333
If you also want to reuse your Minikube certificates, just add a mount for your local `.minikube` folder as well:
3434

3535
```json
36-
"runArgs": ["-e", "SYNC_LOCALHOST_KUBECONFIG=true",
37-
"-v", "/var/run/docker.sock:/var/run/docker.sock",
38-
"-v", "$HOME/.kube:/root/.kube-localhost",
39-
"-v", "$HOME/.minikube:/root/.minikube-localhost"]
36+
"runArgs": ["-e", "SYNC_LOCALHOST_KUBECONFIG=true",
37+
"-v", "/var/run/docker.sock:/var/run/docker.sock",
38+
"-v", "$HOME/.kube:/root/.kube-localhost",
39+
"-v", "$HOME/.minikube:/root/.minikube-localhost"]
4040
```
4141

4242
2. Second, update your Dockerfile so the default shell is `bash`, and update the `.bashrc` script to automatically swap out `localhost` for `host.docker.internal` in the container's copy of the Kubernetes config and (optionally) Minikube certificates. From `.devcontainer/Dockerfile`:

0 commit comments

Comments
 (0)