Docker (Docker in Docker)
A rootless Docker engine for building and running containers inside the dev container.
Usage
{
"features": {
"ghcr.io/hansehart/devcontainer-features/docker-in-docker:5": {}
}
}Version 5.0.1, see the changelog for what changed.
Options
| Option | Default | Description |
|---|---|---|
version | latest | Engine channel (latest), a release line (major or major.minor), or an exact version (major.minor.patch). |
stateDir | If set, puts this feature's data at this path, which must be inside the remote user's home. Mount a volume there to persist it across rebuilds. | |
buildxVersion | latest | Buildx plugin channel (latest), a release line (major or major.minor), or an exact version (major.minor.patch). |
composeVersion | latest | Compose plugin channel (latest), a release line (major or major.minor), or an exact version (major.minor.patch). |
Customizations
Open Secure Software Suite
The hosts the tool reaches:
| Host | Ports | Secret | For |
|---|---|---|---|
*.docker.io | 443 | Image registry | |
production.cloudfront.docker.com | 443 | Image layer downloads |
The config files it reads:
| File | Path | For |
|---|---|---|
daemon.json | ${stateDir}/daemon.json | The daemon's networking and storage |
VS Code
The extensions it installs: