Skip to content

Commit

Permalink
Add Docker in Docker to the dev container (#73)
Browse files Browse the repository at this point in the history
* Add Docker in Docker to the devcontainer

* add docs about docker

* forward local environment variables to the devcontainer

* remove containerEnv
  • Loading branch information
tschaffter authored Dec 4, 2024
1 parent d70c9a6 commit 26fb4b6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
"ghcr.io/devcontainers/features/python:1.6.3": {
"version": "3.12.0"
},
"ghcr.io/devcontainers/features/aws-cli:1": {}
"ghcr.io/devcontainers/features/aws-cli:1": {},
"ghcr.io/devcontainers/features/docker-in-docker:2.12.0": {
"version": "27.0.3",
"moby": false
}
},
"postCreateCommand": "./tools/setup.sh",
"shutdownAction": "stopContainer"
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ tools can be installed by running:
./tools/setup.sh
```

When developing outside the dev container, the following tools must be installed
manually.

- [Docker](https://docs.docker.com/engine/install/) >= v27

Development requires the activation of the Python virtual environment:

```
Expand Down

0 comments on commit 26fb4b6

Please sign in to comment.