mirror of https://github.com/coder/coder.git
chore(examples/templates/incus): fix incus group name in README (#12120)
This commit is contained in:
parent
e938690b1e
commit
68641f9e2f
|
@ -14,8 +14,8 @@ Develop in an Incus System Container and run nested Docker containers using Incu
|
|||
1. Install [Incus](https://linuxcontainers.org/incus/) on the same machine as Coder.
|
||||
2. Allow Coder to access the Incus socket.
|
||||
|
||||
- If you're running Coder as system service, run `sudo usermod -aG incus coder` and restart the Coder service.
|
||||
- If you're running Coder as a Docker Compose service, get the group ID of the `incus` group by running `getent group incus` and add the following to your `compose.yaml` file:
|
||||
- If you're running Coder as system service, run `sudo usermod -aG incus-admin coder` and restart the Coder service.
|
||||
- If you're running Coder as a Docker Compose service, get the group ID of the `incus-admin` group by running `getent group incus-admin` and add the following to your `compose.yaml` file:
|
||||
|
||||
```yaml
|
||||
services:
|
||||
|
@ -23,7 +23,7 @@ Develop in an Incus System Container and run nested Docker containers using Incu
|
|||
volumes:
|
||||
- /var/lib/incus/unix.socket:/var/lib/incus/unix.socket
|
||||
group_add:
|
||||
- 997 # Replace with the group ID of the `incus` group
|
||||
- 996 # Replace with the group ID of the `incus-admin` group
|
||||
```
|
||||
|
||||
3. Create a storage pool named `coder` and `btrfs` as the driver by running `incus storage create coder btrfs`.
|
||||
|
|
Loading…
Reference in New Issue