mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
docs: add doc on how to try a coder-preview build (#16314)
Co-authored-by: M Atif Ali <atif@coder.com>
This commit is contained in:
+15
-5
@@ -56,27 +56,37 @@ which includes an PostgreSQL container and volume.
|
||||
1. Make sure you have [Docker Compose](https://docs.docker.com/compose/install/)
|
||||
installed.
|
||||
|
||||
2. Download the
|
||||
1. Download the
|
||||
[`docker-compose.yaml`](https://github.com/coder/coder/blob/main/docker-compose.yaml)
|
||||
file.
|
||||
|
||||
3. Update `group_add:` in `docker-compose.yaml` with the `gid` of `docker`
|
||||
1. Update `group_add:` in `docker-compose.yaml` with the `gid` of `docker`
|
||||
group. You can get the `docker` group `gid` by running the below command:
|
||||
|
||||
```shell
|
||||
getent group docker | cut -d: -f3
|
||||
```
|
||||
|
||||
4. Start Coder with `docker compose up`
|
||||
1. Start Coder with `docker compose up`
|
||||
|
||||
5. Visit the web UI via the configured url.
|
||||
1. Visit the web UI via the configured url.
|
||||
|
||||
6. Follow the on-screen instructions log in and create your first template and
|
||||
1. Follow the on-screen instructions log in and create your first template and
|
||||
workspace
|
||||
|
||||
Coder configuration is defined via environment variables. Learn more about
|
||||
Coder's [configuration options](../admin/setup/index.md).
|
||||
|
||||
## Install the preview release
|
||||
|
||||
<blockquote class="admonition tip">
|
||||
|
||||
You can install and test a [preview release of Coder](https://github.com/coder/coder/pkgs/container/coder-preview) by using the `ghcr.io/coder/coder-preview:latest` image tag. This image gets updated with the latest changes from the `main` branch.
|
||||
|
||||
</blockquote>
|
||||
|
||||
_We do not recommend using preview releases in production environments._
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
### Docker-based workspace is stuck in "Connecting..."
|
||||
|
||||
Reference in New Issue
Block a user