aboutsummaryrefslogblamecommitdiff
path: root/src/docker-in-docker/README.md
blob: 1275eb3d8b1802289fa86b11165e31669d335d4b (plain) (tree)
1
2
3
4
5
6
7
8
9
 
                                              
 
                                                                                                                                                             



                
             
                                                              

                               
 







                                                                                                                    
                                                                                         
 

 

   
                                                                                                                                                                                                                     

# Docker (Docker-in-Docker) (docker-in-docker)

Create child containers *inside* a container, independent from the host's docker instance. Installs Docker extension in the container along with needed CLIs.

## Example Usage

```json
"features": {
        "ghcr.io/devcontainers/features/docker-in-docker:1": {
            "version": "latest"
        }
}
```

## Options

| Options Id | Description | Type | Default Value |
|-----|-----|-----|-----|
| version | Select or enter a Docker/Moby Engine version. (Availability can vary by OS version.) | string | latest |
| moby | Install OSS Moby build instead of Docker CE | boolean | true |
| dockerDashComposeVersion | Default version of Docker Compose (v1 or v2) | string | v1 |



---

_Note: This file was auto-generated from the [devcontainer-feature.json](https://github.com/devcontainers/features/blob/main/src/docker-in-docker/devcontainer-feature.json).  Add additional notes to a `NOTES.md`._