Skip to content

Commit

Permalink
update default hostDockerGid
Browse files Browse the repository at this point in the history
  • Loading branch information
cirolosapio authored Sep 30, 2023
1 parent c20a4a5 commit 0d08def
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/alpine-docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,17 @@ Installs docker and docker-compose on alpine

```json
"features": {
"ghcr.io/cirolosapio/devcontainers-features/alpine-docker:0": {}
"ghcr.io/cirolosapio/devcontainers-features/alpine-docker:0": {
"hostDockerGid": 1001
}
}
```

## Options

| Options Id | Description | Type | Default Value |
|-----|-----|-----|-----|
| hostDockerGid | Docker group id on the host machine (retrieve with "getent group docker \| cut -d: -f3") | string | - |
| hostDockerGid | Docker group id on the host machine (retrieve with "getent group docker \| cut -d: -f3") | string | 1001 |
| installDockerCompose | Install Docker Compose? | boolean | false |

## Customizations
Expand Down
2 changes: 1 addition & 1 deletion src/alpine-docker/devcontainer-feature.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"options": {
"hostDockerGid": {
"type": "string",
"default": "",
"default": "1001",
"description": "Docker group id on the host machine (retrieve with \"getent group docker \\| cut -d: -f3\")"
},
"installDockerCompose": {
Expand Down

0 comments on commit 0d08def

Please sign in to comment.