|
7 | 7 |
|
8 | 8 | // Features to add to the dev container. More info: https://containers.dev/features. |
9 | 9 | "features": { |
10 | | - "ghcr.io/devcontainers/features/python:1": {}, |
11 | | - "ghcr.io/devcontainers-contrib/features/mkdocs:2": { |
12 | | - "plugins": "mkdocs-material mike" |
13 | | - }, |
14 | 10 | "ghcr.io/devcontainers/features/docker-in-docker:2": { |
15 | | - "enableNonRootDocker": "true", |
16 | | - "moby": "true" |
| 11 | + "moby": true, |
| 12 | + "azureDnsAutoDetection": true, |
| 13 | + "installDockerBuildx": true, |
| 14 | + "installDockerComposeSwitch": false, |
| 15 | + "version": "latest", |
| 16 | + "dockerDashComposeVersion": "none" |
17 | 17 | }, |
18 | 18 | "ghcr.io/devcontainers/features/kubectl-helm-minikube:1": { |
19 | 19 | "version": "latest", |
20 | | - "helm": "latest", |
21 | | - "minikube": "latest" |
| 20 | + "helm": "none", |
| 21 | + "minikube": "none" |
| 22 | + }, |
| 23 | + "ghcr.io/devcontainers-extra/features/kind:1": { |
| 24 | + "version": "latest" |
| 25 | + }, |
| 26 | + "ghcr.io/devcontainers/features/python:1": { |
| 27 | + "installTools": true, |
| 28 | + "version": "latest" |
| 29 | + }, |
| 30 | + "ghcr.io/devcontainers-extra/features/mkdocs:2": { |
| 31 | + "version": "latest", |
| 32 | + "plugins": "mkdocs-material mike pymdown-extensions mkdocstrings[crystal,python] mkdocs-monorepo-plugin mkdocs-pdf-export-plugin mkdocs-awesome-pages-plugin" |
22 | 33 | } |
23 | 34 | }, |
24 | 35 |
|
|
28 | 39 | // Use 'postCreateCommand' to run commands after the container is created. |
29 | 40 | "postCreateCommand": ".devcontainer/postCreateCommand.sh", |
30 | 41 |
|
31 | | - // Use 'postStartCommand' to run commands after the container is created like starting minikube. |
32 | | - "postStartCommand": { |
33 | | - "minikube": "nohup bash -c 'minikube start &' > minikube.log 2>&1" |
34 | | - }, |
35 | | - |
36 | 42 | // Configure tool-specific properties. |
37 | 43 | // "customizations": {}, |
38 | 44 |
|
|
41 | 47 |
|
42 | 48 | "containerEnv": { |
43 | 49 | "FABRIC_K8S_BUILDER_DEBUG": "true", |
44 | | - "CORE_PEER_CHAINCODEADDRESS_HOST_OVERRIDE": "host.minikube.internal", |
| 50 | + "CORE_PEER_CHAINCODEADDRESS_HOST_OVERRIDE": "dockerhost", |
45 | 51 | "CORE_PEER_CHAINCODELISTENADDRESS_HOST_OVERRIDE": "0.0.0.0" |
46 | 52 | } |
47 | 53 | } |
0 commit comments