fix: fix dev container failing to build (#21218)

The dev container fails to build because of the outdated docker-in-docker feature. This updates the docker-in-docker and fixes the build. I also updated the docker compose references in the docs.
This commit is contained in:
Amin Ya 2025-05-05 00:34:02 -07:00 committed by GitHub
parent 2010c2a60a
commit 4b2abdf48d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 5 deletions

View File

@ -11,10 +11,9 @@
},
"ghcr.io/devcontainers/features/rust:1": {},
"ghcr.io/snebjorn/devcontainer-feature/chromium:latest": {},
"docker-in-docker": {
"ghcr.io/devcontainers/features/docker-in-docker:2": {
"version": "latest",
"moby": true,
"dockerDashComposeVersion": "v1"
"moby": true
}
},
// Configure tool-specific properties.

View File

@ -29,7 +29,7 @@ and open your browser at `http://localhost:{{serverPort}}/docs/` to see the docs
To run the server on a Docker container, please execute the following from the root directory:
```bash
docker-compose up --build
docker compose up --build
```
## Tests

View File

@ -26,7 +26,7 @@ and open your browser at `http://localhost:8080/docs/` to see the docs.
To run the server on a Docker container, please execute the following from the root directory:
```bash
docker-compose up --build
docker compose up --build
```
## Tests