m/cup
1
0
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:
Thomas McWork
2025-03-21 17:47:59 +01:00
committed by GitHub
parent 6800f1ae27
commit bbfb3c63ea

View File

@@ -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"
```
<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!