docs(docker): update wording, implement suggestions from @lveneris

This commit is contained in:
ky-bean
2026-03-22 19:10:46 -07:00
committed by Ellis Git
parent a92fc78a90
commit a1e3619291
2 changed files with 8 additions and 6 deletions
+7 -5
View File
@@ -245,23 +245,25 @@ section in the development documentation.
### Accessing the Server's Console
In order to enable access the server's console to [send admin commands](../reference/admin/index.md) from the CLI, the docker deployment will need to be made interactive and allocate a psuedo-tty. For deployments via Docker Compose, this means adding `stdin_open: true` and `tty: true` to the containers decleration:
Before you can access the server's console and [send admin commands](../reference/admin/index.md) from the CLI, you will need to make the container interactive and allocate a psuedo-tty.
For Docker Compose deployments this means adding `stdin_open: true` and `tty: true` to the container's decleration:
```yaml
services:
homserver:
stdin_open: true
tty: true
<snip>
# ...
```
If you choose to deploy via `docker run`, then add the flags `-i`/`--interactive` and `-t`/`--tty` to the command.
If you choose to deploy via `docker run`, add the flags `-i`/`--interactive` and `-t`/`--tty` to the command.
From there you can access the server's console by running `docker attach <container-name>`, which will show the server's prompt `uwu> `. To exit `docker attach` press ctrl+p then ctrl+q.
## Next steps
Note that using `CTRL+c` within `docker attach`'s context will forward the signal to the server, stopping it. To exit `docker attach` press `CTRL+p` then `CTRL+q`. See [Docker's reference](https://docs.docker.com/reference/cli/docker/container/attach/) for more information.
## Voice communication
## Next steps
- For smooth federation, set up a caching resolver according to the [**DNS tuning guide**](../advanced/dns.mdx) (recommended)
- To set up Audio/Video communication, see the [**Calls**](../calls.mdx) page.