mirror of
https://github.com/sergi0g/cup.git
synced 2025-11-17 09:33:38 -05:00
docs: add instructions to find the docker group id to the compose docs
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import { Callout } from "nextra/components";
|
||||
|
||||
# Docker Compose
|
||||
|
||||
Many users find it useful to run Cup with Docker Compose, as it enables them to have it constantly running in the background and easily control it. Cup's lightweight resource use makes it ideal for this use case.
|
||||
@@ -40,4 +42,8 @@ Cup can run with a non-root user, but needs to be in a docker group. Assuming us
|
||||
user: "1000:999"
|
||||
```
|
||||
|
||||
The compose can be customized further of course, if you choose to use a different port, another config location, or would like to change something else. Have fun!
|
||||
<Callout>
|
||||
You can use the command `getent group docker | cut -d: -f3` to find the group id for the docker group.
|
||||
</Callout>
|
||||
|
||||
The compose can be customized further of course, if you choose to use a different port, another config location, or would like to change something else. Have fun!
|
||||
|
||||
Reference in New Issue
Block a user