Commit 8cbf0ff
* fix: mount Docker socket in devcontainer to fix bazel run
Fixes #248
When running inside the
devcontainer, the generated run_docker.sh script calls
and . These fail because the host Docker socket
(/var/run/docker.sock) was not mounted into the container, resulting in:
failed to connect to the docker API at unix:///var/run/docker.sock;
dial unix /var/run/docker.sock: connect: no such file or directory
Add a bind mount for the Docker socket in .devcontainer/devcontainer.json
so that Docker commands inside the devcontainer communicate with the
host Docker daemon.
* Fix Formatting
---------
Co-authored-by: akshaylg0314 <akshay14.garg@lge.com>
1 parent 77877e6 commit 8cbf0ff
1 file changed
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
6 | 9 | | |
0 commit comments