Skip to content

Commit 51ae595

Browse files
author
Alan Christie
committed
feat: Add host network mode
1 parent 6193a3b commit 51ae595

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

devcontainer.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@
66
// For quick reference: https://containers.dev/implementors/json_reference/
77
"name": "Python Docker",
88
"build": {
9-
"dockerfile": "Dockerfile" },
9+
"dockerfile": "Dockerfile"
10+
},
11+
"runArgs": [
12+
"--network=host"
13+
],
1014
// User is expected to have a local ~/k8s-config directory
1115
// and it's an error not to have this directory.
1216
// We mount this into the container at /k8s-config.

0 commit comments

Comments
 (0)