Simulator: fix port issues in devcontainer (#29977)

* fix sim devcontainer

* use host.docker.internal instead

* devcontainer supports jsonc
old-commit-hash: 1f8ceb4ca1
This commit is contained in:
Justin Newberry
2023-09-20 16:34:29 -07:00
committed by GitHub
parent fa41029b01
commit 62d61e9b55
4 changed files with 7 additions and 2 deletions

View File

@@ -18,7 +18,8 @@
"--volume=${localEnv:HOME}/.comma:/root/.comma",
"--volume=/tmp/comma_download_cache:/tmp/comma_download_cache",
"--volume=/tmp/devcontainer_scons_cache:/tmp/scons_cache",
"--shm-size=1G"
"--shm-size=1G",
"--add-host=host.docker.internal:host-gateway" // required to use host.docker.internal on linux
],
"customizations": {
"vscode": {