Thanks to visit codestin.com
Credit goes to github.com

Skip to content

docs: add doc on how to try a coder-preview build #16314

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Feb 17, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 15 additions & 5 deletions docs/install/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -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..."
Expand Down
Loading